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 10.3.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
HookOrderTest::testHookReorderProcedural function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Test procedural hook ordering using, 'test_procedural_reorder'.
HookOrderTest::testReorderMissingTarget function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests the ReorderHook attribute with a missing target.
HookOrderTest::testSparseHookOrder function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests hook order when each module has either OO or procedural listeners.
HookOrderTestTrait trait core/tests/Drupal/KernelTests/Core/Hook/HookOrderTestTrait.php Provides methods to support testing hooks.
HookOrderTestTrait.php file core/tests/Drupal/KernelTests/Core/Hook/HookOrderTestTrait.php
HookOrderTestTrait::assertSameCallList function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTestTrait.php Asserts that two lists of call strings are the same.
HookRequirementsTest class core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php Attempts enabling a module that fails hook_requirements('install').
HookRequirementsTest.php file core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php
HookRequirementsTest::$defaultTheme property core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php The theme to install as the default for testing.
HookRequirementsTest::testHookRequirementsFailure function core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php Assert that a module cannot be installed if it fails hook_requirements().
hook_loader_test.info.yml file core/modules/system/tests/modules/HookLoader/hook_loader_test/hook_loader_test.info.yml core/modules/system/tests/modules/HookLoader/hook_loader_test/hook_loader_test.info.yml
hook_test_remove.info.yml file core/modules/system/tests/modules/hook_test_remove/hook_test_remove.info.yml core/modules/system/tests/modules/hook_test_remove/hook_test_remove.info.yml
HtaccessTest class core/modules/system/tests/src/Functional/System/HtaccessTest.php Tests .htaccess is working correctly.
HtaccessTest class core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php Tests .htaccess file saving.
HtaccessTest.php file core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php
HtaccessTest.php file core/modules/system/tests/src/Functional/System/HtaccessTest.php
HtaccessTest::$defaultTheme property core/modules/system/tests/src/Functional/System/HtaccessTest.php The theme to install as the default for testing.
HtaccessTest::$htaccessWriter property core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php The Htaccess class under test.
HtaccessTest::$modules property core/modules/system/tests/src/Functional/System/HtaccessTest.php Modules to install.
HtaccessTest::$public property core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php The public directory.
HtaccessTest::assertFileAccess function core/modules/system/tests/src/Functional/System/HtaccessTest.php Asserts that a file exists and requesting it returns a specific response.
HtaccessTest::assertFilePermissions function core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php Asserts expected file permissions for a given file.
HtaccessTest::getProtectedFiles function core/modules/system/tests/src/Functional/System/HtaccessTest.php Get an array of file paths for access testing.
HtaccessTest::setUp function core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php
HtaccessTest::testFileAccess function core/modules/system/tests/src/Functional/System/HtaccessTest.php Iterates over protected files and calls assertNoFileAccess().
HtaccessTest::testHtaccessSave function core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php Tests htaccess save.
HtaccessTest::testHtaccessSaveDisabled function core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php Tests htaccess save disabled.
HtaccessTest::testSvgzContentEncoding function core/modules/system/tests/src/Functional/System/HtaccessTest.php Tests that SVGZ files are served with Content-Encoding: gzip.
HtmlAttributesTest class core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php Tests attributes inserted in the 'html' and 'body' elements on the page.
HtmlAttributesTest.php file core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php
HtmlAttributesTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php The theme to install as the default for testing.
HtmlAttributesTest::$modules property core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php Modules to install.
HtmlAttributesTest::testThemeHtmlAttributes function core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php Tests that attributes in the 'html' and 'body' elements can be altered.
HtmlEscapedTextTest class core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php Tests the HtmlEscapedText class.
HtmlEscapedTextTest.php file core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php
HtmlEscapedTextTest::providerToString function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php Data provider for testToString().
HtmlEscapedTextTest::testCount function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php Tests count.
HtmlEscapedTextTest::testToString function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php @legacy-covers ::__toString
@legacy-covers ::jsonSerialize
HtmlOutputLogger::testRunnerFinished function core/tests/Drupal/TestTools/Extension/HtmlLogging/HtmlOutputLogger.php Prints the list of HTML output generated during the test.
HtmlOutputLogger::testRunnerStarted function core/tests/Drupal/TestTools/Extension/HtmlLogging/HtmlOutputLogger.php Empties the list of the HTML output created during the test run.
HtmlResponseAttachmentsTest class core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Functional tests for HtmlResponseAttachmentsProcessor.
HtmlResponseAttachmentsTest.php file core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
HtmlResponseAttachmentsTest::$defaultTheme property core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php The theme to install as the default for testing.
HtmlResponseAttachmentsTest::$modules property core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Modules to install.
HtmlResponseAttachmentsTest::assertFeed function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Helper function to make assertions about the presence of an RSS feed.
HtmlResponseAttachmentsTest::assertHead function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Helper function to make assertions about HTML head elements.
HtmlResponseAttachmentsTest::assertTeapotHeaders function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Helper function to make assertions about added HTTP headers.
HtmlResponseAttachmentsTest::testAttachments function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Tests rendering of ['#attached'].
HtmlResponseAttachmentsTest::testRenderCachedBlock function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Tests caching of ['#attached'].
HTMLRestrictionsTest class core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php Tests Drupal\ckeditor5\HTMLRestrictions.

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