FunctionalJavascriptTestSuite.php 590 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace Drupal\Tests\TestSuites;
  3. require_once __DIR__ . '/TestSuiteBase.php';
  4. /**
  5. * Discovers tests for the functional-javascript test suite.
  6. */
  7. class FunctionalJavascriptTestSuite extends TestSuiteBase {
  8. /**
  9. * Factory method which loads up a suite with all functional javascript tests.
  10. *
  11. * @return static
  12. * The test suite.
  13. */
  14. public static function suite() {
  15. $root = dirname(dirname(dirname(__DIR__)));
  16. $suite = new static('functional-javascript');
  17. $suite->addTestsBySuiteNamespace($root, 'FunctionalJavascript');
  18. return $suite;
  19. }
  20. }