| ComponentRenderTest::testRenderElementAlters |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Ensures the alter callbacks work properly. |
| ComponentRenderTest::testRenderEmbedWithNested |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Render a card with slots that include a CTA component. |
| ComponentRenderTest::testRenderEmptyProps |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Ensure that components can have 0 props. |
| ComponentRenderTest::testRenderIncludeDataMapping |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Check using a component with an include and no default context. |
| ComponentRenderTest::testRenderIncludeDefaultContent |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Check using a component with an include and default context. |
| ComponentRenderTest::testRenderInvalidSlot |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Ensure that the slots throw an error for invalid slots. |
| ComponentRenderTest::testRenderLibraryOverrides |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Check using the libraryOverrides. |
| ComponentRenderTest::testRenderNonExistingComponent |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Ensures that including an invalid component creates an error. |
| ComponentRenderTest::testRenderPropValidation |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Ensures the schema violations are reported properly. |
| ComponentRenderTest::testRenderSlots |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Ensure that the slots allow a render array or a scalar when using the render element. |
| ComponentRenderTest::testVariants |
function |
core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php |
Ensure that components variants render. |
| ComponentsIsolatedBuildTest |
class |
core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php |
Try to install dependencies per component, using Composer. |
| ComponentsIsolatedBuildTest.php |
file |
core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php |
|
| ComponentsIsolatedBuildTest::addExpectedRepositories |
function |
core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php |
Adds expected repositories as path repositories to package under test. |
| ComponentsIsolatedBuildTest::provideComponentPaths |
function |
core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php |
Provides an array with relative paths to the component paths. |
| ComponentsIsolatedBuildTest::testComponentComposerJson |
function |
core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php |
Test whether components' composer.json can be installed in isolation. |
| ComponentsTaggedReleaseTest |
class |
core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php |
Demonstrate that the Component generator responds to release tagging. |
| ComponentsTaggedReleaseTest.php |
file |
core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php |
|
| ComponentsTaggedReleaseTest::providerVersionConstraint |
function |
core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php |
Highly arbitrary version and constraint expectations. |
| ComponentsTaggedReleaseTest::testReleaseTagging |
function |
core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php |
Validate release tagging and regeneration of dependencies. |
| ComponentTestDoesNotExtendCoreTest |
class |
core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php |
Ensures that no component tests are extending a core test base class. |
| ComponentTestDoesNotExtendCoreTest.php |
file |
core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php |
|
| ComponentTestDoesNotExtendCoreTest::getNodeType |
function |
core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php |
|
| ComponentTestDoesNotExtendCoreTest::processNode |
function |
core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php |
|
| ComponentTestDoesNotExtendCoreTest::__construct |
function |
core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php |
|
| ComponentTestDoesNotExtendCoreTestTest |
class |
core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php |
Tests ComponentTestDoesNotExtendCoreTest rule. |
| ComponentTestDoesNotExtendCoreTestTest.php |
file |
core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php |
|
| ComponentTestDoesNotExtendCoreTestTest::getRule |
function |
core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php |
|
| ComponentTestDoesNotExtendCoreTestTest::testRule |
function |
core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php |
|
| ComponentValidatorTest |
class |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Unit tests for the component validation. |
| 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. |