Search for database
- Search 7.x for database
- Search 9.5.x for database
- Search 10.3.x for database
- Search 11.x for database
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| database | service | core/ |
Drupal\Core\Database\Connection |
| Database | class | core/ |
Primary front-controller for the database system. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| TempStoreDatabaseTest::$users | property | core/ |
An array of (fake) user IDs. |
| TempStoreDatabaseTest::setUp | function | core/ |
|
| TempStoreDatabaseTest::setUp | function | core/ |
|
| TempStoreDatabaseTest::testSharedTempStore | function | core/ |
Tests the SharedTempStore API. |
| TempStoreDatabaseTest::testUserTempStore | function | core/ |
Tests the UserTempStore API. |
| TempstoreKeyUpdatePathTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
| TestBase::$databasePrefix | property | core/ |
The database prefix of this test run. |
| TestBase::getDatabasePrefix | function | core/ |
Gets the database prefix. |
| TestBase::prepareDatabasePrefix | function | core/ |
Generates a database prefix for running tests. |
| TestDatabase | class | core/ |
Provides helper methods for interacting with the fixture database. |
| TestDatabase.php | file | core/ |
|
| TestDatabase::$databasePrefix | property | core/ |
The test database prefix. |
| TestDatabase::$lockId | property | core/ |
A random number used to ensure that test fixtures are unique to each test method. |
| TestDatabase::getConnection | function | core/ |
Returns the database connection to the site running Simpletest. |
| TestDatabase::getDatabasePrefix | function | core/ |
Gets the test database prefix. |
| TestDatabase::getLockFile | function | core/ |
Gets the lock file path. |
| TestDatabase::getTestLock | function | core/ |
Generates a unique lock ID for the test method. |
| TestDatabase::getTestSitePath | function | core/ |
Gets the relative path to the test site directory. |
| TestDatabase::insertAssert | function | core/ |
Store an assertion from outside the testing context. |
| TestDatabase::lastTestGet | function | core/ |
Get information about the last test that ran given a test ID. |
| TestDatabase::logRead | function | core/ |
Reads the error log and reports any errors as assertion failures. |
| TestDatabase::processPhpUnitResults | function | core/ |
Inserts the parsed PHPUnit results into {simpletest}. |
| TestDatabase::releaseAllTestLocks | function | core/ |
Releases all test locks. |
| TestDatabase::releaseLock | function | core/ |
Releases a lock. |
| TestDatabase::testingSchema | function | core/ |
Defines the database schema for run-tests.sh and simpletest module. |
| TestDatabase::__construct | function | core/ |
TestDatabase constructor. |
| TestDatabaseTest | class | core/ |
@coversDefaultClass \Drupal\Core\Test\TestDatabase[[api-linebreak]] |
| TestDatabaseTest.php | file | core/ |
|
| TestDatabaseTest::providerTestConstructor | function | core/ |
Data provider for self::testConstructor() |
| TestDatabaseTest::testConstructor | function | core/ |
@covers ::__construct[[api-linebreak]] @covers ::getDatabasePrefix[[api-linebreak]] @covers ::getTestSitePath[[api-linebreak]] |
| TestDatabaseTest::testConstructorException | function | core/ |
@covers ::__construct[[api-linebreak]] |
| TestDatabaseTest::testConstructorNullPrefix | function | core/ |
Verify that a test lock is generated if there is no provided prefix. |
| TestDrupal6SqlBase::setDatabase | function | core/ |
Tweaks Drupal6SqlBase to set a new database connection for tests. |
| TestDrupalSqlBase::setDatabase | function | core/ |
Tweaks DrupalSqlBase to set a new database connection for tests. |
| TestSetupTrait::changeDatabasePrefix | function | core/ |
Changes the database connection to the prefixed one. |
| 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::testChangeDatabasePrefix | function | core/ |
Tests the SIMPLETEST_DB environment variable is used. |
| TestSiteApplicationTest::addTestDatabase | function | core/ |
Adds the installed test site to the database connection info. |
| TestSiteInstallCommand::$databasePrefix | property | core/ |
The database prefix of this test run. |
| TestSiteInstallCommand::changeDatabasePrefix | function | core/ |
|
| TestSiteInstallCommand::prepareDatabasePrefix | function | core/ |
Generates a database prefix for running tests. |
| TestSqlBase::$database | property | core/ |
The database object. |
| TestSqlBase::getDatabase | function | core/ |
Gets the database connection object. |
| TestSqlBase::getDatabase | function | core/ |
Gets the database without caching it. |
| TestSqlBase::setDatabase | function | core/ |
Allows us to set the database during tests. |
| TestSqlIdMap::getDatabase | function | core/ |
Gets the database connection. |
| TestTestDatabase | class | core/ |
Stub class supports TestDatabaseTest::testConstructorNullPrefix(). |
| TestTestDatabase::getTestLock | function | core/ |
Generates a unique lock ID for the test method. |
| TextRequiredSummaryUpdateTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
Pagination
- Previous page
- Page 16
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.