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. Search main for all
  6. Other projects
Title Object type File name Summary
TestControllers::testNodeSetParent function core/modules/system/tests/modules/paramconverter_test/src/TestControllers.php
TestControllers::testRouteName function core/modules/system/tests/modules/router_test_directory/src/TestControllers.php
TestControllers::testSession function core/modules/system/tests/modules/menu_test/src/TestControllers.php Prints out test data.
TestControllers::testUserNodeFoo function core/modules/system/tests/modules/paramconverter_test/src/TestControllers.php
TestControllers::throwException function core/modules/system/tests/modules/router_test_directory/src/TestControllers.php Throws an exception.
TestCoverageTest class core/modules/jsonapi/tests/src/Kernel/TestCoverageTest.php Checks that all core content/config entity types have JSON:API test coverage.
TestCoverageTest.php file core/modules/jsonapi/tests/src/Kernel/TestCoverageTest.php
TestCoverageTest::$definitions property core/modules/jsonapi/tests/src/Kernel/TestCoverageTest.php Entity definitions array.
TestCoverageTest::$modules property core/modules/jsonapi/tests/src/Kernel/TestCoverageTest.php Modules to enable.
TestCoverageTest::setUp function core/modules/jsonapi/tests/src/Kernel/TestCoverageTest.php
TestCoverageTest::testEntityTypeRestTestCoverage function core/modules/jsonapi/tests/src/Kernel/TestCoverageTest.php Tests that all core entity types have JSON:API test coverage.
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 The test lock ID.
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.

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