diff options
author | Henri Sara <henri.sara@gmail.com> | 2017-09-22 10:27:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-22 10:27:00 +0300 |
commit | a838d982040995d1207df26ea51ba41e7cf01f2e (patch) | |
tree | 16444f1fda92b2a7102170b32c7712e185f4ef6b /uitest/src/test | |
parent | a18842e2aeb2e3d073626617f24243f737eadb4f (diff) | |
download | vaadin-framework-a838d982040995d1207df26ea51ba41e7cf01f2e.tar.gz vaadin-framework-a838d982040995d1207df26ea51ba41e7cf01f2e.zip |
Replace CRLF with LF (#10062)
After this change, .gitattributes will take care of keeping native
line endings.
* Replace CRLF with LF in non-Java files
Diffstat (limited to 'uitest/src/test')
-rwxr-xr-x | uitest/src/test/java/com/vaadin/tests/components/grid/GridDetailsReattachTest.java | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/GridDetailsReattachTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/GridDetailsReattachTest.java index a6fa1dae94..5f0ebc6178 100755 --- a/uitest/src/test/java/com/vaadin/tests/components/grid/GridDetailsReattachTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/grid/GridDetailsReattachTest.java @@ -1,34 +1,34 @@ -package com.vaadin.tests.components.grid;
-
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-import org.openqa.selenium.By;
-
-import com.vaadin.testbench.elements.ButtonElement;
-import com.vaadin.testbench.parallel.TestCategory;
-import com.vaadin.tests.tb3.MultiBrowserTest;
-
-@TestCategory("grid")
-public class GridDetailsReattachTest extends MultiBrowserTest {
-
- @Before
- public void setUp() {
- setDebug(true);
- }
-
- @Test
- public void clickToAddCaption() {
- openTestURL();
- Assert.assertTrue("Grid details don't exist", hasDetailsElement());
- $(ButtonElement.class).first().click();
- Assert.assertTrue("Grid details don't exist after deattach and reattach",hasDetailsElement() );
- }
-
- private final By locator = By.className("v-grid-spacer");
-
- private boolean hasDetailsElement() {
- return !findElements(locator).isEmpty();
- }
-
-}
+package com.vaadin.tests.components.grid; + +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import org.openqa.selenium.By; + +import com.vaadin.testbench.elements.ButtonElement; +import com.vaadin.testbench.parallel.TestCategory; +import com.vaadin.tests.tb3.MultiBrowserTest; + +@TestCategory("grid") +public class GridDetailsReattachTest extends MultiBrowserTest { + + @Before + public void setUp() { + setDebug(true); + } + + @Test + public void clickToAddCaption() { + openTestURL(); + Assert.assertTrue("Grid details don't exist", hasDetailsElement()); + $(ButtonElement.class).first().click(); + Assert.assertTrue("Grid details don't exist after deattach and reattach",hasDetailsElement() ); + } + + private final By locator = By.className("v-grid-spacer"); + + private boolean hasDetailsElement() { + return !findElements(locator).isEmpty(); + } + +} |