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. Search main for test
  6. 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
TokenTest::$token property core/tests/Drupal/Tests/Core/Utility/TokenTest.php The token service under test.
TokenTest::providerTestReplaceEscaping function core/tests/Drupal/Tests/Core/Utility/TokenTest.php
TokenTest::providerTestValueCallback function core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php Data provider for testValueCallback().
TokenTest::setUp function core/tests/Drupal/Tests/Core/Utility/TokenTest.php
TokenTest::testGetInfo function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::getInfo[[api-linebreak]]
TokenTest::testReplaceEscaping function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace[[api-linebreak]]
@dataProvider providerTestReplaceEscaping
TokenTest::testReplaceWithBubbleableMetadataObject function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace[[api-linebreak]]
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace[[api-linebreak]]
@covers ::replace[[api-linebreak]]
TokenTest::testReplaceWithHookTokensWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace[[api-linebreak]]
TokenTest::testResetInfo function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::resetInfo[[api-linebreak]]
TokenTest::testValueCallback function core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php @covers ::valueCallback[[api-linebreak]]
token_test.info.yml file core/modules/system/tests/modules/token_test/token_test.info.yml core/modules/system/tests/modules/token_test/token_test.info.yml
token_test.routing.yml file core/modules/system/tests/modules/token_test/token_test.routing.yml core/modules/system/tests/modules/token_test/token_test.routing.yml
ToolbarAdminMenuTest class core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests the caching of the admin menu subtree items.
ToolbarAdminMenuTest.php file core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
ToolbarAdminMenuTest::$adminUser property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php A user with permission to access the administrative toolbar.
ToolbarAdminMenuTest::$adminUser2 property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php A second user with permission to access the administrative toolbar.
ToolbarAdminMenuTest::$defaultTheme property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php The theme to install as the default for testing.
ToolbarAdminMenuTest::$hash property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php The current admin menu subtrees hash for adminUser.
ToolbarAdminMenuTest::$modules property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Modules to enable.
ToolbarAdminMenuTest::assertDifferentHash function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Asserts the subtrees hash on a fresh page GET is different from the hash
from the previous page GET.
ToolbarAdminMenuTest::getSubtreesHash function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Get the hash value from the admin menu subtrees route path.
ToolbarAdminMenuTest::setUp function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
ToolbarAdminMenuTest::testBackToSiteLink function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Test that back to site link exists on admin pages, not on content pages.
ToolbarAdminMenuTest::testExternalLink function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that external links added to the menu appear in the toolbar.
ToolbarAdminMenuTest::testLanguageSwitching function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Test that subtrees hashes vary by the language of the page.
ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that toolbar cache is cleared when string translations are made.
ToolbarAdminMenuTest::testMenuLinkUpdateSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests toolbar cache tags implementation.
ToolbarAdminMenuTest::testModuleStatusChangeSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests the toolbar_modules_installed() and toolbar_modules_uninstalled() hook
implementations.
ToolbarAdminMenuTest::testNonCurrentUserAccountUpdates function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that changes to a user account by another user clears the changed
account's toolbar cached, not the user's who took the action.
ToolbarAdminMenuTest::testSubtreesJsonRequest function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that the 'toolbar/subtrees/{hash}' is reachable and correct.
ToolbarAdminMenuTest::testUserRoleUpdateSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Exercises the toolbar_user_role_update() and toolbar_user_update() hook
implementations.
ToolbarCacheContextsTest class core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php Tests the cache contexts for toolbar.
ToolbarCacheContextsTest.php file core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php
ToolbarCacheContextsTest::$adminUser property core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php An authenticated user to use for testing.
ToolbarCacheContextsTest::$adminUser2 property core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php An authenticated user to use for testing.
ToolbarCacheContextsTest::$defaultTheme property core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php The theme to install as the default for testing.
ToolbarCacheContextsTest::$modules property core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php Modules to enable.
ToolbarCacheContextsTest::$perms property core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php A list of default permissions for test users.
ToolbarCacheContextsTest::assertToolbarCacheContexts function core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php Tests that cache contexts are applied for both users.
ToolbarCacheContextsTest::installExtraModules function core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php Installs a given list of modules and rebuilds the cache.
ToolbarCacheContextsTest::setUp function core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php
ToolbarCacheContextsTest::testCacheIntegration function core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php Tests toolbar cache integration.
ToolbarCacheContextsTest::testToolbarCacheContextsCaller function core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php Tests toolbar cache contexts.
ToolbarHookToolbarTest class core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php Tests the implementation of hook_toolbar() by a module.
ToolbarHookToolbarTest.php file core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php
ToolbarHookToolbarTest::$adminUser property core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php A user with permission to access the administrative toolbar.
ToolbarHookToolbarTest::$defaultTheme property core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php The theme to install as the default for testing.
ToolbarHookToolbarTest::$modules property core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php Modules to enable.
ToolbarHookToolbarTest::setUp function core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php

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