| UniqueFieldConstraintTestHooks::entityBaseFieldInfoAlter |
function |
core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php |
Implements hook_entity_base_field_info_alter(). |
| UniqueFieldConstraintTestHooks::queryEntityTestAccessAlter |
function |
core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php |
Implements hook_query_entity_test_access_alter(). |
| UniqueValuesConstraintValidatorTest |
class |
core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php |
Tests the unique field value validation constraint. |
| UniqueValuesConstraintValidatorTest.php |
file |
core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php |
|
| UniqueValuesConstraintValidatorTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php |
Modules to install. |
| UniqueValuesConstraintValidatorTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php |
Tests cases where the validation passes for entities with string IDs. |
| UniqueValuesConstraintValidatorTest::testValidation |
function |
core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php |
Tests the UniqueField validation constraint validator. |
| UniqueValuesConstraintValidatorTest::testValidationCaseInsensitive |
function |
core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php |
Tests the UniqueField constraint with regards to case-insensitivity. |
| UniqueValuesConstraintValidatorTest::testValidationMultiple |
function |
core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php |
Tests the UniqueField constraint for multiple violations. |
| UniqueValuesConstraintValidatorTest::testValidationOwn |
function |
core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php |
Tests the UniqueField constraint for existing value in the same entity. |
| UniqueValuesConstraintValidatorTest::testValidationReference |
function |
core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php |
Tests the UniqueField constraint validator for entity reference fields. |
| unique_field_constraint_test.info.yml |
file |
core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml |
core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml |
| 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 |
Creates a test project. |
| 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. |