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
AtLeastOneOfConstraintValidatorTest::dataProvider function core/tests/Drupal/KernelTests/Core/Validation/AtLeastOneOfConstraintValidatorTest.php Data provider for testValidation().
AtLeastOneOfConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Validation/AtLeastOneOfConstraintValidatorTest.php
AtLeastOneOfConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Validation/AtLeastOneOfConstraintValidatorTest.php Tests the AllowedValues validation constraint validator.
AttachedAssetsTest class core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests #attached assets: attached asset libraries and JavaScript settings.
AttachedAssetsTest.php file core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
AttachedAssetsTest::$assetResolver property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php The asset resolver service.
AttachedAssetsTest::$fileUrlGenerator property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php The file URL generator.
AttachedAssetsTest::$modules property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Modules to install.
AttachedAssetsTest::$renderer property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php The renderer service.
AttachedAssetsTest::setUp function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
AttachedAssetsTest::testAddExternalFiles function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding external CSS and JavaScript files.
AttachedAssetsTest::testAddFiles function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding a CSS and a JavaScript file.
AttachedAssetsTest::testAddJsFileWithQueryString function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript files that have query strings attached get added right.
AttachedAssetsTest::testAddJsSettings function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript settings.
AttachedAssetsTest::testAggregatedAttributes function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that attributes are maintained when JS aggregation is enabled.
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::testDefault function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that default CSS and JavaScript is empty.
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 Test domain class with implemented AttachmentsInterface.
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 Test response with implemented AttachmentsInterface.
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 Builds a renderable array for a field value.
AttributeBaseTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @coversDefaultClass \Drupal\Component\Plugin\Attribute\AttributeBase[[api-linebreak]]
@group Attribute
AttributeBaseTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php
AttributeBaseTest::testGetId function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @covers ::getId[[api-linebreak]]
AttributeBaseTest::testSetClass function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @covers ::getClass[[api-linebreak]]
@covers ::setClass[[api-linebreak]]
AttributeBaseTest::testSetProvider function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @covers ::getProvider[[api-linebreak]]
@covers ::setProvider[[api-linebreak]]
AttributeBridgeDecoratorTest class core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php @coversDefaultClass \Drupal\Component\Annotation\Plugin\Discovery\AnnotationBridgeDecorator[[api-linebreak]]
@group Plugin
AttributeBridgeDecoratorTest.php file core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php
AttributeBridgeDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php @covers ::getDefinitions[[api-linebreak]]
AttributeBridgeDecoratorTest::testOtherMethod function core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php Tests that the decorator of other methods works.
AttributeClassDiscoveryCachedTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php @coversDefaultClass \Drupal\Component\Plugin\Discovery\AttributeClassDiscovery[[api-linebreak]]
@covers \Drupal\Component\Discovery\MissingClassDetectionClassLoader[[api-linebreak]]
@group Attribute
@runTestsInSeparateProcesses
AttributeClassDiscoveryCachedTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php
AttributeClassDiscoveryCachedTest::setUp function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php
AttributeClassDiscoveryCachedTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php Tests that getDefinitions() retrieves the file cache correctly.
AttributeClassDiscoveryCachedTest::testGetDefinitionsMissingTrait function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php Tests discovery with missing traits.

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