You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AffectedTB3Tests.java 977B

123456789101112131415161718192021222324252627282930
  1. package com.vaadin.tests.tb3;
  2. import java.io.IOException;
  3. import org.junit.runner.RunWith;
  4. import org.junit.runners.model.InitializationError;
  5. import com.vaadin.tests.tb3.AffectedTB3Tests.AffectedTB3TestSuite;
  6. /**
  7. * Test suite that runs tests from test classes which have changes or have
  8. * similar package name compare the the changes files in the current workspace.
  9. * If there are no changes in the workspace, it will run the changes to test
  10. * classes introduced in the HEAD commit.
  11. *
  12. * @author Vaadin Ltd
  13. */
  14. @RunWith(AffectedTB3TestSuite.class)
  15. public class AffectedTB3Tests {
  16. public static class AffectedTB3TestSuite extends TB3TestSuite {
  17. public AffectedTB3TestSuite(Class<?> klass) throws InitializationError,
  18. IOException {
  19. super(klass, AbstractTB3Test.class, "com.vaadin.tests",
  20. new String[] { "com.vaadin.tests.integration" },
  21. new AffectedTB3TestLocator());
  22. }
  23. }
  24. }