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
EntityFormTest::testMultilingualFormCRUD function core/modules/system/tests/src/Functional/Entity/EntityFormTest.php Tests basic multilingual form CRUD functionality.
EntityFormTest::testValidationHandlers function core/modules/system/tests/src/Functional/Entity/EntityFormTest.php Checks that validation handlers works as expected.
EntityHasFieldConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php @covers \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraintValidator[[api-linebreak]]
EntityHasFieldConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityKernelTestBase class core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Defines an abstract test base for entity kernel tests.
EntityKernelTestBase.php file core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
EntityKernelTestBase::$entityTypeManager property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php The entity type manager service.
EntityKernelTestBase::$generatedIds property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php A list of generated identifiers.
EntityKernelTestBase::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
EntityKernelTestBase::$state property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php The state service.
EntityKernelTestBase::createUser function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Creates a user.
EntityKernelTestBase::generateRandomEntityId function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Generates a random ID avoiding collisions.
EntityKernelTestBase::getHooksInfo function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Returns the entity_test hook invocation info.
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 Tests the cache when multiple keys reference a single field.
EntityLabelTest class core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php Tests that entity type labels use sentence-case.
EntityLabelTest.php file core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php
EntityLabelTest::testEntityLabelCasing function core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php Tests that entity type labels use sentence-case.
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
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 class core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php @coversDefaultClass \Drupal\comment\Plugin\views\field\EntityLink[[api-linebreak]]
@group comment
EntityLinkTest.php file core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php
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

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