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 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
EntityUnitTest::testGetEntityType function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getEntityType[[api-linebreak]]
EntityUnitTest::testGetEntityTypeId function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getEntityTypeId[[api-linebreak]]
EntityUnitTest::testId function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::id[[api-linebreak]]
EntityUnitTest::testIsNew function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::isNew[[api-linebreak]]
@covers ::enforceIsNew[[api-linebreak]]
EntityUnitTest::testLabel function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::label[[api-linebreak]]
EntityUnitTest::testLanguage function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::language[[api-linebreak]]
EntityUnitTest::testLoad function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::load[[api-linebreak]]
EntityUnitTest::testLoadMultiple function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::loadMultiple[[api-linebreak]]
EntityUnitTest::testPostCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postCreate[[api-linebreak]]
EntityUnitTest::testPostDelete function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postDelete[[api-linebreak]]
EntityUnitTest::testPostDeleteBundle function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postDelete[[api-linebreak]]
EntityUnitTest::testPostLoad function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postLoad[[api-linebreak]]
EntityUnitTest::testPostSave function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postSave[[api-linebreak]]
EntityUnitTest::testPostSaveBundle function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postSave[[api-linebreak]]
EntityUnitTest::testPreCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::preCreate[[api-linebreak]]
EntityUnitTest::testPreDelete function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::preDelete[[api-linebreak]]
EntityUnitTest::testPreSave function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::preSave[[api-linebreak]]
EntityUnitTest::testReferencedEntities function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::referencedEntities[[api-linebreak]]
EntityUnitTest::testSave function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::save[[api-linebreak]]
EntityUnitTest::testUuid function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::uuid[[api-linebreak]]
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 install.
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.
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 install.
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 install.
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::$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::$langcode property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The language code 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::ENTITY_ID constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The ID of the entity used in this test.
EntityUrlTest::ENTITY_TYPE_ID constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The ID of the entity type used in this test.
EntityUrlTest::getEntity function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Returns a mock entity for testing.

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