Search for test

  1. Search 7.x for test
  2. Search 8.9.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
EntityUpdateTest class core/modules/editor/tests/src/Kernel/EntityUpdateTest.php Tests updating an entity.
EntityUpdateTest.php file core/modules/editor/tests/src/Kernel/EntityUpdateTest.php
EntityUpdateTest::$modules property core/modules/editor/tests/src/Kernel/EntityUpdateTest.php Modules to enable.
EntityUpdateTest::setUp function core/modules/editor/tests/src/Kernel/EntityUpdateTest.php
EntityUpdateTest::testEntityUpdate function core/modules/editor/tests/src/Kernel/EntityUpdateTest.php Tests updating an existing entity.
EntityUrlLanguageTest class core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php Tests the language of entity URLs.
@group language
EntityUrlLanguageTest.php file core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php
EntityUrlLanguageTest::$entity property core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php The entity being used for testing.
EntityUrlLanguageTest::$modules property core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php Modules to enable.
EntityUrlLanguageTest::createTranslatableEntity function core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php Creates a translated entity.
EntityUrlLanguageTest::setCurrentRequestForRoute function core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php Sets the current request to a specific path with the corresponding route.
EntityUrlLanguageTest::setUp function core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php
EntityUrlLanguageTest::testEntityUrlLanguage function core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php Ensures that entity URLs in a language have the right language prefix.
EntityUrlLanguageTest::testEntityUrlLanguageWithLanguageContentEnabled function core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php Ensures correct entity URLs with the method language-content-entity enabled.
EntityUrlTest class core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests URL handling of the \Drupal\Core\Entity\EntityBase class.
EntityUrlTest.php file core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
EntityUrlTest::$entityId property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The ID of the entity used in this test.
EntityUrlTest::$entityType property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The entity type mock used in this test.
EntityUrlTest::$entityTypeBundleInfo property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The entity type bundle info service mock used in this test.
EntityUrlTest::$entityTypeId property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The ID of the entity type used in this test.
EntityUrlTest::$langcode property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The language code of the entity used in this test.
EntityUrlTest::$revisionId property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The revision ID of the entity used in this test.
EntityUrlTest::assertUrl function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Asserts that a given URL object matches the expectations.
EntityUrlTest::DEFAULT_REVISION constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Indicator for default revisions.
EntityUrlTest::getEntity function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Returns a mock entity for testing.
EntityUrlTest::HAS_BUNDLE_KEY constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Indicator that the test entity type has a bundle key.
EntityUrlTest::HAS_NO_BUNDLE_KEY constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Indicator that the test entity type has no bundle key.
EntityUrlTest::NON_DEFAULT_REVISION constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Indicator for non-default revisions.
EntityUrlTest::providerTestToUrlLinkTemplateAddForm function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplateAddForm().
EntityUrlTest::providerTestToUrlLinkTemplateNoId function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplateNoId().
EntityUrlTest::providerTestToUrlLinkTemplateRevision function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplateRevision().
EntityUrlTest::providerTestToUrlLinkTemplates function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplates().
EntityUrlTest::providerTestToUrlUriCallback function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlUriCallback().
EntityUrlTest::providerTestToUrlUriCallbackUndefined function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlUriCallbackUndefined().
EntityUrlTest::registerBundleInfo function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Registers bundle information for the mock entity type.
EntityUrlTest::registerLinkTemplate function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Registers a link template for the mock entity.
EntityUrlTest::testToUrlLinkTemplateAddForm function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with the 'revision' link template.
EntityUrlTest::testToUrlLinkTemplateNoId function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with link templates without an entity ID.
EntityUrlTest::testToUrlLinkTemplateRevision function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with the 'revision' link template.
EntityUrlTest::testToUrlLinkTemplates function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with simple link templates.
EntityUrlTest::testToUrlNoId function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method without an entity ID.
EntityUrlTest::testToUrlUriCallback function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with a URI callback.
EntityUrlTest::testToUrlUriCallbackUndefined function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with neither link templates nor a URI callback.
EntityUrlTest::testUriRelationships function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the uriRelationships() method.
EntityUUIDTest class core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php Tests creation, saving, and loading of entity UUIDs.
EntityUUIDTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php
EntityUUIDTest::assertCRUD function core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php Executes the UUID CRUD tests for the given entity type.
EntityUUIDTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php
EntityUUIDTest::testCRUD function core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php Tests UUID generation in entity CRUD operations.
EntityValidationTest class core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Tests the Entity Validation API.

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