aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/tb3/LimitedTB3TestsNonComponent.java
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2020-10-01 13:11:01 +0300
committerGitHub <noreply@github.com>2020-10-01 13:11:01 +0300
commita94403277111f0d43a82cd667d6a0277934d15fb (patch)
tree8785e667fc07877d0092da50b0cfc69ae52431bd /uitest/src/test/java/com/vaadin/tests/tb3/LimitedTB3TestsNonComponent.java
parent528315ac0d1d6b49d07f10d4613a8d28bd47b566 (diff)
downloadvaadin-framework-a94403277111f0d43a82cd667d6a0277934d15fb.tar.gz
vaadin-framework-a94403277111f0d43a82cd667d6a0277934d15fb.zip
Test fixes & split failsafe integration test runs into smaller batches (#12103)
Diffstat (limited to 'uitest/src/test/java/com/vaadin/tests/tb3/LimitedTB3TestsNonComponent.java')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/tb3/LimitedTB3TestsNonComponent.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/tb3/LimitedTB3TestsNonComponent.java b/uitest/src/test/java/com/vaadin/tests/tb3/LimitedTB3TestsNonComponent.java
new file mode 100644
index 0000000000..2537389354
--- /dev/null
+++ b/uitest/src/test/java/com/vaadin/tests/tb3/LimitedTB3TestsNonComponent.java
@@ -0,0 +1,31 @@
+package com.vaadin.tests.tb3;
+
+import java.io.IOException;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.model.InitializationError;
+
+import com.vaadin.tests.tb3.LimitedTB3TestsNonComponent.LimitedTB3TestsNonComponentSuite;
+
+/**
+ * Test consisting of all TB3 tests except integration tests and component tests
+ * (classes extending AbstractTB3Test, excludes packages
+ * com.vaadin.test.integration and com.vaadin.tests.components).
+ *
+ * @author Vaadin Ltd
+ */
+@RunWith(LimitedTB3TestsNonComponentSuite.class)
+public class LimitedTB3TestsNonComponent {
+
+ public static class LimitedTB3TestsNonComponentSuite extends TB3TestSuite {
+
+ public LimitedTB3TestsNonComponentSuite(Class<?> klass)
+ throws InitializationError, IOException {
+ super(klass, AbstractTB3Test.class, "com.vaadin.tests",
+ new String[] { "com.vaadin.tests.integration",
+ "com.vaadin.tests.components" });
+ }
+
+ }
+
+}