Search for test

  1. Search 7.x for test
  2. Search 8.9.x for test
  3. Search 10.3.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
AttachedAssetsTest::testAggregation function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Integration test for CSS/JS aggregation.
AttachedAssetsTest::testAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests altering a JavaScript's weight via hook_js_alter().
AttachedAssetsTest::testAttributes function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript files with additional attributes.
AttachedAssetsTest::testBrowserConditionalComments function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript within conditional comments.
AttachedAssetsTest::testDefault function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that default CSS and JavaScript is empty.
AttachedAssetsTest::testDeprecatedDrupalJsDefaults function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests deprecated drupal_js_defaults() function.
AttachedAssetsTest::testDynamicLibrary function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Dynamically defines an asset library and alters it.
AttachedAssetsTest::testHeaderHTML function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JS assets depending on the 'core/<head>' virtual library.
AttachedAssetsTest::testLibraryAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Adds a JavaScript library to the page and alters it.
AttachedAssetsTest::testLibraryNameConflicts function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that multiple modules can implement libraries with the same name.
AttachedAssetsTest::testLibraryUnknown function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests non-existing libraries.
AttachedAssetsTest::testNoCache function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that for assets with cache = FALSE, Drupal sets preprocess = FALSE.
AttachedAssetsTest::testRenderDifferentWeight function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests rendering the JavaScript with a file's weight above jQuery's.
AttachedAssetsTest::testRenderOrder function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript and CSS asset ordering.
AttachedAssetsTest::testSettings function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript settings.
AttachedAssetsTest::testVersionQueryString function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript versioning.
AttachmentsTestDomainObject class core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php
AttachmentsTestDomainObject.php file core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php
AttachmentsTestResponse class core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestResponse.php
AttachmentsTestResponse.php file core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestResponse.php
AttachmentTestFormatter class core/modules/views/tests/modules/views_test_formatter/src/Plugin/Field/FieldFormatter/AttachmentTestFormatter.php Plugin implementation of the 'number_unformatted_with_attachment' formatter.
AttachmentTestFormatter.php file core/modules/views/tests/modules/views_test_formatter/src/Plugin/Field/FieldFormatter/AttachmentTestFormatter.php
AttachmentTestFormatter::viewElements function core/modules/views/tests/modules/views_test_formatter/src/Plugin/Field/FieldFormatter/AttachmentTestFormatter.php
AttributeHelperTest class core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php @coversDefaultClass \Drupal\Core\Template\AttributeHelper
@group Template
AttributeHelperTest.php file core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php
AttributeHelperTest::providerTestAttributeExists function core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php Provides tests data for testAttributeExists.
AttributeHelperTest::providerTestMergeCollections function core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php Provides tests data for testMergeCollections.
AttributeHelperTest::testAttributeExists function core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php @covers ::attributeExists
@dataProvider providerTestAttributeExists
AttributeHelperTest::testMergeCollections function core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php @covers ::mergeCollections
@dataProvider providerTestMergeCollections
AttributeHelperTest::testMergeCollectionsArgumentException function core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php @covers ::mergeCollections
AttributesTest class core/tests/Drupal/Tests/Core/Common/AttributesTest.php Tests the Drupal\Core\Template\Attribute functionality.
AttributesTest.php file core/tests/Drupal/Tests/Core/Common/AttributesTest.php
AttributesTest::providerTestAttributeData function core/tests/Drupal/Tests/Core/Common/AttributesTest.php Provides data for the Attribute test.
AttributesTest::testAttributeIteration function core/tests/Drupal/Tests/Core/Common/AttributesTest.php Tests attribute iteration.
AttributesTest::testAttributeValueBaseCopy function core/tests/Drupal/Tests/Core/Common/AttributesTest.php Tests AttributeValueBase copy.
AttributesTest::testDrupalAttributes function core/tests/Drupal/Tests/Core/Common/AttributesTest.php Tests casting an Attribute object to a string.
AttributeString class core/lib/Drupal/Core/Template/AttributeString.php A class that represents most standard HTML attributes.
AttributeString.php file core/lib/Drupal/Core/Template/AttributeString.php
AttributeString::__toString function core/lib/Drupal/Core/Template/AttributeString.php Implements the magic __toString() method.
AttributeTest class core/tests/Drupal/Tests/Core/Template/AttributeTest.php @coversDefaultClass \Drupal\Core\Template\Attribute
@group Template
AttributeTest.php file core/tests/Drupal/Tests/Core/Template/AttributeTest.php
AttributeTest::assertClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS class is present in the given HTML snippet.
AttributeTest::assertID function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS ID is present in the given HTML snippet.
AttributeTest::assertNoClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS class is not present in the given HTML snippet.
AttributeTest::assertNoID function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS ID is not present in the given HTML snippet.
AttributeTest::getXPathResultCount function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Counts the occurrences of the given XPath query in a given HTML snippet.
AttributeTest::providerTestAttributeClassHelpers function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Provides tests data for testEscaping.
AttributeTest::providerTestAttributeValues function core/tests/Drupal/Tests/Core/Template/AttributeTest.php
AttributeTest::providerTestHasAttribute function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Provides tests data for testHasAttribute.
AttributeTest::providerTestMerge function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Provides tests data for testMerge.

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