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
EntityResourceTestBase::$uniqueFieldNames property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php A list of fields that need a unique value.
EntityResourceTestBase::assert406Response function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Asserts a 406 response… or in some cases a 403 response, because weirdness.
EntityResourceTestBase::assertEntityArraySubset function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Recursively asserts that the expected items are set in the tested entity.
EntityResourceTestBase::assertNormalizationEdgeCases function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Asserts normalization-specific edge cases.
EntityResourceTestBase::assertPatchProtectedFieldNamesStructure function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Asserts structure of $patchProtectedFieldNames.
EntityResourceTestBase::assertResourceNotAvailable function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Asserts that a resource is unavailable: 404, 406 if it has canonical route.
EntityResourceTestBase::assertStoredEntityMatchesSentNormalization function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Asserts that the stored entity matches the sent normalization.
EntityResourceTestBase::castToString function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Transforms a normalization: casts all non-string types to strings.
EntityResourceTestBase::createAnotherEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Creates another entity to be tested.
EntityResourceTestBase::createEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Creates the entity to be tested.
EntityResourceTestBase::doTestDelete 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::doTestGet function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests a GET request for an entity, plus edge cases to ensure good DX.
EntityResourceTestBase::doTestPatch 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::doTestPost function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests a POST request for an entity, plus edge cases to ensure good DX.
EntityResourceTestBase::getEntityResourcePostUrl function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Gets an entity resource's POST URL.
EntityResourceTestBase::getEntityResourceUrl function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Gets an entity resource's GET/PATCH/DELETE URL.
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::makeNormalizationInvalid function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Makes the given entity normalization invalid.
EntityResourceTestBase::normalizeHeadersForGetHeadComparison function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Normalizes response headers before HEAD vs GET equality assertion.
EntityResourceTestBase::provisionEntityResource function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Provides an entity resource.
EntityResourceTestBase::revokeAllPermissions function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Revokes all permissions from anonymous and authenticated roles.
EntityResourceTestBase::setUp function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
EntityResourceTestBase::testCrud function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests all CRUD operations in a single test method.
EntityResourceValidationTraitTest class core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php Tests Drupal\rest\Plugin\rest\resource\EntityResourceValidationTrait.
EntityResourceValidationTraitTest.php file core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php
EntityResourceValidationTraitTest::testFailedValidate function core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php Tests failed validate.
EntityResourceValidationTraitTest::testValidate function core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php Tests validate.
EntityResourceValidationTraitTestClass class core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php A test class to use to test EntityResourceValidationTrait.
EntityReverseJoinTest class core/modules/views/tests/src/Kernel/Plugin/EntityReverseJoinTest.php Tests the EntityReverse join plugin.
EntityReverseJoinTest.php file core/modules/views/tests/src/Kernel/Plugin/EntityReverseJoinTest.php
EntityReverseJoinTest::$testViews property core/modules/views/tests/src/Kernel/Plugin/EntityReverseJoinTest.php Views to be enabled.
EntityReverseJoinTest::testJoinThroughRelationship function core/modules/views/tests/src/Kernel/Plugin/EntityReverseJoinTest.php Tests that the EntityReverse plugin loads the correct join plugin.
EntityRevisionParamConverterTest class core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests Drupal\Core\ParamConverter\EntityRevisionParamConverter.
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 Tests applying route.
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.

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