50 calls to Database::getConnection()

AliasTest::testCRUD in drupal/core/modules/system/lib/Drupal/system/Tests/Path/AliasTest.php
AliasTest::testLookupPath in drupal/core/modules/system/lib/Drupal/system/Tests/Path/AliasTest.php
AliasTest::testWhitelist in drupal/core/modules/system/lib/Drupal/system/Tests/Path/AliasTest.php
Tests the alias whitelist.
ConnectionTest::testConnectionClosing in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionTest.php
Tests the closing of a database connection.
ConnectionTest::testConnectionOptions in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionTest.php
Tests the connection options of the active database.
ConnectionTest::testConnectionRouting in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionTest::testConnectionRoutingOverride in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionUnitTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionUnitTest.php
Sets up unit test environment.
ConnectionUnitTest::testConnectionOpen in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionUnitTest.php
Tests pdo options override.
ConnectionUnitTest::testConnectionSerialization in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionUnitTest.php
Tests the serialization and unserialization of a database connection.
ConnectionUnitTest::testOpenClose in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionUnitTest.php
Tests Database::closeConnection() without query.
ConnectionUnitTest::testOpenQueryClose in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a query.
ConnectionUnitTest::testOpenQueryPrefetchClose in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a query and custom prefetch method.
ConnectionUnitTest::testOpenSelectQueryClose in drupal/core/modules/system/lib/Drupal/system/Tests/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a select query.
DatabaseExceptionWrapperTest::testDatabaseExceptionWrapper in drupal/core/modules/system/lib/Drupal/system/Tests/Database/DatabaseExceptionWrapperTest.php
form_test_form_state_database in drupal/core/modules/system/tests/modules/form_test/form_test.module
Builds a form which gets the database connection stored in the form state.
GarbageCollectionTest::testGarbageCollection in drupal/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/GarbageCollectionTest.php
Tests garbage collection.
IgnoreSlaveSubscriberTest::testSystemInitIgnoresSlaves in drupal/core/modules/system/lib/Drupal/system/Tests/System/IgnoreSlaveSubscriberTest.php
Tests \Drupal\Core\EventSubscriber\SlaveDatabaseIgnoreSubscriber::checkSlaveServer().
MatcherDumperTest::testAddAdditionalRoutes in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
Confirms that we can add routes to the dumper when it already has some.
MatcherDumperTest::testAddRoutes in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
Confirms that we can add routes to the dumper.
MatcherDumperTest::testCreate in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
Confirms that the dumper can be instantiated successfuly.
MatcherDumperTest::testDump in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
Confirm that we can dump a route collection to the database.
PathUnitTestBase::tearDown in drupal/core/modules/system/lib/Drupal/system/Tests/Path/PathUnitTestBase.php
Deletes created files, database tables, and reverts all environment changes.
Query::__wakeup in drupal/core/lib/Drupal/Core/Database/Query/Query.php
Implements the magic __wakeup function to reconnect to the database.
QueueTest::testSystemQueue in drupal/core/modules/system/lib/Drupal/system/Tests/Queue/QueueTest.php
Tests the System queue.
RouteProviderTest::tearDown in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Deletes created files, database tables, and reverts all environment changes.
RouteProviderTest::testCandidateOutlines in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Confirms that the correct candidate outlines are generated.
RouteProviderTest::testExactPathMatch in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Confirms that we can find routes with the exact incoming path.
RouteProviderTest::testOutlinePathMatch in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaults in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision2 in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchTrailingSlash in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Confirms that a trailing slash on the request doesn't result in a 404.
RouteProviderTest::testOutlinePathMatchZero in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Tests a route with a 0 as value.
RouteProviderTest::testOutlinePathNoMatch in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Confirms that an exception is thrown when no matching path is found.
RouteProviderTest::testRouteByName in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Test RouteProvider::getRouteByName() and RouteProvider::getRoutesByNames().
RouteProviderTest::testSystemPathMatch in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php
Confirms that system_path attribute overrides request path.
Tasks::checkBinaryOutput in drupal/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check Binary Output.
Tasks::connect in drupal/core/lib/Drupal/Core/Database/Install/Tasks.php
Check if we can connect to the database.
Tasks::connect in drupal/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
Check database connection and attempt to create database if the database is missing.
Tasks::connect in drupal/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php
Check database connection and attempt to create database if the database is missing.
Tasks::connect in drupal/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check database connection and attempt to create database if the database is missing.
TempStoreDatabaseTest::testUserTempStore in drupal/core/modules/user/lib/Drupal/user/Tests/TempStoreDatabaseTest.php
Tests the UserTempStore API.
TestBase::getDatabaseConnection in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
Returns the database connection to the site running Simpletest.
TransactionTest::testTransactionStacking in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Tests transaction stacking, commit, and rollback.
TransactionTest::transactionInnerLayer in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Creates an "inner layer" transaction.
TransactionTest::transactionOuterLayer in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Encapsulates a transaction's "inner layer" with an "outer layer".
UserSelection::entityQueryAlter in drupal/core/modules/user/lib/Drupal/user/Plugin/entity_reference/selection/UserSelection.php
Overrides SelectionBase::entityQueryAlter().
ViewUI::renderPreview in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
_batch_queue in drupal/core/includes/form.inc
Returns a queue object for a batch set.