Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
TestDatabase class core/lib/Drupal/Core/Test/TestDatabase.php Provides helper methods for interacting with the fixture database.
TestDatabase.php file core/lib/Drupal/Core/Test/TestDatabase.php
TestDatabase::$databasePrefix property core/lib/Drupal/Core/Test/TestDatabase.php The test database prefix.
TestDatabase::$lockId property core/lib/Drupal/Core/Test/TestDatabase.php A random number used to ensure that test fixtures are unique to each test
method.
TestDatabase::getConnection function core/lib/Drupal/Core/Test/TestDatabase.php Returns the database connection to the site running Simpletest.
TestDatabase::getDatabasePrefix function core/lib/Drupal/Core/Test/TestDatabase.php Gets the test database prefix.
TestDatabase::getLockFile function core/lib/Drupal/Core/Test/TestDatabase.php Gets the lock file path.
TestDatabase::getTestLock function core/lib/Drupal/Core/Test/TestDatabase.php Generates a unique lock ID for the test method.
TestDatabase::getTestSitePath function core/lib/Drupal/Core/Test/TestDatabase.php Gets the relative path to the test site directory.
TestDatabase::insertAssert function core/lib/Drupal/Core/Test/TestDatabase.php Store an assertion from outside the testing context.
TestDatabase::lastTestGet function core/lib/Drupal/Core/Test/TestDatabase.php Get information about the last test that ran given a test ID.
TestDatabase::logRead function core/lib/Drupal/Core/Test/TestDatabase.php Reads the error log and reports any errors as assertion failures.
TestDatabase::processPhpUnitResults function core/lib/Drupal/Core/Test/TestDatabase.php Inserts the parsed PHPUnit results into {simpletest}.
TestDatabase::releaseAllTestLocks function core/lib/Drupal/Core/Test/TestDatabase.php Releases all test locks.
TestDatabase::releaseLock function core/lib/Drupal/Core/Test/TestDatabase.php Releases a lock.
TestDatabase::testingSchema function core/lib/Drupal/Core/Test/TestDatabase.php Defines the database schema for run-tests.sh and simpletest module.
TestDatabase::__construct function core/lib/Drupal/Core/Test/TestDatabase.php TestDatabase constructor.
TestDatabaseTest class core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @coversDefaultClass \Drupal\Core\Test\TestDatabase[[api-linebreak]]
TestDatabaseTest.php file core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php
TestDatabaseTest::providerTestConstructor function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php Data provider for self::testConstructor()
TestDatabaseTest::testConstructor function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @covers ::__construct[[api-linebreak]]
@covers ::getDatabasePrefix[[api-linebreak]]
@covers ::getTestSitePath[[api-linebreak]]
TestDatabaseTest::testConstructorException function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @covers ::__construct[[api-linebreak]]
TestDatabaseTest::testConstructorNullPrefix function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php Verify that a test lock is generated if there is no provided prefix.
TestDataConverter class core/modules/rdf/tests/rdf_test/src/TestDataConverter.php Contains methods for test data conversions.
TestDataConverter.php file core/modules/rdf/tests/rdf_test/src/TestDataConverter.php
TestDataConverter::convertFoo function core/modules/rdf/tests/rdf_test/src/TestDataConverter.php Converts data into a string for placement into a content attribute.
TestDataType class core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php Provides a test data type.
TestDataType.php file core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php
TestDataType::$value property core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php Required by the parent class.
TestDataTypeDeriver class core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php Provides a deriver that returns a plugin for the bare ID and one variant.
TestDataTypeDeriver.php file core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php
TestDataTypeDeriver::getDerivativeDefinitions function core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php Gets the definition of all derivatives of a base plugin.
TestDefaultExceptionSubscriber class core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php
TestDefaultExceptionSubscriber::isErrorDisplayable function core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php Wrapper for error_displayable().
TestDefaultExceptionSubscriber::isErrorLevelVerbose function core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php Checks whether the error level is verbose or not.
TestDefaultExceptionSubscriber::simplifyFileInError function core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php Attempts to reduce error verbosity in the error message's file path.
TestDefaultHtmlRouteProvider class core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
TestDefaultHtmlRouteProvider::getAddFormRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php Gets the add-form route.
TestDefaultHtmlRouteProvider::getAddPageRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php Gets the add page route.
TestDefaultHtmlRouteProvider::getCanonicalRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php Gets the canonical route.
TestDefaultHtmlRouteProvider::getCollectionRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php Gets the collection route.
TestDefaultHtmlRouteProvider::getEntityTypeIdKeyType function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php Gets the type of the ID key for a given entity type.
TestDefaultTableMapping class core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Extends DefaultTableMapping to allow calling its protected methods.
TestDefaultTableMapping::setExtraColumns function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Adds a extra columns for a table to the table mapping.
TestDefaultTableMapping::setFieldNames function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Adds field columns for a table to the table mapping.
TestDeprecatedTestHooks class core/modules/simpletest/tests/src/Kernel/TestDeprecatedTestHooks.php Test the deprecation messages for Simpletest test hooks.
TestDeprecatedTestHooks.php file core/modules/simpletest/tests/src/Kernel/TestDeprecatedTestHooks.php
TestDeprecatedTestHooks::$modules property core/modules/simpletest/tests/src/Kernel/TestDeprecatedTestHooks.php Modules to enable.
TestDeprecatedTestHooks::testHookTestFinished function core/modules/simpletest/tests/src/Kernel/TestDeprecatedTestHooks.php @expectedDeprecation The deprecated hook hook_test_finished() is implemented in these functions: simpletest_deprecation_test_test_finished(). Convert your test to a PHPUnit-based one and implement test listeners. See https://www.drupal.org/node/2934242
TestDeprecatedTestHooks::testHookTestGroupFinished function core/modules/simpletest/tests/src/Kernel/TestDeprecatedTestHooks.php @expectedDeprecation The deprecated hook hook_test_group_finished() is implemented in these functions: simpletest_deprecation_test_test_group_finished(). Convert your test to a PHPUnit-based one and implement test listeners. See…

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