]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added missing "grid" TestCategory for grid tests
authorTeppo Kurki <teppo.kurki@vaadin.com>
Fri, 3 Jul 2015 10:42:40 +0000 (13:42 +0300)
committerTeemu Suo-Anttila <teemusa@vaadin.com>
Wed, 8 Jul 2015 07:59:42 +0000 (10:59 +0300)
Change-Id: I5e38713ba45cf75259afcc8960188349b15945ec

13 files changed:
uitest/src/com/vaadin/tests/components/grid/GridCellFocusOnResetSizeTest.java
uitest/src/com/vaadin/tests/components/grid/GridInitiallyHiddenColumnsTest.java
uitest/src/com/vaadin/tests/components/grid/GridMultiSelectionOnInitTest.java
uitest/src/com/vaadin/tests/components/grid/GridSortIndicatorTest.java
uitest/src/com/vaadin/tests/components/grid/GridSpacerDecoClipTest.java
uitest/src/com/vaadin/tests/components/grid/GridSubPixelProblemWrappingTest.java
uitest/src/com/vaadin/tests/components/grid/GridSwitchRenderersTest.java
uitest/src/com/vaadin/tests/components/grid/GridThemeChangeTest.java
uitest/src/com/vaadin/tests/components/grid/GridWidthIncreaseTest.java
uitest/src/com/vaadin/tests/components/grid/JavaScriptRenderersTest.java
uitest/src/com/vaadin/tests/components/grid/ProgrammaticEditorControlTest.java
uitest/src/com/vaadin/tests/components/grid/SelectDuringInitTest.java
uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridClearContainerTest.java

index 31ccb4eaf26e4c4d2af48df162331c17319997f9..cccb306369ce79ab01e68a0d7a9def1655a361e0 100644 (file)
@@ -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")
index a3e941053a96128b19f68611b4840efbf9dcc95d..f495d7f2aa566c8c7c2a0f11ae3a4084900ea94b 100644 (file)
@@ -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
index 5f5b4df8de703599b952dc9e81dc7034d29d268e..d5eedae824d0d0a6f92262dbe09431434ce3923c 100644 (file)
@@ -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
index 30ce7b76f9b663f0bb70108cebbcf07073271660..2874ec32a6ccce73ef40a48d986886eb618aa10c 100644 (file)
@@ -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
index c2cfe3cd7d7e8a22d3117ba423295dff42ed54d0..f08ab7a8a4b74c1a542c50ab79885b08c7a4f6b2 100644 (file)
  */
 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);
     }
index d8027f8934b31eef17ffd5ee9e2b344bf74ea733..4368fda1583298cb7ffb9ea090dba53b37112e82 100644 (file)
@@ -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
index e3bab865c0378a42f22c6dfebe910222f2d8c38f..5989ba607f5054c26001c73b6906c2b34ff66b8c 100644 (file)
@@ -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
index 5a21705b55dc36f0fde2f0796c639243ec2aed3e..182bec04c98a2c7f24c05fdebd1b547ee65e3561 100644 (file)
@@ -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() {
index 96b1a56fba89071b52d230098919e50b9f7c6ad2..6f39253fb0748627ccf515013f77c608d9eb89ba 100644 (file)
@@ -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;
index 96fd672ab1b6e94813117f6331570f3d3ab94a51..b38178b156953636fd6c02c0d5236731d216e9a4 100644 (file)
@@ -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
index 811bd03a6427a2f1081dbfcb7810cc2d79fe5d16..efbc164e154d82757c1b4d7218b428b3f677ad5a 100644 (file)
@@ -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
index edfc8031a8e40d7d2c1a296e228d2433fa4d220a..1ba223d71c403779aba49d10f36f1c3ee0841268 100644 (file)
@@ -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
index fd35dac6fcbe9c5ba0643545cbd0676d4c73f3cb..91b5d04ab6d0eced0b173047536d1f2e21284c30 100644 (file)
@@ -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.";