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
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 Tests 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.
EntityLinkTest class core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php @coversDefaultClass \Drupal\Core\Entity\EntityBase[[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::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\Core\Entity\EntityListBuilder[[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.
EntityListBuilderTest::$defaultTheme property core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php The theme to install as the default for testing.
EntityListBuilderTest::$entityListBuilder property core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php The EntityListBuilder object to test.
EntityListBuilderTest::$entityType property core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php The entity type used for testing.
EntityListBuilderTest::$moduleHandler property core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php The module handler used for testing.
EntityListBuilderTest::$modules property core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php Modules to enable.
EntityListBuilderTest::$redirectDestination property core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php The redirect destination service.
EntityListBuilderTest::$role property core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php The entity used to construct the EntityListBuilder.
EntityListBuilderTest::$roleStorage property core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php The role storage used for testing.
EntityListBuilderTest::$translationManager property core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php The translation manager used for testing.
EntityListBuilderTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
EntityListBuilderTest::setUp function core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php
EntityListBuilderTest::testCacheContexts function core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php Tests that the correct cache contexts are set.
EntityListBuilderTest::testCacheTags function core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php Tests if the list cache tags are set.
EntityListBuilderTest::testGetOperations function core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php @covers ::getOperations[[api-linebreak]]
EntityListBuilderTest::testPager function core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php Tests paging.
EntityLoadByUuidTest class core/tests/Drupal/KernelTests/Core/Entity/EntityLoadByUuidTest.php Tests loading entities by UUID.
EntityLoadByUuidTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityLoadByUuidTest.php

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