Beispiel #1
0
 /**
  * Factory method which loads up a suite with all kernel tests.
  *
  * @return static
  *   The test suite.
  */
 public static function suite()
 {
     $root = dirname(dirname(dirname(__DIR__)));
     $suite = new static('kernel');
     $suite->addTestsBySuiteNamespace($root, 'Kernel');
     return $suite;
 }
 /**
  * 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;
 }