Search for %s
- Search 7.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| TestSetupInterface.php | file | core/ |
|
| TestSetupInterface::setup | function | core/ |
Run the code to setup the test environment. |
| TestSetupTrait | trait | core/ |
Provides a trait for shared test setup functionality. |
| TestSetupTrait.php | file | core/ |
|
| TestSetupTrait::$configSchemaCheckerExclusions | property | core/ |
An array of config object names that are excluded from schema checking. |
| TestSetupTrait::$container | property | core/ |
The dependency injection container used in the test. |
| TestSetupTrait::$databasePrefix | property | core/ |
The database prefix of this test run. |
| TestSetupTrait::$kernel | property | core/ |
The DrupalKernel instance used in the test. |
| TestSetupTrait::$originalSite | property | core/ |
The site directory of the original parent site. |
| TestSetupTrait::$privateFilesDirectory | property | core/ |
The private file directory for the test environment. |
| TestSetupTrait::$publicFilesDirectory | property | core/ |
The public file directory for the test environment. |
| TestSetupTrait::$root | property | core/ |
The app root. |
| TestSetupTrait::$siteDirectory | property | core/ |
The site directory of this test run. |
| TestSetupTrait::$strictConfigSchema | property | core/ |
Set to TRUE to strict check all configuration saved. |
| TestSetupTrait::$tempFilesDirectory | property | core/ |
The temporary file directory for the test environment. |
| TestSetupTrait::$testId | property | core/ |
The test run ID. |
| TestSetupTrait::changeDatabasePrefix | function | core/ |
Changes the database connection to the prefixed one. |
| TestSetupTrait::getConfigSchemaExclusions | function | core/ |
Gets the config schema exclusions for this test. |
| TestSetupTrait::getDatabaseConnection | function | core/ |
Returns the database connection to the site running Simpletest. |
| TestSetupTrait::prepareDatabasePrefix | function | core/ |
Generates a database prefix for running tests. |
| TestSetupTraitTest | class | core/ |
Tests the TestSetupTrait trait. |
| TestSetupTraitTest.php | file | core/ |
|
| TestSetupTraitTest::testChangeDatabasePrefix | function | core/ |
Tests the SIMPLETEST_DB environment variable is used. |
| TestSiteApplication | class | core/ |
Application wrapper for test site commands. |
| TestSiteApplication.php | file | core/ |
|
| TestSiteApplication::getDefaultCommands | function | core/ |
|
| TestSiteApplicationTest | class | core/ |
Tests core/scripts/test-site.php. |
| TestSiteApplicationTest.php | file | core/ |
|
| TestSiteApplicationTest::$php | property | core/ |
The PHP executable path. |
| TestSiteApplicationTest::addTestDatabase | function | core/ |
Adds the installed test site to the database connection info. |
| TestSiteApplicationTest::getTestLockFile | function | core/ |
Gets the lock file path. |
| TestSiteApplicationTest::setUp | function | core/ |
|
| TestSiteApplicationTest::testInstallInDifferentLanguage | function | core/ |
@coversNothing[[api-linebreak]] |
| TestSiteApplicationTest::testInstallScript | function | core/ |
@coversNothing[[api-linebreak]] |
| TestSiteApplicationTest::testInstallWithFileWithNoClass | function | core/ |
@coversNothing[[api-linebreak]] |
| TestSiteApplicationTest::testInstallWithNonExistingFile | function | core/ |
@coversNothing[[api-linebreak]] |
| TestSiteApplicationTest::testInstallWithNonSetupClass | function | core/ |
@coversNothing[[api-linebreak]] |
| TestSiteApplicationTest::testTearDownDbPrefixValidation | function | core/ |
@coversNothing[[api-linebreak]] |
| TestSiteApplicationTest::testUserLogin | function | core/ |
@coversNothing[[api-linebreak]] |
| TestSiteInstallCommand | class | core/ |
Command to create a test Drupal site. |
| TestSiteInstallCommand.php | file | core/ |
|
| TestSiteInstallCommand::$baseUrl | property | core/ |
The base URL. |
| TestSiteInstallCommand::$configImporter | property | core/ |
The config importer that can be used in a test. |
| TestSiteInstallCommand::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TestSiteInstallCommand::$langcode | property | core/ |
The language to install the site in. |
| TestSiteInstallCommand::$originalShutdownCallbacks | property | core/ |
The original array of shutdown function callbacks. |
| TestSiteInstallCommand::$profile | property | core/ |
The install profile to use. |
| TestSiteInstallCommand::$timeLimit | property | core/ |
Time limit in seconds for the test. |
| TestSiteInstallCommand::$translationFilesDirectory | property | core/ |
The translation file directory for the test environment. |
| TestSiteInstallCommand::changeDatabasePrefix | function | core/ |
Pagination
- Previous page
- Page 1264
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.