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
SimpletestTestRunResultsStorage::getConnection function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Returns the database connection to use for inserting assertions.
SimpletestTestRunResultsStorage::getCurrentTestRunState function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Get state information about a test run, from storage.
SimpletestTestRunResultsStorage::getLogEntriesByTestClass function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Get test results for a test run, ordered by test class.
SimpletestTestRunResultsStorage::insertLogEntry function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Adds a test log entry for a test run to the storage.
SimpletestTestRunResultsStorage::removeResults function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Removes the results of a test run from the storage.
SimpletestTestRunResultsStorage::setDatabasePrefix function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Sets the test database prefix of a test run in storage.
SimpletestTestRunResultsStorage::testingResultsSchema function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Defines the database schema for run-tests.sh and simpletest module.
SimpletestTestRunResultsStorage::validateTestingResultsEnvironment function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Checks if the test run storage is valid.
SimpletestTestRunResultsStorage::__construct function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php SimpletestTestRunResultsStorage constructor.
SimpletestTestRunResultsStorageTest class core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php @coversDefaultClass \Drupal\Core\Test\SimpletestTestRunResultsStorage[[api-linebreak]]
@group Test
SimpletestTestRunResultsStorageTest.php file core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php
SimpletestTestRunResultsStorageTest::$connection property core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php The database connection for testing.
SimpletestTestRunResultsStorageTest::$testRunResultsStorage property core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php The test run results storage.
SimpletestTestRunResultsStorageTest::getTestLogEntry function core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php Returns a sample test run log entry.
SimpletestTestRunResultsStorageTest::setUp function core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php
SimpletestTestRunResultsStorageTest::testBuildEnvironmentKeepingExistingResults function core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php @covers ::buildTestingResultsEnvironment[[api-linebreak]]
@covers ::validateTestingResultsEnvironment[[api-linebreak]]
@covers ::createNew[[api-linebreak]]
@covers ::insertLogEntry[[api-linebreak]]
@covers ::cleanUp[[api-linebreak]]
SimpletestTestRunResultsStorageTest::testBuildNewEnvironment function core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php @covers ::buildTestingResultsEnvironment[[api-linebreak]]
@covers ::validateTestingResultsEnvironment[[api-linebreak]]
SimpletestTestRunResultsStorageTest::testGetCurrentTestRunState function core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php @covers ::buildTestingResultsEnvironment[[api-linebreak]]
@covers ::createNew[[api-linebreak]]
@covers ::insertLogEntry[[api-linebreak]]
@covers ::setDatabasePrefix[[api-linebreak]]
@covers ::removeResults[[api-linebreak]]
SimpletestTestRunResultsStorageTest::testGetLogEntriesByTestClass function core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php @covers ::buildTestingResultsEnvironment[[api-linebreak]]
@covers ::createNew[[api-linebreak]]
@covers ::insertLogEntry[[api-linebreak]]
@covers ::setDatabasePrefix[[api-linebreak]]
@covers ::getLogEntriesByTestClass[[api-linebreak]]
SingleInternalPropertyTestFieldItem class core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SingleInternalPropertyTestFieldItem.php Defines the 'Single Internal Property' entity test field type.
SingleInternalPropertyTestFieldItem.php file core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SingleInternalPropertyTestFieldItem.php
SingleInternalPropertyTestFieldItem::propertyDefinitions function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SingleInternalPropertyTestFieldItem.php Defines field item properties.
SingleVisibleProfileTest class core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php Tests distribution profile support.
SingleVisibleProfileTest.php file core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php
SingleVisibleProfileTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php The theme to install as the default for testing.
SingleVisibleProfileTest::$profile property core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php The installation profile to install.
SingleVisibleProfileTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php Prepares the current environment for running the test.
SingleVisibleProfileTest::setUpProfile function core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php Installer step: Select installation profile.
SingleVisibleProfileTest::testInstalled function core/tests/Drupal/FunctionalTests/Installer/SingleVisibleProfileTest.php Confirms that the installation succeeded.
SiteMaintenanceTest class core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php Tests access to site while in maintenance mode.
SiteMaintenanceTest.php file core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php
SiteMaintenanceTest::$adminUser property core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php
SiteMaintenanceTest::$defaultTheme property core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php The theme to install as the default for testing.
SiteMaintenanceTest::$modules property core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php Modules to install.
SiteMaintenanceTest::$user property core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php User allowed to access site in maintenance mode.
SiteMaintenanceTest::setUp function core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php
SiteMaintenanceTest::testNonHtmlRequest function core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php Tests responses to non-HTML requests when in maintenance mode.
SiteMaintenanceTest::testSiteMaintenance function core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php Verifies site maintenance mode functionality.
SiteNameTest class core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php Tests that the site name can be set during a non-interactive installation.
SiteNameTest.php file core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php
SiteNameTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php The theme to install as the default for testing.
SiteNameTest::$siteName property core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php The site name to be used when testing.
SiteNameTest::installParameters function core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php Returns the parameters that will be used when the test installs Drupal.
SiteNameTest::testSiteName function core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php Tests that the desired site name appears on the page after installation.
SitesDirectoryHardeningTest class core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Tests Drupal permissions hardening of /sites subdirectories.
SitesDirectoryHardeningTest.php file core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php
SitesDirectoryHardeningTest::$defaultTheme property core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php The theme to install as the default for testing.
SitesDirectoryHardeningTest::checkSystemRequirements function core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Checks system runtime requirements.
SitesDirectoryHardeningTest::makeWritable function core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Makes the given path and settings file writable.
SitesDirectoryHardeningTest::settingsFile function core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Returns the path to settings.php.

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