CustomTest.php in Autoload 7
File
src/Tests/Unit/CustomTest.php
View source
<?php
namespace Drupal\autoload\Tests\Unit;
class CustomTest extends AuxiliaryTest {
protected static $modules = array(
'autoload_test_custom',
);
public static function getInfo() {
$info = parent::getInfo();
$info['name'] = 'Custom';
$info['description'] = t('Testing functionality of autoload custom namespaces.');
return $info;
}
public function test() {
new \Autoload\Tests\PSR0();
new \Autoload\Tests\PSR4();
new \AutoloadTests\PSR4();
new \Autoload\Tests\Example\Test();
}
}