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 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
EntityTestComputedFieldNormalizerTest::getExpectedUnauthorizedAccessMessage function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Return the expected error message.
EntityTestComputedFieldNormalizerTest::setUpAuthorization function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Sets up the necessary authorization.
EntityTestComputedFieldNormalizerTest::testDelete function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Tests a DELETE request for an entity, plus edge cases to ensure good DX.
EntityTestComputedFieldNormalizerTest::testPatch function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Tests a PATCH request for an entity, plus edge cases to ensure good DX.
EntityTestComputedFieldNormalizerTest::testPost function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php Tests a POST request for an entity, plus edge cases to ensure good DX.
EntityTestComputedFieldTest class core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php JSON:API integration test for the "EntityTestComputedField" content entity type.
EntityTestComputedFieldTest.php file core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php
EntityTestComputedFieldTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php The theme to install as the default for testing.
EntityTestComputedFieldTest::$entity property core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php
EntityTestComputedFieldTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php The tested entity type.
EntityTestComputedFieldTest::$modules property core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php Modules to install.
EntityTestComputedFieldTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php The fields that are protected against modification during PATCH requests.
EntityTestComputedFieldTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php The name of the tested JSON:API resource type.
EntityTestComputedFieldTest::createEntity function core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php Creates the entity to be tested.
EntityTestComputedFieldTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php The expected cache contexts for the GET/HEAD response of the test entity.
EntityTestComputedFieldTest::getExpectedCacheTags function core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php The expected cache tags for the GET/HEAD response of the test entity.
EntityTestComputedFieldTest::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php Returns the expected JSON:API document for the entity.
EntityTestComputedFieldTest::getPostDocument function core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php Returns the JSON:API POST document.
EntityTestComputedFieldTest::getSparseFieldSets function core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php Returns an array of sparse fields sets to test.
EntityTestComputedFieldTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php Sets up the necessary authorization.
EntityTestConstraints class core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraints.php Defines a test class for testing the definition of entity level constraints.
EntityTestConstraints.php file core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraints.php
EntityTestConstraints::baseFieldDefinitions function core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraints.php Provides base field definitions for an entity type.
EntityTestConstraintViolation class core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraintViolation.php Defines the test entity class for testing entity constraint violations.
EntityTestConstraintViolation.php file core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraintViolation.php
EntityTestConstraintViolation::baseFieldDefinitions function core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraintViolation.php Provides base field definitions for an entity type.
EntityTestContainerFactoryPlugin class core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php A dummy constraint for testing \Drupal\Core\Validation\ConstraintFactory.
EntityTestContainerFactoryPlugin.php file core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php
EntityTestContainerFactoryPlugin::create function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php Creates an instance of the plugin.
EntityTestController class core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php Controller routines for entity_test routes.
EntityTestController.php file core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php
EntityTestController::listEntitiesAlphabetically function core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php List entities of the given entity type labels, sorted alphabetically.
EntityTestController::listEntitiesEmpty function core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php Empty list of entities of the given entity type.
EntityTestController::listReferencingEntities function core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php List entity_test entities referencing the given entity.
EntityTestController::testAdmin function core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php Returns an empty page.
EntityTestDateOnlyTest class core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php Tests the datetime field constraint with 'date' items.
EntityTestDateOnlyTest.php file core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php
EntityTestDateOnlyTest::$dateString property core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php The ISO date string to use throughout the test.
EntityTestDateOnlyTest::$defaultTheme property core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php The theme to install as the default for testing.
EntityTestDateOnlyTest::$fieldName property core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php Datetime test field name.
EntityTestDateOnlyTest::$modules property core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php Modules to install.
EntityTestDateOnlyTest::assertNormalizationEdgeCases function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php Asserts normalization-specific edge cases.
EntityTestDateOnlyTest::createEntity function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php Creates the entity to be tested.
EntityTestDateOnlyTest::getExpectedNormalizedEntity function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php Returns the expected normalization of the entity.
EntityTestDateOnlyTest::getNormalizedPostEntity function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php Returns the normalized POST entity.
EntityTestDateOnlyTest::setUp function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php
EntityTestDateRangeTest class core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php Tests the 'daterange' field's normalization.
EntityTestDateRangeTest.php file core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php
EntityTestDateRangeTest::$dateString property core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php The ISO date string to use throughout the test.
EntityTestDateRangeTest::$defaultTheme property core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php The theme to install as the default for testing.

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