class TestTestDatabase
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestTestDatabase
- 8.9.x core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestTestDatabase
- 10 core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestTestDatabase
Stub class supports TestDatabaseTest::testConstructorNullPrefix().
Hierarchy
- class \Drupal\Core\Test\TestDatabase
- class \Drupal\Tests\Core\Test\TestTestDatabase extends \Drupal\Core\Test\TestDatabase
Expanded class hierarchy of TestTestDatabase
File
-
core/
tests/ Drupal/ Tests/ Core/ Test/ TestDatabaseTest.php, line 76
Namespace
Drupal\Tests\Core\TestView source
class TestTestDatabase extends TestDatabase {
protected function getTestLock(bool $create_lock = FALSE) : int {
return 23;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
TestDatabase::$databasePrefix | protected | property | The test database prefix. | |
TestDatabase::$lockId | protected | property | The test lock ID. | |
TestDatabase::getDatabasePrefix | public | function | Gets the test database prefix. | |
TestDatabase::getLockFile | protected | function | Gets the lock file path. | |
TestDatabase::getPhpErrorLogPath | public | function | Gets the file path of the PHP error log of the test. | |
TestDatabase::getTestSitePath | public | function | Gets the relative path to the test site directory. | |
TestDatabase::releaseAllTestLocks | public static | function | Releases all test locks. | |
TestDatabase::releaseLock | public | function | Releases a lock. | |
TestDatabase::__construct | public | function | TestDatabase constructor. | |
TestTestDatabase::getTestLock | protected | function | Overrides TestDatabase::getTestLock |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.