Search for test

  1. Search 7.x for test
  2. Search 8.9.x for test
  3. Search 10.3.x for test
  4. Search 11.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
EntityReferenceFieldAttributesTest::$defaultTheme property core/modules/rdf/tests/src/Functional/EntityReferenceFieldAttributesTest.php The theme to install as the default for testing.
EntityReferenceFieldAttributesTest::$fieldName property core/modules/rdf/tests/src/Functional/EntityReferenceFieldAttributesTest.php The name of the taxonomy term reference field used in the test.
EntityReferenceFieldAttributesTest::$modules property core/modules/rdf/tests/src/Functional/EntityReferenceFieldAttributesTest.php Modules to enable.
EntityReferenceFieldAttributesTest::$vocabulary property core/modules/rdf/tests/src/Functional/EntityReferenceFieldAttributesTest.php The vocabulary object used in the test.
EntityReferenceFieldAttributesTest::setUp function core/modules/rdf/tests/src/Functional/EntityReferenceFieldAttributesTest.php
EntityReferenceFieldAttributesTest::testNodeTeaser function core/modules/rdf/tests/src/Functional/EntityReferenceFieldAttributesTest.php Tests if file fields in teasers have correct resources.
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 enable.
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 @coversDefaultClass \Drupal\serialization\Normalizer\EntityReferenceFieldItemNormalizer[[api-linebreak]]
@group serialization
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 @covers ::constructValue[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithEmptyUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithId function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeAndUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeWithIncorrectUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithIncorrectType function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithoutType function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::normalize[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testNormalizeWithEmptyTaxonomyTermReference function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::normalize[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testNormalizeWithNewEntityReference function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php
EntityReferenceFieldItemNormalizerTest::testNormalizeWithNoEntity function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::normalize[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::supportsDenormalization[[api-linebreak]]
EntityReferenceFieldItemNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::supportsNormalization[[api-linebreak]]
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.

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