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
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::getDatabaseConnection function core/lib/Drupal/Core/Test/TestSetupTrait.php Returns the database connection to the site under test.
TestSetupTrait::prepareDatabasePrefix function core/lib/Drupal/Core/Test/TestSetupTrait.php Generates a database prefix for running tests.
TestSetupTraitTest class core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php Tests the TestSetupTrait trait.
TestSetupTraitTest class core/tests/Drupal/KernelTests/Core/Test/TestSetupTraitTest.php Tests the TestSetupTrait trait.
TestSetupTraitTest.php file core/tests/Drupal/KernelTests/Core/Test/TestSetupTraitTest.php
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.
TestSetupTraitTest::testGetDatabaseConnection function core/tests/Drupal/KernelTests/Core/Test/TestSetupTraitTest.php @covers ::getDatabaseConnection[[api-linebreak]]
@group legacy
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/Tests/Scripts/TestSiteApplicationTest.php Tests core/scripts/test-site.php.
TestSiteApplicationTest.php file core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
TestSiteApplicationTest::$php property core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php The PHP executable path.
TestSiteApplicationTest::addTestDatabase function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php Adds the installed test site to the database connection info.
TestSiteApplicationTest::getTestLockFile function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php Gets the lock file path.
TestSiteApplicationTest::setUp function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
TestSiteApplicationTest::testInstallInDifferentLanguage function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing[[api-linebreak]]
TestSiteApplicationTest::testInstallScript function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing[[api-linebreak]]
TestSiteApplicationTest::testInstallWithFileWithNoClass function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing[[api-linebreak]]
TestSiteApplicationTest::testInstallWithNonExistingFile function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing[[api-linebreak]]
TestSiteApplicationTest::testInstallWithNonSetupClass function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing[[api-linebreak]]
TestSiteApplicationTest::testTearDownDbPrefixValidation function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing[[api-linebreak]]
TestSiteApplicationTest::testUserLogin function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing[[api-linebreak]]
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 Run the code to setup the test environment.
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::$timeLimit property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Time limit in seconds for the test.
TestSiteInstallCommand::$translationFilesDirectory property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The translation file directory for the test environment.
TestSiteInstallCommand::changeDatabasePrefix function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php
TestSiteInstallCommand::configure function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php
TestSiteInstallCommand::ensureDirectory function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Ensures that the sites/simpletest directory exists and is writable.
TestSiteInstallCommand::execute function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php
TestSiteInstallCommand::executePreinstallClass function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Uses the setup file to configure the environment prior to install.
TestSiteInstallCommand::executeSetupClass function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Uses the setup file to configure Drupal.
TestSiteInstallCommand::getSetupClass function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Gets the setup class.
TestSiteInstallCommand::installDrupal function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Installs Drupal into the test site.
TestSiteInstallCommand::installParameters function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php
TestSiteInstallCommand::prepareDatabasePrefix function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Generates a database prefix for running tests.

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