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 10.3.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
ContextHandlerTest::testGetMatchingContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::getMatchingContexts[[api-linebreak]]
ContextPluginTest class core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php Tests that contexts are properly set and working within plugins.
ContextPluginTest.php file core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php
ContextPluginTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php Modules to install.
ContextPluginTest::testContext function core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php Tests basic context definition and value getters and setters.
ContextTest class core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Tests Drupal\Component\Plugin\Context\Context.
ContextTest class core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\Context[[api-linebreak]]
@group Plugin
ContextTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php
ContextTest.php file core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php
ContextTest::$contextDefinition property core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php The mocked context definition object.
ContextTest::$typedData property core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php The mocked Typed Data object.
ContextTest::$typedDataManager property core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php The mocked Typed Data manager.
ContextTest::providerGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Data provider for testGetContextValue.
ContextTest::providerHasContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Data provider for testHasContextValue.
ContextTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php
ContextTest::setUpDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php Set up mocks for the getDefaultValue() method call.
ContextTest::testDefaultDataValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::getContextData[[api-linebreak]]
ContextTest::testDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::getContextValue[[api-linebreak]]
ContextTest::testDefaultValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @legacy-covers ::getContextValue
ContextTest::testGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @legacy-covers ::getContextValue
ContextTest::testHasContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @legacy-covers ::hasContextValue
ContextTest::testNullDataValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::getContextData[[api-linebreak]]
ContextTest::testSetContextValueCacheableDependency function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::setContextValue[[api-linebreak]]
ContextTest::testSetContextValueTypedData function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::setContextValue[[api-linebreak]]
ContextTypedDataTest class core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Tests that contexts work properly with the typed data manager.
ContextTypedDataTest.php file core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php
ContextTypedDataTest::providerHasContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Data provider for testHasContextValue.
ContextTypedDataTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Tests that getting a context value does not throw fatal errors.
ContextTypedDataTest::testHasContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php @covers ::hasContextValue[[api-linebreak]]
@dataProvider providerHasContextValue
ContextTypedDataTest::testSerialize function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Tests that contexts can be serialized.
ContextualDynamicContextTest class core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Tests contextual link display on the front page based on permissions.
ContextualDynamicContextTest.php file core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
ContextualDynamicContextTest::$anonymousUser property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php A simulated anonymous user with access only to node content.
ContextualDynamicContextTest::$authenticatedUser property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php An authenticated user with permission to access contextual links.
ContextualDynamicContextTest::$defaultTheme property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php The theme to install as the default for testing.
ContextualDynamicContextTest::$editorUser property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php A user with permission to access contextual links and edit content.
ContextualDynamicContextTest::$modules property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Modules to install.
ContextualDynamicContextTest::assertContextualLinkPlaceHolder function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Asserts that a contextual link placeholder with the given id exists.
ContextualDynamicContextTest::assertNoContextualLinkPlaceHolder function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Asserts that a contextual link placeholder with a given id does not exist.
ContextualDynamicContextTest::createContextualIdToken function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Creates a contextual ID token.
ContextualDynamicContextTest::renderContextualLinks function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Get server-rendered contextual links for the given contextual link ids.
ContextualDynamicContextTest::setUp function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
ContextualDynamicContextTest::testDifferentPermissions function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Tests contextual links with different permissions.
ContextualDynamicContextTest::testTokenProtection function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Tests the contextual placeholder content is protected by a token.
ContextualFiltersBlockContextTest class core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php A test for contextual filters exposed as block context.
ContextualFiltersBlockContextTest.php file core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php
ContextualFiltersBlockContextTest::$defaultTheme property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php The theme to install as the default for testing.
ContextualFiltersBlockContextTest::$modules property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php Modules to install.
ContextualFiltersBlockContextTest::$nodes property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php Test nodes.
ContextualFiltersBlockContextTest::$nodeType property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php Test node type.

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