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 11.x 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
JsonApiRelationshipTest::$fieldNameWithMeta property core/modules/jsonapi/tests/src/Functional/JsonApiRelationshipTest.php The field name for the to-many entity reference with meta field.
JsonApiRelationshipTest::$fieldNameWithMetaSingle property core/modules/jsonapi/tests/src/Functional/JsonApiRelationshipTest.php The field name for the to-one entity reference with meta field.
JsonApiRelationshipTest::$modules property core/modules/jsonapi/tests/src/Functional/JsonApiRelationshipTest.php
JsonApiRelationshipTest::setUp function core/modules/jsonapi/tests/src/Functional/JsonApiRelationshipTest.php
JsonApiRelationshipTest::testMultiValueRelationshipPatchDoesNotAllowObjectInjection function core/modules/jsonapi/tests/src/Functional/JsonApiRelationshipTest.php PATCH to a to-many relationship does not allow object injection.
JsonApiRelationshipTest::testMultiValueRelationshipPostDoesNotAllowObjectInjection function core/modules/jsonapi/tests/src/Functional/JsonApiRelationshipTest.php POST to a to-many relationship does not allow object injection.
JsonApiRelationshipTest::testPatchHandleUUIDPropertyReferenceFieldIssue3127883 function core/modules/jsonapi/tests/src/Functional/JsonApiRelationshipTest.php Test relationships without target_id as main property.
JsonApiRelationshipTest::testSingleValueRelationshipPatchDoesNotAllowObjectInjection function core/modules/jsonapi/tests/src/Functional/JsonApiRelationshipTest.php PATCH to a to-one relationship does not allow object injection.
JsonApiRequestTestTrait trait core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php Boilerplate for JSON:API Functional tests' HTTP requests.
JsonApiRequestTestTrait.php file core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php
JsonApiSpecTest class core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Tests Drupal\jsonapi\JsonApiSpec.
JsonApiSpecTest.php file core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php
JsonApiSpecTest::providerTestIsValidCustomQueryParameter function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Data provider for testIsValidCustomQueryParameter.
JsonApiSpecTest::providerTestIsValidMemberName function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Data provider for testIsValidMemberName.
JsonApiSpecTest::testIsValidCustomQueryParameter function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Provides test cases.
JsonApiSpecTest::testIsValidMemberName function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Ensures that member names are properly validated.
JsonapiTestFieldAccessHooks class core/modules/jsonapi/tests/modules/jsonapi_test_field_access/src/Hook/JsonapiTestFieldAccessHooks.php Hook implementations for jsonapi_test_field_access.
JsonapiTestFieldAccessHooks.php file core/modules/jsonapi/tests/modules/jsonapi_test_field_access/src/Hook/JsonapiTestFieldAccessHooks.php
JsonapiTestFieldAccessHooks::entityFieldAccess function core/modules/jsonapi/tests/modules/jsonapi_test_field_access/src/Hook/JsonapiTestFieldAccessHooks.php Implements hook_entity_field_access().
JsonapiTestNonCacheableMethodsHooks class core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/src/Hook/JsonapiTestNonCacheableMethodsHooks.php Hook implementations for jsonapi_test_non_cacheable_methods.
JsonapiTestNonCacheableMethodsHooks.php file core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/src/Hook/JsonapiTestNonCacheableMethodsHooks.php
JsonapiTestNonCacheableMethodsHooks::entityPredelete function core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/src/Hook/JsonapiTestNonCacheableMethodsHooks.php Implements hook_entity_predelete().
JsonapiTestNonCacheableMethodsHooks::entityPresave function core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/src/Hook/JsonapiTestNonCacheableMethodsHooks.php Implements hook_entity_presave().
JsonapiTestUserHooks class core/modules/jsonapi/tests/modules/jsonapi_test_user/src/Hook/JsonapiTestUserHooks.php Hook implementations for jsonapi_test_user.
JsonapiTestUserHooks.php file core/modules/jsonapi/tests/modules/jsonapi_test_user/src/Hook/JsonapiTestUserHooks.php
JsonapiTestUserHooks::userFormatNameAlter function core/modules/jsonapi/tests/modules/jsonapi_test_user/src/Hook/JsonapiTestUserHooks.php Implements hook_user_format_name_alter().
JsonApiTopLevelResourceNormalizerTest class core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Tests Drupal\jsonapi\Normalizer\JsonApiDocumentTopLevelNormalizer.
JsonApiTopLevelResourceNormalizerTest.php file core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php
JsonApiTopLevelResourceNormalizerTest::$file property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php The example image file.
JsonApiTopLevelResourceNormalizerTest::$includeResolver property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php The include resolver.
JsonApiTopLevelResourceNormalizerTest::$modules property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php
JsonApiTopLevelResourceNormalizerTest::$node property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php A node to normalize.
JsonApiTopLevelResourceNormalizerTest::$nodeType property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php The node type.
JsonApiTopLevelResourceNormalizerTest::$resourceTypeRepository property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php The JSON:API resource type repository under test.
JsonApiTopLevelResourceNormalizerTest::$term1 property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php A term.
JsonApiTopLevelResourceNormalizerTest::$term2 property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php A term.
JsonApiTopLevelResourceNormalizerTest::$user property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php A user to normalize.
JsonApiTopLevelResourceNormalizerTest::$user2 property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php A user.
JsonApiTopLevelResourceNormalizerTest::$vocabulary property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php A vocabulary.
JsonApiTopLevelResourceNormalizerTest::cacheableMetadataProvider function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Provides test cases for asserting cacheable metadata behavior.
JsonApiTopLevelResourceNormalizerTest::denormalizeUuidProviderBuilder function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php We cannot use a PHPUnit data provider because our data depends on $this.
JsonApiTopLevelResourceNormalizerTest::getNormalizer function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Helper to load the normalizer.
JsonApiTopLevelResourceNormalizerTest::getTestConfigEntityResource function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Get a test resource type, resource object and includes for config entity.
JsonApiTopLevelResourceNormalizerTest::getTestContentEntityResource function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Get a test resource type, resource object and includes.
JsonApiTopLevelResourceNormalizerTest::jsonSchemaDataProvider function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php
JsonApiTopLevelResourceNormalizerTest::setUp function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php
JsonApiTopLevelResourceNormalizerTest::tearDown function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php
JsonApiTopLevelResourceNormalizerTest::testAliasFieldRouteException function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Tests the message and exceptions when requesting a Label only resource.
JsonApiTopLevelResourceNormalizerTest::testCacheableMetadata function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Ensure that cacheability metadata is properly added.
JsonApiTopLevelResourceNormalizerTest::testConfigEntityResourceObjectSchema function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Test the generated config resource object normalization against the schema.

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