ComponentValidatorTest.php |
file |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
|
ComponentValidatorTest::dataProviderValidateDefinitionInvalid |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Data provider with invalid component definitions. |
ComponentValidatorTest::dataProviderValidateDefinitionValid |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Data provider with valid component definitions. |
ComponentValidatorTest::dataProviderValidatePropsInvalid |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Data provider with invalid component props. |
ComponentValidatorTest::dataProviderValidatePropsValid |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Data provider with valid component props. |
ComponentValidatorTest::loadComponentDefinitionFromFs |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Loads a component definition from the component name. |
ComponentValidatorTest::testCustomValidator |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Tests we can use a custom validator to validate props. |
ComponentValidatorTest::testValidateDefinitionInvalid |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Tests invalid component definitions. |
ComponentValidatorTest::testValidateDefinitionValid |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Tests that valid component definitions don't cause errors. |
ComponentValidatorTest::testValidatePropsInvalid |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Tests that invalid props are handled properly. |
ComponentValidatorTest::testValidatePropsValid |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Tests that valid props are handled properly. |
ComposerBuildTestBase |
class |
core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php |
Base class for Composer build tests. |
ComposerBuildTestBase.php |
file |
core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php |
|
ComposerBuildTestBase::$componentsPath |
property |
core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php |
Relative path from Drupal root to the Components directory. |
ComposerBuildTestBase::assertDrupalVersion |
function |
core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php |
Assert that the VERSION constant in Drupal.php is the expected value. |
ComposerBuildTestBase::getComponentPathsFinder |
function |
core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php |
Find all the composer.json files for components. |
ComposerHookTest |
class |
core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php |
Tests Composer Hooks that run scaffold operations. |
ComposerHookTest.php |
file |
core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php |
|
ComposerHookTest::$fileSystem |
property |
core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php |
The Symfony FileSystem component. |
ComposerHookTest::$fixtures |
property |
core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php |
The Fixtures object. |
ComposerHookTest::$fixturesDir |
property |
core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php |
Directory to perform the tests in. |
ComposerHookTest::setUp |
function |
core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php |
|
ComposerHookTest::tearDown |
function |
core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php |
|
ComposerHookTest::testComposerHooks |
function |
core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php |
Tests to see if scaffold operation runs at the correct times. |
ComposerHookTest::testScaffoldEvents |
function |
core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php |
Tests to see if scaffold events are dispatched and picked up by the plugin. |
ComposerHookTest::testScaffoldMessagesDoNotPrintTwice |
function |
core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php |
Tests to see if scaffold messages are omitted when running scaffold twice. |
ComposerInspectorTest |
class |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
@coversDefaultClass \Drupal\package_manager\ComposerInspector[[api-linebreak]] |
ComposerInspectorTest.php |
file |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
|
ComposerInspectorTest::mockComposerRunner |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
Mocks the Composer runner service to return a particular version string. |
ComposerInspectorTest::providerAllowedPlugins |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
Data provider for ::testAllowedPlugins(). |
ComposerInspectorTest::testAllowedPlugins |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
Tests ComposerInspector's parsing of the allowed plugins list. |
ComposerInspectorTest::testComposerFilesDoNotExist |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
Tests what happens when composer.json or composer.lock are missing. |
ComposerInspectorTest::testComposerUnavailable |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
@covers ::validate[[api-linebreak]] |
ComposerInspectorTest::testComposerValidateIsCalled |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
@covers ::validate[[api-linebreak]] |
ComposerInspectorTest::testConfig |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
@covers ::getConfig[[api-linebreak]] |
ComposerInspectorTest::testConfigUndefinedKey |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
@covers ::getConfig[[api-linebreak]] |
ComposerInspectorTest::testGetInstalledPackagesList |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
@covers ::getInstalledPackagesList[[api-linebreak]] |
ComposerInspectorTest::testGetVersion |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
@covers ::getVersion[[api-linebreak]] |
ComposerInspectorTest::testMetapackagePath |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
Tests that the installed path of metapackages is always NULL. |
ComposerInspectorTest::testPackageDevSnapshotCommitHashIsRemoved |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
Tests that the commit hash of a dev snapshot package is ignored. |
ComposerInspectorTest::testRootPackageInfo |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
@covers ::getRootPackageInfo[[api-linebreak]] |
ComposerInspectorTest::testVersionCheck |
function |
core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php |
@covers ::validate[[api-linebreak]] |
ComposerIntegrationTest |
class |
core/tests/Drupal/Tests/ComposerIntegrationTest.php |
Tests Composer integration. |
ComposerIntegrationTest.php |
file |
core/tests/Drupal/Tests/ComposerIntegrationTest.php |
|
ComposerIntegrationTest::getContentHash |
function |
core/tests/Drupal/Tests/ComposerIntegrationTest.php |
Returns the md5 hash of the sorted content of the composer file. |
ComposerIntegrationTest::providerTestComposerJson |
function |
core/tests/Drupal/Tests/ComposerIntegrationTest.php |
Data provider for all the composer.json provided by Drupal core. |
ComposerIntegrationTest::providerTestExpectedScaffoldFiles |
function |
core/tests/Drupal/Tests/ComposerIntegrationTest.php |
Data provider for the scaffold files test for Drupal core. |
ComposerIntegrationTest::testAllCoreComponentsReplaced |
function |
core/tests/Drupal/Tests/ComposerIntegrationTest.php |
Tests core's composer.json replace section. |
ComposerIntegrationTest::testComposerLockHash |
function |
core/tests/Drupal/Tests/ComposerIntegrationTest.php |
Tests composer.lock content-hash. |
ComposerIntegrationTest::testComposerTilde |
function |
core/tests/Drupal/Tests/ComposerIntegrationTest.php |
Tests composer.json versions. |