Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 10.3.x for test
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
EntityBaseTest::$original property core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php The original, or NULL if the entity cannot be loaded.
EntityBaseTest::$uuid property core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php The entity UUID.
EntityBaseTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityBaseTest.php
EntityBaseTest::testGetTypedData function core/tests/Drupal/KernelTests/Core/Entity/EntityBaseTest.php Tests that the correct entity adapter is returned.
EntityBundleConditionTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php Tests that entity bundle conditions works properly.
EntityBundleConditionTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php
EntityBundleConditionTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php
EntityBundleConditionTest::testConditions function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php Tests conditions.
EntityBundleEntityTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleEntityTest.php Tests the getBundleEntity() method.
EntityBundleEntityTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleEntityTest.php
EntityBundleEntityTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleEntityTest.php Modules to install.
EntityBundleEntityTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleEntityTest.php
EntityBundleEntityTest::testWithBundleKeyEntity function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleEntityTest.php Tests an entity type without the bundle entity key.
EntityBundleEntityTest::testWithConfigBundleEntity function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleEntityTest.php Tests an entity type with config entities for bundles.
EntityBundleEntityTest::testWithoutBundleEntity function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleEntityTest.php Tests an entity type without config entities for bundles.
EntityBundleExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests Entity Bundle Exists Constraint Validator.
EntityBundleExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php
EntityBundleExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Modules to install.
EntityBundleExistsConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php
EntityBundleExistsConstraintValidatorTest::testDynamicEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests getting the entity type ID.
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdFromMultipleParents function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests getting the entity type ID from a deeply nested property path.
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdIsStatic function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests validating a bundle of a known (static) entity type ID.
EntityBundleExistsConstraintValidatorTest::testInvalidEntityTypeId function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests when the constraint's entityTypeId value is not valid.
EntityBundleExistsConstraintValidatorTest::testValueMustBeAString function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests that the constraint validator will only work with strings.
EntityBundleFieldTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php Tests adding a custom bundle field.
EntityBundleFieldTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php
EntityBundleFieldTest::$database property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php The database connection used.
EntityBundleFieldTest::$moduleHandler property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php The module handler.
EntityBundleFieldTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php Modules to install.
EntityBundleFieldTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php
EntityBundleFieldTest::testCustomBundleFieldUsage function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php Tests making use of a custom bundle field.
EntityBundleListCacheTest class core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php Tests that bundle tags are invalidated when entities change.
EntityBundleListCacheTest.php file core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php
EntityBundleListCacheTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php The theme to install as the default for testing.
EntityBundleListCacheTest::$modules property core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php Modules to install.
EntityBundleListCacheTest::setUp function core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php
EntityBundleListCacheTest::testBundleListingCache function core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php Tests that tags are invalidated when an entity with that bundle changes.
EntityBundleListenerTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php Tests Drupal\Core\Entity\EntityBundleListener.
EntityBundleListenerTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php
EntityBundleListenerTest::testOnBundleCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php Test bundle creation.
EntityCacheTagsTestBase class core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Provides helper methods for Entity cache tags tests.
EntityCacheTagsTestBase.php file core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
EntityCacheTagsTestBase::$entity property core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php The main entity used for testing.
EntityCacheTagsTestBase::$modules property core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Modules to install.
EntityCacheTagsTestBase::$nonReferencingEntity property core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php The entity instance not referencing the main entity.
EntityCacheTagsTestBase::$referencingEntity property core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php The entity instance referencing the main entity.
EntityCacheTagsTestBase::createEntity function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Creates the entity to be tested.
EntityCacheTagsTestBase::createReferenceTestEntities function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Creates a referencing and a non-referencing entity for testing purposes.
EntityCacheTagsTestBase::getAccessCacheContextsForEntity function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Returns the access cache contexts for the tested entity.
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntity function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Returns the additional (non-standard) cache contexts for the tested entity.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.