Search for test

  1. Search 9.5.x for test
  2. Search 8.9.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Other projects
Title Object type File name Summary
DatabaseInsertTestCase::testInsertSelectFields function modules/simpletest/tests/database_test.test Test that the INSERT INTO ... SELECT (fields) ... syntax works.
DatabaseInsertTestCase::testMultiInsert function modules/simpletest/tests/database_test.test Test that we can insert multiple records in one query object.
DatabaseInsertTestCase::testRepeatedInsert function modules/simpletest/tests/database_test.test Test that an insert object can be reused with new data after it executes.
DatabaseInsertTestCase::testSimpleInsert function modules/simpletest/tests/database_test.test Test the very basic insert functionality.
DatabaseInvalidDataTestCase class modules/simpletest/tests/database_test.test Test invalid data handling.
DatabaseInvalidDataTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseInvalidDataTestCase::setUp function modules/simpletest/tests/database_test.test Sets up a Drupal site for running functional and integration tests.
DatabaseInvalidDataTestCase::testInsertDuplicateData function modules/simpletest/tests/database_test.test Traditional SQL database systems abort inserts when invalid data is encountered.
DatabaseLoggingTestCase class modules/simpletest/tests/database_test.test Query logging tests.
DatabaseLoggingTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseLoggingTestCase::testEnableLogging function modules/simpletest/tests/database_test.test Test that we can log the existence of a query.
DatabaseLoggingTestCase::testEnableMultiConnectionLogging function modules/simpletest/tests/database_test.test Test that we can log queries separately on different connections.
DatabaseLoggingTestCase::testEnableMultiLogging function modules/simpletest/tests/database_test.test Test that we can run two logs in parallel.
DatabaseLoggingTestCase::testEnableTargetLogging function modules/simpletest/tests/database_test.test Test that we can log queries against multiple targets on the same connection.
DatabaseLoggingTestCase::testEnableTargetLoggingNoTarget function modules/simpletest/tests/database_test.test Test that logs to separate targets collapse to the same connection properly.
DatabaseMergeTestCase class modules/simpletest/tests/database_test.test Test the MERGE query builder.
DatabaseMergeTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseMergeTestCase::testInvalidMerge function modules/simpletest/tests/database_test.test Test that an invalid merge query throws an exception like it is supposed to.
DatabaseMergeTestCase::testMergeInsert function modules/simpletest/tests/database_test.test Confirm that we can merge-insert a record successfully.
DatabaseMergeTestCase::testMergeInsertWithoutUpdate function modules/simpletest/tests/database_test.test Test that we can merge-insert without any update fields.
DatabaseMergeTestCase::testMergeUpdate function modules/simpletest/tests/database_test.test Confirm that we can merge-update a record successfully.
DatabaseMergeTestCase::testMergeUpdateExcept function modules/simpletest/tests/database_test.test Confirm that we can merge-update a record successfully, with different insert and update.
DatabaseMergeTestCase::testMergeUpdateExplicit function modules/simpletest/tests/database_test.test Confirm that we can merge-update a record successfully, with alternate replacement.
DatabaseMergeTestCase::testMergeUpdateExpression function modules/simpletest/tests/database_test.test Confirm that we can merge-update a record successfully, with expressions.
DatabaseMergeTestCase::testMergeUpdateWithoutUpdate function modules/simpletest/tests/database_test.test Confirm that we can merge-update without any update fields.
DatabaseNextIdCase::testDbNextId function modules/simpletest/tests/database_test.test Test that the sequences API work.
DatabaseQueryTestCase class modules/simpletest/tests/database_test.test Drupal-specific SQL syntax tests.
DatabaseQueryTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseQueryTestCase::setUp function modules/simpletest/tests/database_test.test Sets up a Drupal site for running functional and integration tests.
DatabaseQueryTestCase::testArrayArgumentsSQLInjection function modules/simpletest/tests/database_test.test Test SQL injection via database query array arguments.
DatabaseQueryTestCase::testArraySubstitution function modules/simpletest/tests/database_test.test Test that we can specify an array of values in the query by simply passing in an array.
DatabaseQueryTestCase::testConditionOperatorArgumentsSQLInjection function modules/simpletest/tests/database_test.test Tests SQL injection via condition operator.
DatabaseRangeQueryTestCase class modules/simpletest/tests/database_test.test Range query tests.
DatabaseRangeQueryTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseRangeQueryTestCase::setUp function modules/simpletest/tests/database_test.test Sets up a Drupal site for running functional and integration tests.
DatabaseRangeQueryTestCase::testRangeQuery function modules/simpletest/tests/database_test.test Confirm that range query work and return correct result.
DatabaseRegressionTestCase class modules/simpletest/tests/database_test.test Regression tests.
DatabaseRegressionTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseRegressionTestCase::testDBFieldExists function modules/simpletest/tests/database_test.test Test the db_field_exists() function.
DatabaseRegressionTestCase::testDBIndexExists function modules/simpletest/tests/database_test.test Test the db_index_exists() function.
DatabaseRegressionTestCase::testDBTableExists function modules/simpletest/tests/database_test.test Test the db_table_exists() function.
DatabaseRegressionTestCase::testRegression_310447 function modules/simpletest/tests/database_test.test Regression test for #310447.
DatabaseReservedKeywordTestCase class modules/simpletest/tests/database_test.test Test reserved keyword handling (introduced for MySQL 8+)
DatabaseReservedKeywordTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseReservedKeywordTestCase::setUp function modules/simpletest/tests/database_test.test Sets up a Drupal site for running functional and integration tests.
DatabaseReservedKeywordTestCase::testDeleteReservedWordTable function modules/simpletest/tests/database_test.test
DatabaseReservedKeywordTestCase::testInsertReservedWordTable function modules/simpletest/tests/database_test.test
DatabaseReservedKeywordTestCase::testMergeReservedWordTable function modules/simpletest/tests/database_test.test
DatabaseReservedKeywordTestCase::testSelectReservedWordAliasAllFields function modules/simpletest/tests/database_test.test
DatabaseReservedKeywordTestCase::testSelectReservedWordAliasCount function modules/simpletest/tests/database_test.test

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