diff options
author | Teppo Kurki <teppo.kurki@vaadin.com> | 2015-07-03 13:42:40 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-07-08 10:59:42 +0300 |
commit | 299efab316bd273ef5d890808c55352c17e49f5b (patch) | |
tree | 73c33edd6cbad37bd100e1143308561622fce08d /uitest | |
parent | de2ba005c775d3c5c79491f2890cb457456c0de1 (diff) | |
download | vaadin-framework-299efab316bd273ef5d890808c55352c17e49f5b.tar.gz vaadin-framework-299efab316bd273ef5d890808c55352c17e49f5b.zip |
Added missing "grid" TestCategory for grid tests
Change-Id: I5e38713ba45cf75259afcc8960188349b15945ec
Diffstat (limited to 'uitest')
13 files changed, 32 insertions, 5 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/GridCellFocusOnResetSizeTest.java b/uitest/src/com/vaadin/tests/components/grid/GridCellFocusOnResetSizeTest.java index 31ccb4eaf2..cccb306369 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridCellFocusOnResetSizeTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridCellFocusOnResetSizeTest.java @@ -24,8 +24,10 @@ import org.openqa.selenium.By; import com.vaadin.testbench.elements.GridElement; import com.vaadin.testbench.elementsbase.ServerClass; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.MultiBrowserTest; +@TestCategory("grid") public class GridCellFocusOnResetSizeTest extends MultiBrowserTest { @ServerClass("com.vaadin.tests.widgetset.server.TestWidgetComponent") diff --git a/uitest/src/com/vaadin/tests/components/grid/GridInitiallyHiddenColumnsTest.java b/uitest/src/com/vaadin/tests/components/grid/GridInitiallyHiddenColumnsTest.java index a3e941053a..f495d7f2aa 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridInitiallyHiddenColumnsTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridInitiallyHiddenColumnsTest.java @@ -23,8 +23,10 @@ import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import com.vaadin.testbench.elements.GridElement; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.SingleBrowserTest; +@TestCategory("grid") public class GridInitiallyHiddenColumnsTest extends SingleBrowserTest { @Test diff --git a/uitest/src/com/vaadin/tests/components/grid/GridMultiSelectionOnInitTest.java b/uitest/src/com/vaadin/tests/components/grid/GridMultiSelectionOnInitTest.java index 5f5b4df8de..d5eedae824 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridMultiSelectionOnInitTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridMultiSelectionOnInitTest.java @@ -21,8 +21,10 @@ import org.junit.Test; import org.openqa.selenium.By; import com.vaadin.testbench.elements.GridElement; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.MultiBrowserTest; +@TestCategory("grid") public class GridMultiSelectionOnInitTest extends MultiBrowserTest { @Test diff --git a/uitest/src/com/vaadin/tests/components/grid/GridSortIndicatorTest.java b/uitest/src/com/vaadin/tests/components/grid/GridSortIndicatorTest.java index 30ce7b76f9..2874ec32a6 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridSortIndicatorTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridSortIndicatorTest.java @@ -20,8 +20,10 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; import com.vaadin.testbench.elements.GridElement; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.MultiBrowserTest; +@TestCategory("grid") public class GridSortIndicatorTest extends MultiBrowserTest { @Test diff --git a/uitest/src/com/vaadin/tests/components/grid/GridSpacerDecoClipTest.java b/uitest/src/com/vaadin/tests/components/grid/GridSpacerDecoClipTest.java index c2cfe3cd7d..f08ab7a8a4 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridSpacerDecoClipTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridSpacerDecoClipTest.java @@ -15,20 +15,23 @@ */ package com.vaadin.tests.components.grid; -import com.vaadin.testbench.TestBenchElement; -import com.vaadin.testbench.elements.GridElement; -import com.vaadin.tests.minitutorials.v7_5.ShowingExtraDataForRows; -import com.vaadin.tests.tb3.MultiBrowserTest; import org.junit.Assert; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.SearchContext; +import com.vaadin.testbench.TestBenchElement; +import com.vaadin.testbench.elements.GridElement; +import com.vaadin.testbench.parallel.TestCategory; +import com.vaadin.tests.minitutorials.v7_5.ShowingExtraDataForRows; +import com.vaadin.tests.tb3.MultiBrowserTest; + /** * Test for "Grid detail row outline overflows" (#17826) * * @author Vaadin Ltd */ +@TestCategory("grid") public class GridSpacerDecoClipTest extends MultiBrowserTest { private static final String SPACER_CSS_CLASS_DECO = "v-grid-spacer-deco"; @@ -88,7 +91,7 @@ public class GridSpacerDecoClipTest extends MultiBrowserTest { } private TestBenchElement getSpacerDeco(int index) { - SearchContext context = this.getContext(); + SearchContext context = getContext(); return (TestBenchElement) context.findElements( By.className(SPACER_CSS_CLASS_DECO)).get(index); } diff --git a/uitest/src/com/vaadin/tests/components/grid/GridSubPixelProblemWrappingTest.java b/uitest/src/com/vaadin/tests/components/grid/GridSubPixelProblemWrappingTest.java index d8027f8934..4368fda158 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridSubPixelProblemWrappingTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridSubPixelProblemWrappingTest.java @@ -21,8 +21,10 @@ import org.junit.Test; import com.vaadin.testbench.elements.ButtonElement; import com.vaadin.testbench.elements.GridElement; import com.vaadin.testbench.elements.GridElement.GridRowElement; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.MultiBrowserTest; +@TestCategory("grid") public class GridSubPixelProblemWrappingTest extends MultiBrowserTest { @Test diff --git a/uitest/src/com/vaadin/tests/components/grid/GridSwitchRenderersTest.java b/uitest/src/com/vaadin/tests/components/grid/GridSwitchRenderersTest.java index e3bab865c0..5989ba607f 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridSwitchRenderersTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridSwitchRenderersTest.java @@ -20,8 +20,10 @@ import org.junit.Test; import com.vaadin.testbench.elements.CheckBoxElement; import com.vaadin.testbench.elements.GridElement; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.MultiBrowserTest; +@TestCategory("grid") public class GridSwitchRenderersTest extends MultiBrowserTest { @Test diff --git a/uitest/src/com/vaadin/tests/components/grid/GridThemeChangeTest.java b/uitest/src/com/vaadin/tests/components/grid/GridThemeChangeTest.java index 5a21705b55..182bec04c9 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridThemeChangeTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridThemeChangeTest.java @@ -22,8 +22,10 @@ import org.junit.Test; import org.openqa.selenium.remote.DesiredCapabilities; import com.vaadin.testbench.elements.GridElement; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.MultiBrowserTest; +@TestCategory("grid") public class GridThemeChangeTest extends MultiBrowserTest { @Override public List<DesiredCapabilities> getBrowsersToTest() { diff --git a/uitest/src/com/vaadin/tests/components/grid/GridWidthIncreaseTest.java b/uitest/src/com/vaadin/tests/components/grid/GridWidthIncreaseTest.java index 96b1a56fba..6f39253fb0 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridWidthIncreaseTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridWidthIncreaseTest.java @@ -25,8 +25,10 @@ import org.openqa.selenium.remote.DesiredCapabilities; import com.vaadin.testbench.elements.ButtonElement; import com.vaadin.testbench.elements.GridElement; import com.vaadin.testbench.parallel.BrowserUtil; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.MultiBrowserTest; +@TestCategory("grid") public class GridWidthIncreaseTest extends MultiBrowserTest { private static int INCREASE_COUNT = 3; diff --git a/uitest/src/com/vaadin/tests/components/grid/JavaScriptRenderersTest.java b/uitest/src/com/vaadin/tests/components/grid/JavaScriptRenderersTest.java index 96fd672ab1..b38178b156 100644 --- a/uitest/src/com/vaadin/tests/components/grid/JavaScriptRenderersTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/JavaScriptRenderersTest.java @@ -20,8 +20,10 @@ import org.junit.Test; import com.vaadin.testbench.elements.GridElement; import com.vaadin.testbench.elements.GridElement.GridCellElement; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.MultiBrowserTest; +@TestCategory("grid") public class JavaScriptRenderersTest extends MultiBrowserTest { @Test diff --git a/uitest/src/com/vaadin/tests/components/grid/ProgrammaticEditorControlTest.java b/uitest/src/com/vaadin/tests/components/grid/ProgrammaticEditorControlTest.java index 811bd03a64..efbc164e15 100644 --- a/uitest/src/com/vaadin/tests/components/grid/ProgrammaticEditorControlTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/ProgrammaticEditorControlTest.java @@ -21,8 +21,10 @@ import org.junit.Test; import com.vaadin.testbench.elements.ButtonElement; import com.vaadin.testbench.elements.GridElement; import com.vaadin.testbench.elements.TextFieldElement; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.SingleBrowserTest; +@TestCategory("grid") public class ProgrammaticEditorControlTest extends SingleBrowserTest { @Test diff --git a/uitest/src/com/vaadin/tests/components/grid/SelectDuringInitTest.java b/uitest/src/com/vaadin/tests/components/grid/SelectDuringInitTest.java index edfc8031a8..1ba223d71c 100644 --- a/uitest/src/com/vaadin/tests/components/grid/SelectDuringInitTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/SelectDuringInitTest.java @@ -19,8 +19,10 @@ import org.junit.Assert; import org.junit.Test; import com.vaadin.testbench.elements.GridElement; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.SingleBrowserTest; +@TestCategory("grid") public class SelectDuringInitTest extends SingleBrowserTest { @Test diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridClearContainerTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridClearContainerTest.java index fd35dac6fc..91b5d04ab6 100644 --- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridClearContainerTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridClearContainerTest.java @@ -20,6 +20,7 @@ import org.junit.Test; import com.vaadin.testbench.elements.ButtonElement; import com.vaadin.testbench.elements.GridElement; +import com.vaadin.testbench.parallel.TestCategory; import com.vaadin.tests.tb3.MultiBrowserTest; /** @@ -28,6 +29,7 @@ import com.vaadin.tests.tb3.MultiBrowserTest; * * @author Vaadin Ltd */ +@TestCategory("grid") public class GridClearContainerTest extends MultiBrowserTest { private final String ERRORNOTE = "Unexpected cell contents."; |