class CoreThemesAutoloadedForTests
Same name and namespace in other branches
- 10 core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php \Drupal\Tests\Core\Theme\CoreThemesAutoloadedForTests
Confirms that core/themes is autoloaded for tests.
@group Theme
Hierarchy
- class \Drupal\Tests\UnitTestCase uses \Drupal\Tests\Traits\PhpUnitWarnings, \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait extends \PHPUnit\Framework\TestCase
- class \Drupal\Tests\Core\Theme\CoreThemesAutoloadedForTests extends \Drupal\Tests\UnitTestCase
Expanded class hierarchy of CoreThemesAutoloadedForTests
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ CoreThemesAutoloadedForTests.php, line 13
Namespace
Drupal\Tests\Core\ThemeView source
class CoreThemesAutoloadedForTests extends UnitTestCase {
/**
* Confirms that core/themes is autoloaded for tests.
*/
public function testCoreThemesAutoloadedForTests() {
$this->assertTrue(class_exists(ClaroPreRender::class), 'core/themes (ClaroPreRender) is registered with the tests autoloader');
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.