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. Search main for test
  6. 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.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
EntityReferenceAutoCreateTest::testNoBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests autocreation for an entity that has no bundles.
EntityReferenceFieldCreationTest class core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php Tests creating entity reference fields in the UI.
EntityReferenceFieldCreationTest.php file core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php
EntityReferenceFieldCreationTest::$defaultTheme property core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php The theme to install as the default for testing.
EntityReferenceFieldCreationTest::$modules property core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php Modules to install.
EntityReferenceFieldCreationTest::testAddReferenceFieldTargetingEntityTypeWithoutId function core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php Tests that entity reference fields cannot target entity types without IDs.
EntityReferenceFieldDefaultValueTest class core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php Tests entity reference field default values storage in CMI.
EntityReferenceFieldDefaultValueTest.php file core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php
EntityReferenceFieldDefaultValueTest::$adminUser property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php A user with permission to administer content types, node fields, etc.
EntityReferenceFieldDefaultValueTest::$defaultTheme property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php The theme to install as the default for testing.
EntityReferenceFieldDefaultValueTest::$modules property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php Modules to install.
EntityReferenceFieldDefaultValueTest::setUp function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php
EntityReferenceFieldDefaultValueTest::testEntityReferenceDefaultConfigValue function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php Tests that dependencies due to default values can be removed.
EntityReferenceFieldDefaultValueTest::testEntityReferenceDefaultValue function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php Tests that default values are correctly translated to UUIDs in config.
EntityReferenceFieldItemNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests Drupal\serialization\Normalizer\EntityReferenceFieldItemNormalizer.
EntityReferenceFieldItemNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php
EntityReferenceFieldItemNormalizerTest::$entityRepository property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The mock entity repository.
EntityReferenceFieldItemNormalizerTest::$fieldDefinition property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The mock field definition.
EntityReferenceFieldItemNormalizerTest::$fieldItem property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The mock field item.
EntityReferenceFieldItemNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The normalizer under test.
EntityReferenceFieldItemNormalizerTest::$serializer property core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php The mock serializer.
EntityReferenceFieldItemNormalizerTest::assertDenormalize function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Asserts denormalization process is correct for give data.
EntityReferenceFieldItemNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php
EntityReferenceFieldItemNormalizerTest::testConstructValueProperties function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests construct value properties.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithEmptyUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests denormalize with empty uuid.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithId function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests denormalize with id.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeAndUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests denormalize with type and uuid.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeWithIncorrectUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests denormalize with type with incorrect uuid.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithIncorrectType function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests denormalize with uuid with incorrect type.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithoutType function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests denormalize with uuid without type.
EntityReferenceFieldItemNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests normalize.
EntityReferenceFieldItemNormalizerTest::testNormalizeWithEmptyTaxonomyTermReference function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests normalize with empty taxonomy term reference.
EntityReferenceFieldItemNormalizerTest::testNormalizeWithNewEntityReference function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests normalizing with an entity reference field.
EntityReferenceFieldItemNormalizerTest::testNormalizeWithNoEntity function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests normalize with no entity.
EntityReferenceFieldItemNormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests supports denormalization.
EntityReferenceFieldItemNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php Tests supports normalization.
EntityReferenceFieldTest class core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests for the entity reference field.
EntityReferenceFieldTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
EntityReferenceFieldTest::$bundle property core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php The bundle used in this test.
EntityReferenceFieldTest::$entityType property core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php The entity type used in this test.
EntityReferenceFieldTest::$fieldName property core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php The name of the field used in this test.
EntityReferenceFieldTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Modules to install.
EntityReferenceFieldTest::$referencedEntityType property core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php The entity type that is being referenced.
EntityReferenceFieldTest::assertUserAutocreate function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Asserts that the setter callback performs autocreation for users.
EntityReferenceFieldTest::assertUserRoleAutocreate function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Asserts that the setter callback performs autocreation for user roles.
EntityReferenceFieldTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
EntityReferenceFieldTest::testAutocreateApi function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests all the possible ways to autocreate an entity via the API.
EntityReferenceFieldTest::testEntityReferenceFieldDependencies function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests the dependencies entity reference fields are created with.
EntityReferenceFieldTest::testEntityReferenceFieldValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests reference field validation.
EntityReferenceFieldTest::testEntityReferenceItemFiberSuspension function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests fiber suspension within EntityReferenceItemBase::__get().

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