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
TestDiscoveryCacheContext::getCacheableMetadata function core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php Gets the cacheability metadata for the context.
TestDiscoveryCacheContext::getContext function core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php Returns the string representation of the cache context.
TestDiscoveryCacheContext::getLabel function core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php Returns the label of the cache context.
TestDiscoveryCacheContext::hash function core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php Hashes the given string.
TestDiscoveryCacheContext::__construct function core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php Construct a test discovery cache context.
TestDiscoveryCacheContextTest class core/modules/simpletest/tests/src/Kernel/Cache/Context/TestDiscoveryCacheContextTest.php @group simpletest
@group legacy
TestDiscoveryCacheContextTest.php file core/modules/simpletest/tests/src/Kernel/Cache/Context/TestDiscoveryCacheContextTest.php
TestDiscoveryCacheContextTest::$modules property core/modules/simpletest/tests/src/Kernel/Cache/Context/TestDiscoveryCacheContextTest.php Modules to enable.
TestDiscoveryCacheContextTest::testContext function core/modules/simpletest/tests/src/Kernel/Cache/Context/TestDiscoveryCacheContextTest.php Tests that test context hashes are unique.
TestDiscoveryDeprecationTest class core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php @group simpletest
@group legacy
TestDiscoveryDeprecationTest.php file core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php
TestDiscoveryDeprecationTest::$modules property core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php Modules to enable.
TestDiscoveryDeprecationTest::testHookSimpletestAlter function core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php @expectedDeprecation The deprecated alter hook hook_simpletest_alter() is implemented in these functions: simpletest_deprecation_test_simpletest_alter. Convert your test to a PHPUnit-based one and implement test listeners. See:…
TestDiscoveryTest class core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php @coversDefaultClass \Drupal\simpletest\TestDiscovery[[api-linebreak]]
TestDiscoveryTest class core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @coversDefaultClass \Drupal\Core\Test\TestDiscovery[[api-linebreak]]
@group Test
TestDiscoveryTest.php file core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest.php file core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php
TestDiscoveryTest::getTestDiscoveryMock function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php Mock a TestDiscovery object to return specific extension values.
TestDiscoveryTest::getTestDiscoveryMock function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Mock a TestDiscovery object to return specific extension values.
TestDiscoveryTest::infoParserProvider function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::providerTestGetPhpunitTestSuite function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::setupVfsWithTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::setupVfsWithTestClasses function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php
TestDiscoveryTest::testGetPhpunitTestSuite function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getPhpunitTestSuite[[api-linebreak]]
@dataProvider providerTestGetPhpunitTestSuite
TestDiscoveryTest::testGetTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClasses function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestInfoEmptyDocblock function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure that classes are not reflected when the docblock is empty.
TestDiscoveryTest::testGetTestsInProfiles function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestsInProfiles function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testScanDirectoryNoAbstract function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure TestDiscovery::scanDirectory() ignores certain abstract file types.
TestDiscoveryTest::testTestInfoParser function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo[[api-linebreak]]
@dataProvider infoParserProvider
TestDiscoveryTest::testTestInfoParserMissingGroup function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo[[api-linebreak]]
TestDiscoveryTest::testTestInfoParserMissingSummary function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo[[api-linebreak]]
TestDisplayVariant class core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Provides a display variant that requires configuration.
TestDisplayVariant.php file core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php
TestDisplayVariant::$contexts property core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php An array of collected contexts.
TestDisplayVariant::$mainContent property core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php The render array representing the main page content.
TestDisplayVariant::$title property core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php The page title: a string (plain title) or a render array (formatted title).
TestDisplayVariant::build function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Builds and returns the renderable array for the display variant.
TestDisplayVariant::getContexts function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Gets the contexts.
TestDisplayVariant::setContexts function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Sets the contexts.
TestDisplayVariant::setMainContent function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Sets the main content for the page being rendered.
TestDisplayVariant::setTitle function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Sets the title for the page being rendered.
TestDomainObject class core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObject.php
TestDomainObject.php file core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObject.php
TestDomainObjectViewSubscriber class core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObjectViewSubscriber.php View subscriber for turning TestDomainObject objects into Response objects.
TestDomainObjectViewSubscriber.php file core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObjectViewSubscriber.php
TestDomainObjectViewSubscriber::getSubscribedEvents function core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObjectViewSubscriber.php

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