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 10.3.x for test
  5. Search 11.x 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
TestSetupTrait::$tempFilesDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The temporary file directory for the test environment.
TestSetupTrait::$testId property core/lib/Drupal/Core/Test/TestSetupTrait.php The test run ID.
TestSetupTrait::changeDatabasePrefix function core/lib/Drupal/Core/Test/TestSetupTrait.php Changes the database connection to the prefixed one.
TestSetupTrait::getConfigSchemaExclusions function core/lib/Drupal/Core/Test/TestSetupTrait.php Gets the config schema exclusions for this test.
TestSetupTrait::prepareDatabasePrefix function core/lib/Drupal/Core/Test/TestSetupTrait.php Generates a database prefix for running tests.
TestSetupTrait::__get function core/lib/Drupal/Core/Test/TestSetupTrait.php Implements the magic method for getting object properties.
TestSetupTrait::__set function core/lib/Drupal/Core/Test/TestSetupTrait.php Implements the magic method for setting object properties.
TestSetupTraitTest class core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php Tests the TestSetupTrait trait.
TestSetupTraitTest.php file core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php
TestSetupTraitTest::testChangeDatabasePrefix function core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php Tests the SIMPLETEST_DB environment variable is used.
TestSiteApplication class core/tests/Drupal/TestSite/TestSiteApplication.php Application wrapper for test site commands.
TestSiteApplication.php file core/tests/Drupal/TestSite/TestSiteApplication.php
TestSiteApplication::getDefaultCommands function core/tests/Drupal/TestSite/TestSiteApplication.php
TestSiteApplicationTest class core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests core/scripts/test-site.php.
TestSiteApplicationTest.php file core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php
TestSiteApplicationTest::$php property core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php The PHP executable path.
TestSiteApplicationTest::addTestDatabase function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Adds the installed test site to the database connection info.
TestSiteApplicationTest::getTestLockFile function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Gets the lock file path.
TestSiteApplicationTest::setUp function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php
TestSiteApplicationTest::testInstallInDifferentLanguage function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests install in different language.
TestSiteApplicationTest::testInstallScript function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests install script.
TestSiteApplicationTest::testInstallWithFileWithNoClass function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests install with file with no class.
TestSiteApplicationTest::testInstallWithNonExistingFile function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests install with non existing file.
TestSiteApplicationTest::testInstallWithNonSetupClass function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests install with non setup class.
TestSiteApplicationTest::testTearDownDbPrefixValidation function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests tear down db prefix validation.
TestSiteApplicationTest::testUserLogin function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests user login.
TestSiteClaroInstallTestScript class core/tests/Drupal/TestSite/TestSiteClaroInstallTestScript.php Setup file used by TestSiteInstallTestScript.
TestSiteClaroInstallTestScript.php file core/tests/Drupal/TestSite/TestSiteClaroInstallTestScript.php
TestSiteClaroInstallTestScript::setup function core/tests/Drupal/TestSite/TestSiteClaroInstallTestScript.php
TestSiteConfigurationExcluder class core/modules/package_manager/tests/src/Kernel/PathExcluder/SiteConfigurationExcluderTest.php A test version of the site configuration excluder, to expose internals.
TestSiteConfigurationExcluder::$sitePath property core/modules/package_manager/tests/src/Kernel/PathExcluder/SiteConfigurationExcluderTest.php The site path.
TestSiteExcluder class core/modules/package_manager/src/PathExcluder/TestSiteExcluder.php Excludes 'sites/simpletest' from stage operations.
TestSiteExcluder.php file core/modules/package_manager/src/PathExcluder/TestSiteExcluder.php
TestSiteExcluder::excludeTestSites function core/modules/package_manager/src/PathExcluder/TestSiteExcluder.php Excludes sites/simpletest from stage operations.
TestSiteExcluder::getSubscribedEvents function core/modules/package_manager/src/PathExcluder/TestSiteExcluder.php
TestSiteExcluderTest class core/modules/package_manager/tests/src/Kernel/PathExcluder/TestSiteExcluderTest.php Tests Site Excluder.
TestSiteExcluderTest.php file core/modules/package_manager/tests/src/Kernel/PathExcluder/TestSiteExcluderTest.php
TestSiteExcluderTest::testTestSitesExcluded function core/modules/package_manager/tests/src/Kernel/PathExcluder/TestSiteExcluderTest.php Tests that test site directories are excluded from stage operations.
TestSiteInstallCommand class core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Command to create a test Drupal site.
TestSiteInstallCommand.php file core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php
TestSiteInstallCommand::$baseUrl property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The base URL.
TestSiteInstallCommand::$configImporter property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The config importer that can be used in a test.
TestSiteInstallCommand::$defaultTheme property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The theme to install as the default for testing.
TestSiteInstallCommand::$langcode property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The language to install the site in.
TestSiteInstallCommand::$originalShutdownCallbacks property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The original array of shutdown function callbacks.
TestSiteInstallCommand::$profile property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The install profile to use.
TestSiteInstallCommand::$root property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The Drupal root directory.
TestSiteInstallCommand::$timeLimit property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Time limit in seconds for the test.
TestSiteInstallCommand::changeDatabasePrefix function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Changes the database connection to the prefixed one.
TestSiteInstallCommand::configure function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php

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