| UnitTest |
class |
core/tests/PHPStan/fixtures/component-tests.php |
|
| UnitTestCase |
class |
core/tests/Drupal/Tests/UnitTestCase.php |
Provides a base class and helpers for Drupal unit tests. |
| UnitTestCase.php |
file |
core/tests/Drupal/Tests/UnitTestCase.php |
|
| UnitTestCase::getClassResolverStub |
function |
core/tests/Drupal/Tests/UnitTestCase.php |
Returns a stub class resolver. |
| UnitTestCase::getConfigFactoryStub |
function |
core/tests/Drupal/Tests/UnitTestCase.php |
Returns a stub config factory that behaves according to the passed array. |
| UnitTestCase::getContainerWithCacheTagsInvalidator |
function |
core/tests/Drupal/Tests/UnitTestCase.php |
Sets up a container with a cache tags invalidator. |
| UnitTestCase::getStringTranslationStub |
function |
core/tests/Drupal/Tests/UnitTestCase.php |
Returns a stub translation manager that just returns the passed string. |
| UnitTestCase::setUp |
function |
core/tests/Drupal/Tests/UnitTestCase.php |
|
| UnitTestCase::setupMockIterator |
function |
core/tests/Drupal/Tests/UnitTestCase.php |
Set up a traversable class mock to return specific items when iterated. |
| UnitTestCaseTest |
class |
core/tests/Drupal/Tests/UnitTestCaseTest.php |
Tests for the UnitTestCase class. |
| UnitTestCaseTest.php |
file |
core/tests/Drupal/Tests/UnitTestCaseTest.php |
|
| UnitTestCaseTest::testVarDumpSameProcess |
function |
core/tests/Drupal/Tests/UnitTestCaseTest.php |
Tests the dump() function in a test run in the same process. |
| UnitTestCaseTest::testVarDumpSeparateProcess |
function |
core/tests/Drupal/Tests/UnitTestCaseTest.php |
Tests the dump() function in a test run in a separate process. |
| UnknownPathExcluderTest |
class |
core/modules/package_manager/tests/src/Kernel/PathExcluder/UnknownPathExcluderTest.php |
Tests Unknown Path Excluder. |
| UnknownPathExcluderTest.php |
file |
core/modules/package_manager/tests/src/Kernel/PathExcluder/UnknownPathExcluderTest.php |
|
| UnknownPathExcluderTest::createTestProject |
function |
core/modules/package_manager/tests/src/Kernel/PathExcluder/UnknownPathExcluderTest.php |
|
| UnknownPathExcluderTest::createTestProjectForTemplate |
function |
core/modules/package_manager/tests/src/Kernel/PathExcluder/UnknownPathExcluderTest.php |
Creates a test project with or without a nested webroot. |
| UnknownPathExcluderTest::providerTestUnknownPath |
function |
core/modules/package_manager/tests/src/Kernel/PathExcluder/UnknownPathExcluderTest.php |
Data provider for testUnknownPath(). |
| UnknownPathExcluderTest::testExcluderCanBeDisabled |
function |
core/modules/package_manager/tests/src/Kernel/PathExcluder/UnknownPathExcluderTest.php |
Tests that the excluder can be disabled by a config flag. |
| UnknownPathExcluderTest::testPathRepositoriesAreIncluded |
function |
core/modules/package_manager/tests/src/Kernel/PathExcluder/UnknownPathExcluderTest.php |
Tests that path repositories are included. |
| UnknownPathExcluderTest::testUnknownPath |
function |
core/modules/package_manager/tests/src/Kernel/PathExcluder/UnknownPathExcluderTest.php |
Tests that the unknown files and directories are excluded. |
| UnpackRecipeTest |
class |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests recipe unpacking. |
| UnpackRecipeTest.php |
file |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
|
| UnpackRecipeTest::$fileSystem |
property |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
The Symfony FileSystem component. |
| UnpackRecipeTest::$fixtures |
property |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
The Fixtures object. |
| UnpackRecipeTest::$fixturesDir |
property |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Directory to perform the tests in. |
| UnpackRecipeTest::doTestRecipeAUnpacked |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests Recipe A is unpacked correctly. |
| UnpackRecipeTest::getFileContents |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Gets the contents of a file as an array. |
| UnpackRecipeTest::runComposer |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Executes a Composer command with standard options. |
| UnpackRecipeTest::setUp |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
|
| UnpackRecipeTest::tearDown |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
|
| UnpackRecipeTest::testAutomaticUnpack |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests the dependencies unpack on install. |
| UnpackRecipeTest::testComposerCreateProject |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests that recipes are unpacked when using `composer create-project`. |
| UnpackRecipeTest::testIgnoreDependentRecipe |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests a dependent recipe can be ignored and not unpacked. |
| UnpackRecipeTest::testIgnoreRecipe |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests a recipe can be ignored and not unpacked. |
| UnpackRecipeTest::testNoAutomaticDevUnpack |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests the dev dependencies do not unpack on install. |
| UnpackRecipeTest::testRecipeIsPhysicallyPresentAfterUnpack |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests that recipes stick around after being unpacked. |
| UnpackRecipeTest::testRecipeNotUnpackedIfInstallIsDeferred |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests a recipe can be required using --no-install and installed later. |
| UnpackRecipeTest::testRecursiveUnpacking |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests recursive unpacking. |
| UnpackRecipeTest::testRemoveRecipe |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests a recipe can be removed and the unpack plugin does not interfere. |
| UnpackRecipeTest::testUnpackCommand |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests dependency unpacking using drupal:recipe-unpack. |
| UnpackRecipeTest::testUnpackCommandOnDevRecipe |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests unpacking a recipe in require-dev using drupal:recipe-unpack. |
| UnpackRecipeTest::testUnpackCommandOnIndirectDevDependencyRecipe |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests the unpacking a recipe that is an indirect dev dependency. |
| UnpackRecipeTest::testUnpackCommandWithMultipleRecipes |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests dependency unpacking using drupal:recipe-unpack with multiple args. |
| UnpackRecipeTest::testUnpackCommandWithoutRecipesArgument |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests dependency unpacking using drupal:recipe-unpack with no arguments. |
| UnpackRecipeTest::testUnpackWithComposerMergePlugin |
function |
core/tests/Drupal/BuildTests/Composer/Plugin/Unpack/Functional/UnpackRecipeTest.php |
Tests unpacking with the wikimedia/composer-merge-plugin installed. |
| UnpublishedBlockTest |
class |
core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php |
Tests unpublishing of block_content entities. |
| UnpublishedBlockTest.php |
file |
core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php |
|
| UnpublishedBlockTest::$defaultTheme |
property |
core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php |
|
| UnpublishedBlockTest::$modules |
property |
core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php |
|