Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
ConnectionTest class core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php MySQL-specific connection tests.
ConnectionTest.php file core/modules/mysql/tests/src/Unit/ConnectionTest.php
ConnectionTest.php file core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php
ConnectionTest.php file core/modules/sqlite/tests/src/Unit/ConnectionTest.php
ConnectionTest.php file core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
ConnectionTest.php file core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
ConnectionTest::$pdoConnection property core/modules/mysql/tests/src/Unit/ConnectionTest.php A PDO object prophecy.
ConnectionTest::$pdoStatement property core/modules/mysql/tests/src/Unit/ConnectionTest.php A PDO statement prophecy.
ConnectionTest::createConnection function core/modules/mysql/tests/src/Unit/ConnectionTest.php Creates a Connection object for testing.
ConnectionTest::provideQueriesToTrim function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testQueryTrim().
ConnectionTest::providerCreateConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php Data provider for testCreateConnectionOptionsFromUrl.
ConnectionTest::providerEscapeAlias function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeAlias.
ConnectionTest::providerEscapeDatabase function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeDatabase.
ConnectionTest::providerEscapeFields function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeField.
ConnectionTest::providerEscapeTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeTable.
ConnectionTest::providerFilterComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testFilterComments().
ConnectionTest::providerGetDriverClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testGetDriverClass().
ConnectionTest::providerMakeComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testMakeComments().
ConnectionTest::providerPrefixRoundTrip function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testPrefixRoundTrip().
ConnectionTest::providerSchema function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testSchema().
ConnectionTest::providerTestPrefixTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testPrefixTables().
ConnectionTest::providerVersionAndIsMariaDb function core/modules/mysql/tests/src/Unit/ConnectionTest.php Provides test data.
ConnectionTest::setUp function core/modules/mysql/tests/src/Unit/ConnectionTest.php
ConnectionTest::testCondition function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that the method ::condition() returns a Condition object.
ConnectionTest::testConnectionClosing function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the closing of a database connection.
ConnectionTest::testConnectionOptions function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the connection options of the active database.
ConnectionTest::testConnectionRouting function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that connections return appropriate connection objects.
ConnectionTest::testConnectionRoutingOverride function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that connections return appropriate connection objects.
ConnectionTest::testCreateConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php @covers ::createConnectionOptionsFromUrl[[api-linebreak]]
@dataProvider providerCreateConnectionOptionsFromUrl
ConnectionTest::testDestroy function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::destroy().
ConnectionTest::testDestructBcLayer function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::__destruct().
ConnectionTest::testEscapeAlias function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeAlias[[api-linebreak]]
@dataProvider providerEscapeAlias
ConnectionTest::testEscapeDatabase function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeDatabase[[api-linebreak]]
@dataProvider providerEscapeDatabase
ConnectionTest::testEscapeField function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeField[[api-linebreak]]
@dataProvider providerEscapeFields
ConnectionTest::testEscapeTable function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeTable[[api-linebreak]]
@dataProvider providerEscapeTables
ConnectionTest::testFilterComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::filterComments().
ConnectionTest::testGetDriverClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::getDriverClass[[api-linebreak]]
@dataProvider providerGetDriverClass
ConnectionTest::testHasJson function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that the method ::hasJson() returns TRUE.
ConnectionTest::testIdentifierQuotesAssertCount function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct[[api-linebreak]]
ConnectionTest::testIdentifierQuotesAssertString function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct[[api-linebreak]]
ConnectionTest::testIdentifierQuotesDeprecation function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct[[api-linebreak]]
@group legacy
ConnectionTest::testLegacyDatabaseDriverInRootDriversDirectory function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests the deprecation of Drupal 8 style database drivers.
ConnectionTest::testMakeComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::makeComments().
ConnectionTest::testMultipleStatements function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Ensure that you cannot prepare multiple statements.
ConnectionTest::testMultipleStatementsForNewPhp function core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php Ensure that you cannot execute multiple statements on MySQL.
ConnectionTest::testMultipleStatementsQuery function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Ensure that you cannot execute multiple statements in a query.
ConnectionTest::testNamespaceDefault function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct[[api-linebreak]]
ConnectionTest::testPdoStatementClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests the deprecation of \Drupal\Core\Database\Connection::$statementClass.
ConnectionTest::testPDOStatementQueryDeprecation function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the deprecation of passing a PDOStatement object to ::query.
ConnectionTest::testPerTablePrefixOption function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests per-table prefix connection option.

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