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
EntityUnitTestBase::reloadEntity function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Reloads the given entity from the storage and returns it.
EntityUnitTestBase::setUp function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Performs setup tasks before each individual test method is run.
EntityUnitTestBase::uninstallModule function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Uninstalls a module and refreshes services.
EntityUpdateAddRevisionDefaultTest class core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Tests the upgrade path for adding the 'revision_default' field.
EntityUpdateAddRevisionDefaultTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php
EntityUpdateAddRevisionDefaultTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php The theme to install as the default for testing.
EntityUpdateAddRevisionDefaultTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php The state service.
EntityUpdateAddRevisionDefaultTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Set database dump files to be used.
EntityUpdateAddRevisionDefaultTest::setUp function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Overrides WebTestBase::setUp() for update testing.
EntityUpdateAddRevisionDefaultTest::testAddingTheRevisionDefaultField function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Tests the addition of the 'revision_default' base field.
EntityUpdateAddRevisionTranslationAffectedTest class core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the upgrade path for adding the 'revision_translation_affected' field.
EntityUpdateAddRevisionTranslationAffectedTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php
EntityUpdateAddRevisionTranslationAffectedTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php The theme to install as the default for testing.
EntityUpdateAddRevisionTranslationAffectedTest::$modules property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Modules to enable after the database is loaded.
EntityUpdateAddRevisionTranslationAffectedTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php The state service.
EntityUpdateAddRevisionTranslationAffectedTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Set database dump files to be used.
EntityUpdateAddRevisionTranslationAffectedTest::setUp function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Overrides WebTestBase::setUp() for update testing.
EntityUpdateAddRevisionTranslationAffectedTest::testAddingTheRevisionTranslationAffectedField function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the addition of the 'revision_translation_affected' base field.
EntityUpdateAddRevisionTranslationAffectedTest::testDeletedEntityType function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the 'revision_translation_affected' field on a deleted entity type.
EntityUpdateInitialTest class core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php Tests handling of existing initial keys during updates.
EntityUpdateInitialTest.php file core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php
EntityUpdateInitialTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php The theme to install as the default for testing.
EntityUpdateInitialTest::$modules property core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php Modules to enable.
EntityUpdateInitialTest::setUp function core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php
EntityUpdateInitialTest::testInitialIsIgnored function core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php Tests that a pre-existing initial key in the field schema is not a change.
EntityUpdateToPublishableTest class core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Tests the upgrade path for making an entity publishable.
EntityUpdateToPublishableTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php
EntityUpdateToPublishableTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The theme to install as the default for testing.
EntityUpdateToPublishableTest::$entityDefinitionUpdateManager property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The entity definition update manager.
EntityUpdateToPublishableTest::$entityTypeManager property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The entity type manager service.
EntityUpdateToPublishableTest::$installedStorageSchema property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The key-value collection for tracking installed storage schema.
EntityUpdateToPublishableTest::$lastInstalledSchemaRepository property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The last installed schema repository service.
EntityUpdateToPublishableTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php The state service.
EntityUpdateToPublishableTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Set database dump files to be used.
EntityUpdateToPublishableTest::setUp function core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Overrides WebTestBase::setUp() for update testing.
EntityUpdateToPublishableTest::testConvertToPublishable function core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Tests the conversion of an entity type to be publishable.
EntityUpdateToPublishableTest::updateEntityTypeDefinition function core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php Updates the 'entity_test_update' entity type to translatable and
publishable.
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\Entity 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.

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