Use spring-javaformat to format and check code

Resolves: #1450
This commit is contained in:
Vedran Pavic
2019-06-17 23:44:55 +02:00
parent 0eaeb98b0c
commit 822db7fbbf
241 changed files with 2961 additions and 4660 deletions

View File

@@ -28,28 +28,28 @@ import sample.pages.LoginPage;
* @author Eddú Meléndez
* @author Rob Winch
*/
public class HazelcastSpringTests {
class HazelcastSpringTests {
private WebDriver driver;
@BeforeEach
public void setup() {
void setup() {
this.driver = new HtmlUnitDriver();
}
@AfterEach
public void tearDown() {
void tearDown() {
this.driver.quit();
}
@Test
public void goHomeRedirectLoginPage() {
void goHomeRedirectLoginPage() {
LoginPage login = HomePage.go(this.driver);
login.assertAt();
}
@Test
public void login() {
void login() {
LoginPage login = HomePage.go(this.driver);
login.assertAt();
HomePage home = login.form().login(HomePage.class);

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2018 the original author or authors.
* Copyright 2014-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -64,6 +64,7 @@ public class LoginPage extends BasePage {
this.button.click();
return PageFactory.initElements(getDriver(), page);
}
}
}