File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,20 @@ public function testDeprecatedImplements() {
31
31
$ this ->assertEquals ('Class Drupal\Core\Entity\EntityManager implements deprecated interface Drupal\Core\Entity\EntityManagerInterface. ' , $ error ->getMessage ());
32
32
}
33
33
34
+ public function testTestSuiteAutoloading () {
35
+ $ paths = [
36
+ __DIR__ . '/fixtures/drupal/core/tests/TestSuites/FunctionalJavascriptTestSuite.php ' ,
37
+ __DIR__ . '/fixtures/drupal/core/tests/TestSuites/FunctionalTestSuite.php ' ,
38
+ __DIR__ . '/fixtures/drupal/core/tests/TestSuites/KernelTestSuite.php ' ,
39
+ __DIR__ . '/fixtures/drupal/core/tests/TestSuites/TestSuiteBase.php ' ,
40
+ __DIR__ . '/fixtures/drupal/core/tests/TestSuites/UnitTestSuite.php ' ,
41
+ ];
42
+ foreach ($ paths as $ path ) {
43
+ $ errors = $ this ->runAnalyze ($ path );
44
+ $ this ->assertCount (0 , $ errors , $ path );
45
+ }
46
+ }
47
+
34
48
private function runAnalyze (string $ path ) {
35
49
$ rootDir = __DIR__ . '/fixtures/drupal ' ;
36
50
$ containerFactory = new ContainerFactory ($ rootDir );
You can’t perform that action at this time.
0 commit comments