This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/web/core/tests/TestSuites/FunctionalJavascriptTestSuite.php
2017-02-13 15:31:17 +00:00

28 lines
590 B
PHP

<?php
namespace Drupal\Tests\TestSuites;
require_once __DIR__ . '/TestSuiteBase.php';
/**
* Discovers tests for the functional-javascript test suite.
*/
class FunctionalJavascriptTestSuite extends TestSuiteBase {
/**
* Factory method which loads up a suite with all functional javascript tests.
*
* @return static
* The test suite.
*/
public static function suite() {
$root = dirname(dirname(dirname(__DIR__)));
$suite = new static('functional-javascript');
$suite->addTestsBySuiteNamespace($root, 'FunctionalJavascript');
return $suite;
}
}