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
TestSetupTrait::$siteDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The site directory of this test run.
TestSetupTrait::$strictConfigSchema property core/lib/Drupal/Core/Test/TestSetupTrait.php Set to TRUE to strict check all configuration saved.
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::getDatabaseConnection function core/lib/Drupal/Core/Test/TestSetupTrait.php Returns the database connection to the site running Simpletest.
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.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/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]]
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::$databasePrefix property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The database prefix of this test run.
TestSiteInstallCommand::$langcode property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The language to install the site in.
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::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.
TestSiteInstallCommand::setup function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Creates a test drupal installation.
TestSiteInstallTestScript class core/tests/Drupal/TestSite/TestSiteInstallTestScript.php Setup file used by TestSiteApplicationTest.
TestSiteInstallTestScript.php file core/tests/Drupal/TestSite/TestSiteInstallTestScript.php
TestSiteInstallTestScript::setup function core/tests/Drupal/TestSite/TestSiteInstallTestScript.php Run the code to setup the test environment.
TestSiteMultilingualInstallTestScript class core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php Setup file used by TestSiteApplicationTest.
TestSiteMultilingualInstallTestScript.php file core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php
TestSiteMultilingualInstallTestScript::preinstall function core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php Runs code prior to a test site install.

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