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. 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
HookDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinitions() method with some plugins.
HookDiscoveryTest::testGetDefinitionsWithoutPlugins function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinitions() method without any plugins.
HookDiscoveryTest::testGetDefinitionWithUnknownID function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinition method with an unknown plugin ID.
HookLoaderTest class core/tests/Drupal/KernelTests/Core/Hook/HookLoaderTest.php Test hook loading.
HookLoaderTest.php file core/tests/Drupal/KernelTests/Core/Hook/HookLoaderTest.php
HookLoaderTest::$modules property core/tests/Drupal/KernelTests/Core/Hook/HookLoaderTest.php Modules to install.
HookLoaderTest::testHookOrder function core/tests/Drupal/KernelTests/Core/Hook/HookLoaderTest.php Test hook implementation order.
HookOrderTest class core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests Hook Order.
HookOrderTest.php file core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php
HookOrderTest::$modules property core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Modules to install.
HookOrderTest::testBothParametersHookOrder function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests ordering of 'test_both_parameters_hook' with all parameters defined.
HookOrderTest::testHookOrder function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests hook order using OO and procedural implementations of 'test_hook'.
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/tests/Drupal/KernelTests/Core/File/HtaccessTest.php Tests .htaccess file saving.
HtaccessTest class core/modules/system/tests/src/Functional/System/HtaccessTest.php Tests .htaccess is working correctly.
HtaccessTest.php file core/modules/system/tests/src/Functional/System/HtaccessTest.php
HtaccessTest.php file core/tests/Drupal/KernelTests/Core/File/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

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