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
EntityUnitTest.php file core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityUnitTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The mocked cache tags invalidator.
EntityUnitTest::$entity property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The entity under test.
EntityUnitTest::$entityType property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The entity type used for testing.
EntityUnitTest::$entityTypeId property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The ID of the type of the entity under test.
EntityUnitTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The entity type manager used for testing.
EntityUnitTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The language manager.
EntityUnitTest::$routeProvider property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The route provider used for testing.
EntityUnitTest::$uuid property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The UUID generator used for testing.
EntityUnitTest::$values property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The entity values.
EntityUnitTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityUnitTest::setupTestLoad function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php Setup for the tests of the ::load() method.
EntityUnitTest::testAccess function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::access[[api-linebreak]]
EntityUnitTest::testBundle function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::bundle[[api-linebreak]]
EntityUnitTest::testCacheContexts function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getCacheContexts[[api-linebreak]]
@covers ::addCacheContexts[[api-linebreak]]
EntityUnitTest::testCacheMaxAge function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getCacheMaxAge[[api-linebreak]]
@covers ::mergeCacheMaxAge[[api-linebreak]]
EntityUnitTest::testCacheTags function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getCacheTags[[api-linebreak]]
@covers ::getCacheTagsToInvalidate[[api-linebreak]]
@covers ::addCacheTags[[api-linebreak]]
EntityUnitTest::testCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::create[[api-linebreak]]
EntityUnitTest::testDelete function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::delete[[api-linebreak]]
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]]
@group legacy
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]]
EntityUnitTestBase class core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Defines an abstract test base for entity unit tests.
EntityUnitTestBase.php file core/modules/system/src/Tests/Entity/EntityUnitTestBase.php
EntityUnitTestBase::$entityManager property core/modules/system/src/Tests/Entity/EntityUnitTestBase.php The entity manager service.
EntityUnitTestBase::$generatedIds property core/modules/system/src/Tests/Entity/EntityUnitTestBase.php A list of generated identifiers.
EntityUnitTestBase::$modules property core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Modules to enable.
EntityUnitTestBase::$state property core/modules/system/src/Tests/Entity/EntityUnitTestBase.php The state service.
EntityUnitTestBase::createUser function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Creates a user.
EntityUnitTestBase::generateRandomEntityId function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Generates a random ID avoiding collisions.
EntityUnitTestBase::getHooksInfo function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Returns the entity_test hook invocation info.
EntityUnitTestBase::installModule function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Installs a module and refreshes services.
EntityUnitTestBase::refreshServices function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Refresh services.

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