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
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.
AttributeClassDiscoveryTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @coversDefaultClass \Drupal\Component\Plugin\Discovery\AttributeClassDiscovery[[api-linebreak]]
@group Attribute
@runTestsInSeparateProcesses
AttributeClassDiscoveryTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php
AttributeClassDiscoveryTest::setUp function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php
AttributeClassDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @covers ::getDefinitions[[api-linebreak]]
@covers ::prepareAttributeDefinition[[api-linebreak]]
AttributeClassDiscoveryTest::testGetPluginNamespaces function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @covers ::__construct[[api-linebreak]]
@covers ::getPluginNamespaces[[api-linebreak]]
AttributeDiscoveryTest1 class core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest1.php Provides a custom test plugin.
AttributeDiscoveryTest1 class core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTest1.php Provides a custom test plugin.
AttributeDiscoveryTest1.php file core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTest1.php
AttributeDiscoveryTest1.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest1.php
AttributeDiscoveryTest2 class core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest2.php Provides a custom test plugin that extends from a missing dependency.
AttributeDiscoveryTest2 class core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTest2.php Provides a custom test plugin that extends from a missing dependency.
AttributeDiscoveryTest2.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest2.php
AttributeDiscoveryTest2.php file core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTest2.php
AttributeDiscoveryTestMissingInterface class core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTestMissingInterface.php Provides a custom test plugin that implements a missing interface.
AttributeDiscoveryTestMissingInterface.php file core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTestMissingInterface.php
AttributeDiscoveryTestMissingTrait class core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTestMissingTrait.php Provides a custom test plugin that uses a missing trait.
AttributeDiscoveryTestMissingTrait.php file core/tests/fixtures/plugins/Plugin/PluginNamespace/AttributeDiscoveryTestMissingTrait.php
AttributeHelperTest class core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php @coversDefaultClass \Drupal\Core\Template\AttributeHelper[[api-linebreak]]
@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[[api-linebreak]]
@dataProvider providerTestAttributeExists
AttributeHelperTest::testMergeCollections function core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php @covers ::mergeCollections[[api-linebreak]]
@dataProvider providerTestMergeCollections
AttributeHelperTest::testMergeCollectionsArgumentException function core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php @covers ::mergeCollections[[api-linebreak]]
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[[api-linebreak]]
@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.

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