Search for test

  1. Search 7.x for test
  2. Search 9.5.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
EntityResourceTestBase::getExpectedCacheContexts function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
EntityResourceTestBase::getExpectedCacheTags function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The expected cache tags for the GET/HEAD response of the test entity.
EntityResourceTestBase::getExpectedNormalizedEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the expected normalization of the entity.
EntityResourceTestBase::getExpectedUnauthorizedAccessCacheability function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the expected cacheability of an unauthorized access response.
EntityResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Return the expected error message.
EntityResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The cacheability of unauthorized 'view' entity access.
EntityResourceTestBase::getModifiedEntityForPatchTesting function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Clones the given entity and modifies all PATCH-protected fields.
EntityResourceTestBase::getModifiedEntityForPostTesting function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Gets the normalized POST entity with random values for its unique fields.
EntityResourceTestBase::getNormalizedPatchEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the normalized PATCH entity.
EntityResourceTestBase::getNormalizedPostEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the normalized POST entity.
EntityResourceTestBase::getSecondNormalizedPostEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Gets the second normalized POST entity.
EntityResourceTestBase::makeNormalizationInvalid function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Makes the given entity normalization invalid.
EntityResourceTestBase::provisionEntityResource function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Provides an entity resource.
EntityResourceTestBase::setUp function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
EntityResourceTestBase::testDelete function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests a DELETE request for an entity, plus edge cases to ensure good DX.
EntityResourceTestBase::testGet function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Test a GET request for an entity, plus edge cases to ensure good DX.
EntityResourceTestBase::testPatch function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests a PATCH request for an entity, plus edge cases to ensure good DX.
EntityResourceTestBase::testPost function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests a POST request for an entity, plus edge cases to ensure good DX.
EntityResourceValidationTraitTest class core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @group rest
@coversDefaultClass \Drupal\rest\Plugin\rest\resource\EntityResourceValidationTrait[[api-linebreak]]
EntityResourceValidationTraitTest.php file core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php
EntityResourceValidationTraitTest::testFailedValidate function core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @covers ::validate[[api-linebreak]]
EntityResourceValidationTraitTest::testValidate function core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @covers ::validate[[api-linebreak]]
EntityResourceValidationTraitTestClass class core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php A test class to use to test EntityResourceValidationTrait.
EntityRevisionConverterTest class core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php @coversDefaultClass \Drupal\content_moderation\ParamConverter\EntityRevisionConverter[[api-linebreak]]
@group content_moderation
@group legacy
EntityRevisionConverterTest.php file core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php
EntityRevisionConverterTest::$modules property core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php Modules to enable.
EntityRevisionConverterTest::setUp function core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php
EntityRevisionConverterTest::testDeprecatedLoadPendingRevisionFlag function core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php @covers ::convert[[api-linebreak]]
@expectedDeprecationMessage The load_pending_revision flag has been deprecated. You should use load_latest_revision instead.
EntityRevisionParamConverterTest class core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php @coversDefaultClass \Drupal\Core\ParamConverter\EntityRevisionParamConverter[[api-linebreak]]
@group entity
EntityRevisionParamConverterTest.php file core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
EntityRevisionParamConverterTest::$converter property core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php The tested entity revision param converter.
EntityRevisionParamConverterTest::getTestRoute function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
EntityRevisionParamConverterTest::providerTestConvert function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Provides test data for testConvert
EntityRevisionParamConverterTest::setUp function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
EntityRevisionParamConverterTest::testApplyingRoute function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php @covers ::applies[[api-linebreak]]
EntityRevisionParamConverterTest::testConvert function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method.
EntityRevisionParamConverterTest::testConvertWithInvalidDynamicEntityType function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method with an invalid dynamic entity type ID.
EntityRevisionParamConverterTest::testConvertWithInvalidEntityType function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method with an invalid entity type ID.
EntityRevisionParamConverterTest::testConvertWithInvalidType function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method with an invalid dynamic entity type ID.
EntityRevisionParamConverterTest::testNonApplyingRoute function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php @covers ::applies[[api-linebreak]]
EntityRevisionRouteEnhancerTest class core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @coversDefaultClass \Drupal\Core\Routing\Enhancer\EntityRevisionRouteEnhancer[[api-linebreak]]
@group Entity
EntityRevisionRouteEnhancerTest.php file core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
EntityRevisionRouteEnhancerTest::$routeEnhancer property core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
EntityRevisionRouteEnhancerTest::setUp function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
EntityRevisionRouteEnhancerTest::testEnhanceWithEntityRevision function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @covers ::enhance[[api-linebreak]]
EntityRevisionRouteEnhancerTest::testEnhanceWithoutEntityRevision function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @covers ::enhance[[api-linebreak]]
EntityRevisionRouteEnhancerTest::testEnhanceWithoutParameter function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @covers ::enhance[[api-linebreak]]
EntityRevisionsTest class core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php Tests the loaded Revision of an entity.
EntityRevisionsTest class core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php Create a entity with revisions and test viewing, saving, reverting, and
deleting revisions.
EntityRevisionsTest.php file core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php

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