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. 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
FunctionalTestSetupTrait::rebuildAll function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Resets and rebuilds the environment after setup.
FunctionalTestSetupTrait::rebuildContainer function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Rebuilds \Drupal::getContainer().
FunctionalTestSetupTrait::resetAll function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Resets all data structures after having enabled new modules.
FunctionalTestSetupTrait::setContainerParameter function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Changes parameters in the services.yml file.
FunctionalTestSetupTrait::setupBaseUrl function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Sets up the base URL based upon the environment variable.
FunctionalTestSetupTrait::writeSettings function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Rewrites the settings.php file of the test site.
FunctionalTestSuite class core/tests/TestSuites/FunctionalTestSuite.php Discovers tests for the functional test suite.
FunctionalTestSuite.php file core/tests/TestSuites/FunctionalTestSuite.php
FunctionalTestSuite::suite function core/tests/TestSuites/FunctionalTestSuite.php Factory method which loads up a suite with all functional tests.
FunctionsTest class core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Tests for common theme functions.
FunctionsTest.php file core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php
FunctionsTest::$modules property core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Modules to enable.
FunctionsTest::setUp function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php
FunctionsTest::testDrupalPreRenderLinks function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Test the use of Link::preRenderLinks() on a nested array of links.
FunctionsTest::testDrupalPreRenderLinksLegacy function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Test the use of drupal_pre_render_links() on a nested array of links.
FunctionsTest::testImage function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Tests theme_image().
FunctionsTest::testIndexedKeyedLinks function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Tests links.html.twig using links with indexed keys.
FunctionsTest::testItemList function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Tests item-list.html.twig.
FunctionsTest::testLinks function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Tests links.html.twig.
GarbageCollectionTest class core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php Tests garbage collection for the expirable key-value database storage.
GarbageCollectionTest.php file core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php
GarbageCollectionTest::$modules property core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php Modules to enable.
GarbageCollectionTest::setUp function core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php
GarbageCollectionTest::testGarbageCollection function core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php Tests garbage collection.
GenericCacheBackendUnitTestBase class core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Tests any cache backend.
GenericCacheBackendUnitTestBase class core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Tests any cache backend.
GenericCacheBackendUnitTestBase.php file core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
GenericCacheBackendUnitTestBase.php file core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
GenericCacheBackendUnitTestBase::$cachebackends property core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Array of objects implementing Drupal\Core\Cache\CacheBackendInterface.
GenericCacheBackendUnitTestBase::$cachebackends property core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Array of objects implementing Drupal\Core\Cache\CacheBackendInterface.
GenericCacheBackendUnitTestBase::$defaultValue property core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Random value to use in tests.
GenericCacheBackendUnitTestBase::$defaultValue property core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Random value to use in tests.
GenericCacheBackendUnitTestBase::$testBin property core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Cache bin to use for testing.
GenericCacheBackendUnitTestBase::$testBin property core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Cache bin to use for testing.
GenericCacheBackendUnitTestBase::createCacheBackend function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Creates a cache backend to test.
GenericCacheBackendUnitTestBase::createCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Creates a cache backend to test.
GenericCacheBackendUnitTestBase::getCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Gets a backend to test; this will get a shared instance set in the object.
GenericCacheBackendUnitTestBase::getCacheBackend function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Gets a backend to test; this will get a shared instance set in the object.
GenericCacheBackendUnitTestBase::getTestBin function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Gets the testing bin.
GenericCacheBackendUnitTestBase::getTestBin function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Gets the testing bin.
GenericCacheBackendUnitTestBase::setUp function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
GenericCacheBackendUnitTestBase::setUp function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Performs setup tasks before each individual test method is run.
GenericCacheBackendUnitTestBase::setUpCacheBackend function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Allows specific implementation to change the environment before a test run.
GenericCacheBackendUnitTestBase::setUpCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Allows specific implementation to change the environment before a test run.
GenericCacheBackendUnitTestBase::tearDown function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
GenericCacheBackendUnitTestBase::tearDown function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Performs cleanup tasks after each individual test method has been run.
GenericCacheBackendUnitTestBase::tearDownCacheBackend function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Allows alteration of environment after a test run but before tear down.
GenericCacheBackendUnitTestBase::tearDownCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Allows alteration of environment after a test run but before tear down.
GenericCacheBackendUnitTestBase::testDelete function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Tests Drupal\Core\Cache\CacheBackendInterface::delete().
GenericCacheBackendUnitTestBase::testDelete function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Tests Drupal\Core\Cache\CacheBackendInterface::delete().

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