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
EntityResolverTest::setUp function core/modules/serialization/tests/src/Kernel/EntityResolverTest.php
EntityResolverTest::testUuidEntityResolver function core/modules/serialization/tests/src/Kernel/EntityResolverTest.php Test that fields referencing UUIDs can be denormalized.
EntityResourcePermissionsUpdateTest class core/modules/rest/tests/src/Functional/Update/EntityResourcePermissionsUpdateTest.php Tests that existing sites continue to use permissions for EntityResource.
EntityResourcePermissionsUpdateTest.php file core/modules/rest/tests/src/Functional/Update/EntityResourcePermissionsUpdateTest.php
EntityResourcePermissionsUpdateTest::$modules property core/modules/rest/tests/src/Functional/Update/EntityResourcePermissionsUpdateTest.php Modules to enable after the database is loaded.
EntityResourcePermissionsUpdateTest::setDatabaseDumpFiles function core/modules/rest/tests/src/Functional/Update/EntityResourcePermissionsUpdateTest.php Set database dump files to be used.
EntityResourcePermissionsUpdateTest::testBcEntityResourcePermissionSettingAdded function core/modules/rest/tests/src/Functional/Update/EntityResourcePermissionsUpdateTest.php Tests rest_update_8203().
EntityResourceRestTestCoverageTest class core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php Checks that all core content/config entity types have REST test coverage.
EntityResourceRestTestCoverageTest.php file core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php
EntityResourceRestTestCoverageTest::$defaultTheme property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php The theme to install as the default for testing.
EntityResourceRestTestCoverageTest::$definitions property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php Entity definitions array.
EntityResourceRestTestCoverageTest::getLlamaMessage function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php Message from Llama.
EntityResourceRestTestCoverageTest::setUp function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php
EntityResourceRestTestCoverageTest::testEntityTypeRestTestCoverage function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php Tests that all core content/config entity types have REST test coverage.
EntityResourceTest class core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php @coversDefaultClass \Drupal\jsonapi\Controller\EntityResource[[api-linebreak]]
@group jsonapi
EntityResourceTest.php file core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php
EntityResourceTest::$entityResource property core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php The EntityResource under test.
EntityResourceTest::$modules property core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php Modules to enable.
EntityResourceTest::$node property core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php The node.
EntityResourceTest::$node2 property core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php The other node.
EntityResourceTest::$node3 property core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php An unpublished node.
EntityResourceTest::$nodeUuid property core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php Static UUIDs to use in testing.
EntityResourceTest::$request property core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php A fake request.
EntityResourceTest::$user property core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php The user.
EntityResourceTest::createEntityResource function core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php Creates an instance of the subject under test.
EntityResourceTest::setUp function core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php
EntityResourceTest::testGetEmptyCollection function core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php @covers ::getCollection[[api-linebreak]]
EntityResourceTest::testGetPagedCollection function core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php @covers ::getCollection[[api-linebreak]]
EntityResourceTestBase class core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Even though there is the generic EntityResource, it's necessary for every
entity type to have its own test, because they each have different fields,
validation constraints, et cetera. It's not because the generic case works,
that every case…
EntityResourceTestBase.php file core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
EntityResourceTestBase::$anotherEntity property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Another entity of the same type used for testing.
EntityResourceTestBase::$entity property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The main entity used for testing.
EntityResourceTestBase::$entityStorage property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The entity storage.
EntityResourceTestBase::$entityTypeId property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The tested entity type.
EntityResourceTestBase::$firstCreatedEntityId property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The entity ID for the first created entity in testPost().
EntityResourceTestBase::$labelFieldName property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Optionally specify which field is the 'label' field. Some entities specify
a 'label_callback', but not a 'label' entity key. For example: User.
EntityResourceTestBase::$modules property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Modules to install.
EntityResourceTestBase::$patchProtectedFieldNames property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The fields that are protected against modification during PATCH requests.
EntityResourceTestBase::$secondCreatedEntityId property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The entity ID for the second created entity in testPost().
EntityResourceTestBase::$uniqueFieldNames property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The fields that need a different (random) value for each new entity created
by a POST request.
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::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::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.

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