Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Search main for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
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/Functional/TestCoverageTest.php Checks that all core content/config entity types have JSON:API test coverage.
TestCoverageTest.php file core/modules/jsonapi/tests/src/Functional/TestCoverageTest.php
TestCoverageTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/TestCoverageTest.php The theme to install as the default for testing.
TestCoverageTest::$definitions property core/modules/jsonapi/tests/src/Functional/TestCoverageTest.php Entity definitions array.
TestCoverageTest::getLlamaMessage function core/modules/jsonapi/tests/src/Functional/TestCoverageTest.php Message from Llama.
TestCoverageTest::setUp function core/modules/jsonapi/tests/src/Functional/TestCoverageTest.php
TestCoverageTest::testEntityTypeRestTestCoverage function core/modules/jsonapi/tests/src/Functional/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 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.

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