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
ContentModerationTest::assertOnlyPublishedMedia function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Asserts only published media items are visible.
ContentModerationTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php
ContentModerationTest::testAdministrationPage function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Tests the media library widget only shows published media.
ContentModerationTest::testWidget function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Tests the media library widget only shows published media.
ContentModerationTestTrait trait core/modules/content_moderation/tests/src/Traits/ContentModerationTestTrait.php Provides functionality for testing content moderation.
ContentModerationTestTrait.php file core/modules/content_moderation/tests/src/Traits/ContentModerationTestTrait.php
ContentModerationTestTrait::addEntityTypeAndBundleToWorkflow function core/modules/content_moderation/tests/src/Traits/ContentModerationTestTrait.php Adds an entity type ID / bundle ID to the given workflow.
ContentModerationTestTrait::createEditorialWorkflow function core/modules/content_moderation/tests/src/Traits/ContentModerationTestTrait.php Creates the editorial workflow.
ContentModerationWorkflowConfigTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php Tests how Content Moderation handles workflow config changes.
ContentModerationWorkflowConfigTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
ContentModerationWorkflowConfigTest::$configFactory property core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
ContentModerationWorkflowConfigTest::$entityTypeManager property core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
ContentModerationWorkflowConfigTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php Modules to install.
ContentModerationWorkflowConfigTest::$workflow property core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
ContentModerationWorkflowConfigTest::$workflowStorage property core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
ContentModerationWorkflowConfigTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
ContentModerationWorkflowConfigTest::testDeletingStateViaConfiguration function core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php Tests deleting a state via config import.
ContentModerationWorkflowTypeApiTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php Tests the API of the ContentModeration workflow type plugin.
ContentModerationWorkflowTypeApiTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php
ContentModerationWorkflowTypeApiTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php Modules to install.
ContentModerationWorkflowTypeApiTest::$workflow property core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php A workflow for testing.
ContentModerationWorkflowTypeApiTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php
ContentModerationWorkflowTypeApiTest::testAddEntityTypeAndBundle function core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php @covers ::addEntityTypeAndBundle[[api-linebreak]]
ContentModerationWorkflowTypeApiTest::testAppliesToEntityTypeAndBundle function core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php @covers ::appliesToEntityTypeAndBundle[[api-linebreak]]
@covers ::addEntityTypeAndBundle[[api-linebreak]]
@covers ::removeEntityTypeAndBundle[[api-linebreak]]
ContentModerationWorkflowTypeApiTest::testGetBundlesForEntityType function core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php @covers ::getBundlesForEntityType[[api-linebreak]]
@covers ::addEntityTypeAndBundle[[api-linebreak]]
@covers ::removeEntityTypeAndBundle[[api-linebreak]]
ContentModerationWorkflowTypeApiTest::testRemoveEntityTypeAndBundle function core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php @covers ::addEntityTypeAndBundle[[api-linebreak]]
@covers ::removeEntityTypeAndBundle[[api-linebreak]]
ContentModerationWorkflowTypeTest class core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php Test the workflow type plugin in the content_moderation module.
ContentModerationWorkflowTypeTest.php file core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php
ContentModerationWorkflowTypeTest::$defaultTheme property core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php The theme to install as the default for testing.
ContentModerationWorkflowTypeTest::$modules property core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php Modules to install.
ContentModerationWorkflowTypeTest::setUp function core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php
ContentModerationWorkflowTypeTest::testNewWorkflow function core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php Tests creating a new workflow using the content moderation plugin.
ContentNegotiationRoutingTest class core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php Tests content negotiation routing variations.
ContentNegotiationRoutingTest.php file core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php
ContentNegotiationRoutingTest::$modules property core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php Modules to install.
ContentNegotiationRoutingTest::setUp function core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php
ContentNegotiationRoutingTest::testContentRouting function core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php Tests the content negotiation aspect of routing.
ContentNegotiationRoutingTest::testFullNegotiation function core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php Full negotiation by header only.
ContentNegotiationTest class core/modules/system/tests/src/Functional/DrupalKernel/ContentNegotiationTest.php Tests content negotiation.
ContentNegotiationTest.php file core/modules/system/tests/src/Functional/DrupalKernel/ContentNegotiationTest.php
ContentNegotiationTest::$defaultTheme property core/modules/system/tests/src/Functional/DrupalKernel/ContentNegotiationTest.php The theme to install as the default for testing.
ContentNegotiationTest::testBogusAcceptHeader function core/modules/system/tests/src/Functional/DrupalKernel/ContentNegotiationTest.php Verifies HTML responses for bogus Accept headers.
ContentPreprocess::isLatestVersionPage function core/modules/content_moderation/src/ContentPreprocess.php Checks whether a route is the "Latest version" tab of a node.
ContentPreprocessTest class core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php @coversDefaultClass \Drupal\content_moderation\ContentPreprocess[[api-linebreak]]
ContentPreprocessTest.php file core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php
ContentPreprocessTest::routeNodeProvider function core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php Data provider for self::testIsLatestVersionPage().
ContentPreprocessTest::setupCurrentRouteMatch function core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php Mock the current route matching object.
ContentPreprocessTest::setupNode function core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php Mock a node object.
ContentPreprocessTest::testIsLatestVersionPage function core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php @covers ::isLatestVersionPage[[api-linebreak]]
@dataProvider routeNodeProvider
ContentPreviewToggleTest class core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php Tests toggling of content preview.

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