public function BasicIntegrityTest::testIncludeAll in X Autoload 7.4
Same name and namespace in other branches
- 7.5 tests/src/BasicIntegrityTest.php \Drupal\xautoload\Tests\BasicIntegrityTest::testIncludeAll()
Tests that all classes in the lib/ folder can be included without conflict.
File
- tests/
lib/ BasicIntegrityTest.php, line 14
Class
- BasicIntegrityTest
- A test class to verify that all class files work well across PHP versions.
Namespace
Drupal\xautoload\TestsCode
public function testIncludeAll() {
$lib = dirname(dirname(__DIR__)) . '/lib';
$skip = array(
$lib . '/Drupal',
);
$this
->includeAllRecursivePsr4($lib, 'Drupal\\xautoload', $skip);
}