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
EntitySchemaTest::testModifyingTranslatableColumnSchema function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Tests that modifying the UUID field for a translatable entity works.
EntitySchemaTest::testPrimaryKeyUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Tests deleting and creating a field that is part of a primary key.
EntitySchemaTest::updateEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Updates the entity type definition.
EntitySchemaTestHooks class core/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php Hook implementations for entity_schema_test.
EntitySchemaTestHooks.php file core/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php
EntitySchemaTestHooks::entityBaseFieldInfo function core/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php Implements hook_entity_base_field_info().
EntitySchemaTestHooks::entityBundleCreate function core/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php Implements hook_entity_bundle_create().
EntitySchemaTestHooks::entityBundleDelete function core/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php Implements hook_entity_bundle_delete().
EntitySchemaTestHooks::entityBundleFieldInfo function core/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php Implements hook_entity_bundle_field_info().
EntitySchemaTestHooks::entityFieldStorageInfo function core/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php Implements hook_entity_field_storage_info().
EntitySchemaTestHooks::entityTypeAlter function core/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php Implements hook_entity_type_alter().
EntitySerializationTest class core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests that entities can be serialized to supported core formats.
EntitySerializationTest.php file core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
EntitySerializationTest::$entity property core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php The test entity.
EntitySerializationTest::$entityClass property core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php The class name of the test class.
EntitySerializationTest::$modules property core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Modules to install.
EntitySerializationTest::$serializer property core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php The serializer service.
EntitySerializationTest::$user property core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php The test user.
EntitySerializationTest::$values property core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php The test values.
EntitySerializationTest::entityFieldAccessAlter function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Implements hook_entity_field_access_alter().
EntitySerializationTest::setUp function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
EntitySerializationTest::testCacheableComputedField function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing cacheable computed field.
EntitySerializationTest::testDenormalize function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests denormalization of an entity.
EntitySerializationTest::testDenormalizeCustomSerializedItem function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing custom serialized columns.
EntitySerializationTest::testDenormalizeEmptyCustomSerializedField function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing empty custom serialized fields.
EntitySerializationTest::testDenormalizeInvalidCustomSerializedField function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing invalid custom serialized fields.
EntitySerializationTest::testDenormalizeSerializedItem function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests denormalizing serialized columns.
EntitySerializationTest::testDenormalizeStringValue function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing using string values.
EntitySerializationTest::testDenormalizeValidCustomSerializedField function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing valid custom serialized fields.
EntitySerializationTest::testNormalize function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests the normalize function.
EntitySerializationTest::testSerialize function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests entity serialization for core's formats by a registered Serializer.
EntitySerializationTest::testUserNormalize function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests user normalization with some default access controls overridden.
EntitySerializationTestHooks class core/modules/serialization/tests/modules/entity_serialization_test/src/Hook/EntitySerializationTestHooks.php Hook implementations for entity_serialization_test.
EntitySerializationTestHooks.php file core/modules/serialization/tests/modules/entity_serialization_test/src/Hook/EntitySerializationTestHooks.php
EntitySerializationTestHooks::entityFieldAccessAlter function core/modules/serialization/tests/modules/entity_serialization_test/src/Hook/EntitySerializationTestHooks.php Implements hook_entity_field_access_alter().
EntityStateChangeValidationTest class core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraintValidator.
EntityStateChangeValidationTest.php file core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php
EntityStateChangeValidationTest::$adminUser property core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php An admin user.
EntityStateChangeValidationTest::$modules property core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Modules to install.
EntityStateChangeValidationTest::setUp function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php
EntityStateChangeValidationTest::testExistingContentWithNoModeration function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests that content without prior moderation information can be moderated.
EntityStateChangeValidationTest::testExistingMultilingualContentWithNoModeration function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests that content without prior moderation information can be translated.
EntityStateChangeValidationTest::testInvalidState function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests validation with an invalid state.
EntityStateChangeValidationTest::testInvalidStateMultilingual function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests state transition validation with multiple languages.
EntityStateChangeValidationTest::testInvalidStateWithoutExisting function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests validation with no initial state or an invalid state.
EntityStateChangeValidationTest::testInvalidTransition function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests invalid transitions.
EntityStateChangeValidationTest::testTransitionAccessValidation function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests transition access validation.
EntityStateChangeValidationTest::testValidTransition function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests valid transitions.
EntityStateChangeValidationTest::transitionAccessValidationTestCases function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Test cases for ::testTransitionAccessValidation.
EntityStorageBaseTest class core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php Tests Drupal\Core\Entity\EntityStorageBase.

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