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
EntityKernelTestBase::installModule function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Installs a module and refreshes services.
EntityKernelTestBase::refreshServices function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Refresh services.
EntityKernelTestBase::reloadEntity function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Reloads the given entity from the storage and returns it.
EntityKernelTestBase::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
EntityKernelTestBase::uninstallModule function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Uninstalls a module and refreshes services.
EntityKernelTestBaseTest class core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php @covers \Drupal\KernelTests\Core\Entity\EntityKernelTestBase[[api-linebreak]]
EntityKernelTestBaseTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php
EntityKernelTestBaseTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php
EntityKernelTestBaseTest::testSetUpCurrentUser function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php Tests that the current user is set up correctly.
EntityKeysTest class core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php Test the behavior of entity keys.
EntityKeysTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php
EntityKeysTest::multipleKeysCacheTestCases function core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php Data provider for ::testMultipleKeysCache.
EntityKeysTest::testMultipleKeysCache function core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php Test the cache when multiple keys reference a single field.
EntityLanguageTestBase class core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php Base class for language-aware entity tests.
EntityLanguageTestBase.php file core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php
EntityLanguageTestBase::$fieldName property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The test field name.
EntityLanguageTestBase::$langcodes property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The available language codes.
EntityLanguageTestBase::$languageManager property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The language manager service.
EntityLanguageTestBase::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php Modules to enable.
EntityLanguageTestBase::$untranslatableFieldName property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The untranslatable test field name.
EntityLanguageTestBase::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php
EntityLanguageTestBase::toggleFieldTranslatability function core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php Toggles field storage translatability.
EntityLegacyTest class core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php Tests legacy entity functions.
EntityLegacyTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php
EntityLegacyTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php Modules to enable.
EntityLegacyTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php
EntityLegacyTest::testEntityCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php Tests deprecation of the entity_create() function.
EntityLegacyTest::testEntityDeleteMultiple function core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php Tests that entity_delete_multiple triggers an error.
EntityLegacyTest::testEntityLegacyCode function core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php @expectedDeprecation entity_load_multiple() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use the entity type storage's loadMultiple() method. See https://www.drupal.org/node/2266845
@expectedDeprecation entity_load() is…
EntityLegacyTest::testEntityLoadMultipleByProperties function core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php @expectedDeprecation entity_load_multiple_by_properties() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use the entity type storage's loadByProperties() method. See https://www.drupal.org/node/3050910
EntityLegacyTest::testEntityView function core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php @expectedDeprecation entity_view() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal::entityTypeManager()->getViewBuilder($entity->getEntityTypeId())->view($entity, $view_mode, $langcode) instead. See…
EntityLegacyTest::testLegacyDisplayFunctions function core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php @expectedDeprecation entity_get_display() is deprecated in drupal:8.8.0. It will be removed before drupal:9.0.0. Use \Drupal::service('entity_display.repository')->getViewDisplay() instead. See…
EntityLinkOutputUrlUpdateTest class core/modules/views/tests/src/Functional/Update/EntityLinkOutputUrlUpdateTest.php Tests that the additional settings are added to the entity link field.
EntityLinkOutputUrlUpdateTest.php file core/modules/views/tests/src/Functional/Update/EntityLinkOutputUrlUpdateTest.php
EntityLinkOutputUrlUpdateTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/EntityLinkOutputUrlUpdateTest.php Set database dump files to be used.
EntityLinkOutputUrlUpdateTest::testViewsPostUpdateEntityLinkUrl function core/modules/views/tests/src/Functional/Update/EntityLinkOutputUrlUpdateTest.php Tests that the additional settings are added to the config.
EntityLinkTest class core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php @coversDefaultClass \Drupal\Core\Entity\Entity[[api-linebreak]]
@group Entity
EntityLinkTest.php file core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php
EntityLinkTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php The mocked entity type manager.
EntityLinkTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php The mocked language manager.
EntityLinkTest::$linkGenerator property core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php The tested link generator.
EntityLinkTest::providerTestLink function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php Provides test data for testLink().
EntityLinkTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php
EntityLinkTest::testLink function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php Tests for the Entity::link() method
EntityLinkTest::testToLink function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php Tests for the Entity::toLink() method
EntityListBuilderTest class core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php @coversDefaultClass \Drupal\entity_test\EntityTestListBuilder[[api-linebreak]]
@group Entity
EntityListBuilderTest class core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php Tests entity list builder functionality.
EntityListBuilderTest.php file core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php
EntityListBuilderTest.php file core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php Contains \Drupal\Tests\Core\Entity\EntityListBuilderTest.
EntityListBuilderTest::$container property core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php The service container used for testing.

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