Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 11.x for test
  5. 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
TestRun class core/lib/Drupal/Core/Test/TestRun.php Implements an object that tracks execution of a test run.
TestRun.php file core/lib/Drupal/Core/Test/TestRun.php
TestRun::$databasePrefix property core/lib/Drupal/Core/Test/TestRun.php The test database prefix.
TestRun::$testClass property core/lib/Drupal/Core/Test/TestRun.php The latest class under test.
TestRun::createNew function core/lib/Drupal/Core/Test/TestRun.php Returns a new test run object.
TestRun::get function core/lib/Drupal/Core/Test/TestRun.php Returns a test run object from storage.
TestRun::getDatabasePrefix function core/lib/Drupal/Core/Test/TestRun.php Gets the test database prefix.
TestRun::getLogEntriesByTestClass function core/lib/Drupal/Core/Test/TestRun.php Get test results for a test run, ordered by test class.
TestRun::getTestClass function core/lib/Drupal/Core/Test/TestRun.php Gets the latest class under test.
TestRun::id function core/lib/Drupal/Core/Test/TestRun.php Returns the id of the test run object.
TestRun::insertLogEntry function core/lib/Drupal/Core/Test/TestRun.php Adds a test log entry.
TestRun::processPhpErrorLogFile function core/lib/Drupal/Core/Test/TestRun.php Reads the PHP error log and reports any errors as assertion failures.
TestRun::removeResults function core/lib/Drupal/Core/Test/TestRun.php Removes the test results from the storage.
TestRun::setDatabasePrefix function core/lib/Drupal/Core/Test/TestRun.php Sets the test database prefix.
TestRun::__construct function core/lib/Drupal/Core/Test/TestRun.php TestRun constructor.
TestRunnerKernel class core/lib/Drupal/Core/Test/TestRunnerKernel.php Defines a kernel used for running Functional tests and run-tests.sh.
TestRunnerKernel.php file core/lib/Drupal/Core/Test/TestRunnerKernel.php
TestRunnerKernel::boot function core/lib/Drupal/Core/Test/TestRunnerKernel.php Boots the current kernel.
TestRunnerKernel::createFromRequest function core/lib/Drupal/Core/Test/TestRunnerKernel.php Create a DrupalKernel object from a request.
TestRunnerKernel::discoverServiceProviders function core/lib/Drupal/Core/Test/TestRunnerKernel.php Discovers available serviceProviders.
TestRunnerKernel::__construct function core/lib/Drupal/Core/Test/TestRunnerKernel.php Constructs a DrupalKernel object.
TestRunResultsStorageInterface interface core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Interface describing a test run results storage object.
TestRunResultsStorageInterface.php file core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php
TestRunResultsStorageInterface::buildTestingResultsEnvironment function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Prepares the test run storage.
TestRunResultsStorageInterface::cleanUp function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Resets the test run storage.
TestRunResultsStorageInterface::createNew function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Gets a new unique identifier for a test run.
TestRunResultsStorageInterface::getCurrentTestRunState function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Get state information about a test run, from storage.
TestRunResultsStorageInterface::getLogEntriesByTestClass function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Get test results for a test run, ordered by test class.
TestRunResultsStorageInterface::insertLogEntry function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Adds a test log entry for a test run to the storage.
TestRunResultsStorageInterface::removeResults function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Removes the results of a test run from the storage.
TestRunResultsStorageInterface::setDatabasePrefix function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Sets the test database prefix of a test run in storage.
TestRunResultsStorageInterface::validateTestingResultsEnvironment function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Checks if the test run storage is valid.
TestRunTest class core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php @coversDefaultClass \Drupal\Core\Test\TestRun[[api-linebreak]]
@group Test
TestRunTest.php file core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php
TestRunTest::$connection property core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php The database connection for testing.
TestRunTest::$testRunResultsStorage property core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php The test run results storage.
TestRunTest::getTestLogEntry function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php Returns a sample test run log entry.
TestRunTest::setUp function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php
TestRunTest::testCreateAndGet function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php @covers ::createNew[[api-linebreak]]
@covers ::get[[api-linebreak]]
@covers ::id[[api-linebreak]]
@covers ::insertLogEntry[[api-linebreak]]
@covers ::setDatabasePrefix[[api-linebreak]]
@covers ::getDatabasePrefix[[api-linebreak]]
@covers…
TestRunTest::testCreateAndRemove function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php @covers ::createNew[[api-linebreak]]
@covers ::id[[api-linebreak]]
@covers ::insertLogEntry[[api-linebreak]]
@covers ::setDatabasePrefix[[api-linebreak]]
TestRunTest::testGetLogEntriesByTestClass function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php @covers ::createNew[[api-linebreak]]
@covers ::insertLogEntry[[api-linebreak]]
@covers ::setDatabasePrefix[[api-linebreak]]
@covers ::getLogEntriesByTestClass[[api-linebreak]]
@covers ::getDatabasePrefix[[api-linebreak]]
@covers…
TestRunTest::testProcessPhpErrorLogFile function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php @covers ::createNew[[api-linebreak]]
@covers ::setDatabasePrefix[[api-linebreak]]
@covers ::processPhpErrorLogFile[[api-linebreak]]
@covers ::getLogEntriesByTestClass[[api-linebreak]]
TestRunTest::testProcessPhpUnitResults function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php @covers ::insertLogEntry[[api-linebreak]]
TestSearchPage class core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php
TestSearchPage::label function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Gets the label of the entity.
TestSearchPage::__construct function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Constructs an Entity object.
TestSectionList class core/modules/layout_builder/tests/src/Kernel/SectionListTraitTest.php
TestSectionList::$sections property core/modules/layout_builder/tests/src/Kernel/SectionListTraitTest.php An array of sections.
TestSectionList::getSections function core/modules/layout_builder/tests/src/Kernel/SectionListTraitTest.php Gets the layout sections.
TestSectionList::setSections function core/modules/layout_builder/tests/src/Kernel/SectionListTraitTest.php Stores the information for all sections.

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