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
ContextHandlerTest::testApplyContextMapping function core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingAlreadyApplied function core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingConfigurableAssigned function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingConfigurableAssignedMiss function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingMissingNotRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingMissingRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingNoValueNonRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testApplyContextMappingNoValueRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping[[api-linebreak]]
ContextHandlerTest::testCheckRequirements function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::checkRequirements[[api-linebreak]]
ContextHandlerTest::testFilterPluginDefinitionsByContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::filterPluginDefinitionsByContexts[[api-linebreak]]
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/Core/Plugin/Context/ContextTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\Context[[api-linebreak]]
@group Plugin
ContextTest class core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @coversDefaultClass \Drupal\Component\Plugin\Context\Context[[api-linebreak]]
@group Plugin
ContextTest.php file core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php
ContextTest.php file core/tests/Drupal/Tests/Core/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 @covers ::getContextValue[[api-linebreak]]
ContextTest::testGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @covers ::getContextValue[[api-linebreak]]
@dataProvider providerGetContextValue
ContextTest::testHasContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @covers ::hasContextValue[[api-linebreak]]
@dataProvider providerHasContextValue
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 the given id does not exist.
ContextualDynamicContextTest::createContextualIdToken function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Creates a contextual ID token.

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