Search for test

  1. Search 7.x for test
  2. Search 8.9.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::initSettings function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Initialize settings created during install.
FunctionalTestSetupTrait::initUserSession function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Initializes user 1 for the site to be installed.
FunctionalTestSetupTrait::installDefaultThemeFromClassProperty function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Installs the default theme defined by `static::$defaultTheme` when needed.
FunctionalTestSetupTrait::installModulesFromClassProperty function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Install modules defined by `static::$modules`.
FunctionalTestSetupTrait::installParameters function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Returns the parameters that will be used when Simpletest installs Drupal.
FunctionalTestSetupTrait::prepareEnvironment function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Prepares the current environment for running the test.
FunctionalTestSetupTrait::prepareRequestForGenerator function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Creates a mock request and sets it on the generator.
FunctionalTestSetupTrait::prepareSettings function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Prepares site settings and services before installation.
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 Tests the use of Link::preRenderLinks() 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::testGarbageCollection function core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php Tests garbage collection.
GenerateThemeTest class core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme commands.
GenerateThemeTest.php file core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php
GenerateThemeTest::$php property core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php The PHP executable path.
GenerateThemeTest::assertThemeExists function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Asserts the theme exists. Returns the parsed *.info.yml file.
GenerateThemeTest::generateThemeFromStarterkit function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Generates PHP process to generate a theme from core's starterkit theme.
GenerateThemeTest::setUp function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php
GenerateThemeTest::test function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command.
GenerateThemeTest::testContribStarterkit function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command on a theme with a release version number.
GenerateThemeTest::testContribStarterkitDevSnapshot function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command on a theme with a dev version number.
GenerateThemeTest::testContribStarterkitDevSnapshotWithGitNotInstalled function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command on a theme with a dev version without git.
GenerateThemeTest::testCustomStarterkit function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command on a theme without a version number.
GenerateThemeTest::testDevSnapshot function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command on a dev snapshot of Drupal core.
GenerateThemeTest::testGeneratingFromAnotherTheme function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests generating a theme from another Starterkit enabled theme.
GenerateThemeTest::testStarterKitFlag function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests that only themes with `starterkit` flag can be used.
GenerateThemeTest::testThemeDoesNotExist function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests themes that do not exist return an error.
GenericCacheBackendUnitTestBase class core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Tests any cache backend.
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::$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.

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