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 11.x 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
PluginManagerBaseTest.php file core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php
PluginManagerBaseTest::createInstanceCallback function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php A callback method for mocking FactoryInterface objects.
PluginManagerBaseTest::getMockFactoryInterface function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Generates a mocked FactoryInterface object with known properties.
PluginManagerBaseTest::testCreateInstance function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Tests createInstance() with no fallback methods.
PluginManagerBaseTest::testCreateInstanceFallback function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Tests createInstance() with a fallback method.
PluginManagerBaseTest::testGetInstance function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Tests get instance.
PluginManagerBaseTest::testGetInstanceWithoutMapperShouldThrowException function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Tests get instance without mapper should throw exception.
PluginSettingsBaseTest class core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php Tests Drupal\Core\Field\PluginSettingsBase.
PluginSettingsBaseTest.php file core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php
PluginSettingsBaseTest::testGetThirdPartySettings function core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php Tests get third party settings.
PluginTest class core/tests/Drupal/Tests/Component/Annotation/PluginTest.php Tests Drupal\Component\Annotation\Plugin.
PluginTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php Tests Drupal\Component\Plugin\Attribute\Plugin.
PluginTest.php file core/tests/Drupal/Tests/Component/Annotation/PluginTest.php
PluginTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php
PluginTest::testGet function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php @legacy-covers ::__construct
@legacy-covers ::parse
@legacy-covers ::get
PluginTest::testGet function core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php @legacy-covers ::__construct
@legacy-covers ::get
PluginTest::testGetClass function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php Tests get class.
PluginTest::testGetId function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php Tests get id.
PluginTest::testGetId function core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php Tests get id.
PluginTest::testGetProvider function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php Tests get provider.
PluginTest::testSetClass function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php Tests set class.
PluginTest::testSetClass function core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php @legacy-covers ::setClass
@legacy-covers ::getClass
PluginTest::testSetProvider function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php Tests set provider.
PluginTest::testSetProvider function core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php @legacy-covers ::setProvider
@legacy-covers ::getProvider
PluginTestBase class core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php Base class for Plugin API unit tests.
PluginTestBase.php file core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
PluginTestBase::$defaultsTestPluginExpectedDefinitions property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php The expected plugin definitions for the defaults plugin.
PluginTestBase::$defaultsTestPluginManager property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php The default plugin manager used by Plugin API unit tests.
PluginTestBase::$mockBlockExpectedDefinitions property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php The expected plugin definitions for the mock block plugin.
PluginTestBase::$mockBlockManager property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php The mock plugin manager used by Plugin API derivative unit tests.
PluginTestBase::$modules property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
PluginTestBase::$testPluginExpectedDefinitions property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php The expected plugin definitions for the test plugin.
PluginTestBase::$testPluginManager property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php The test plugin manager used by Plugin API unit tests.
PluginTestBase::setUp function core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
PluginTestHooks class core/modules/system/tests/modules/plugin_test/src/Hook/PluginTestHooks.php Hook implementations for plugin_test.
PluginTestHooks.php file core/modules/system/tests/modules/plugin_test/src/Hook/PluginTestHooks.php
PluginTestHooks::pluginTestAlter function core/modules/system/tests/modules/plugin_test/src/Hook/PluginTestHooks.php Implements hook_plugin_test_alter().
PluginTestHooks::testPluginInfo function core/modules/system/tests/modules/plugin_test/src/Hook/PluginTestHooks.php Implements hook_test_plugin_info().
PluginTypeListTest class core/modules/views/tests/src/Unit/PluginTypeListTest.php Tests that list of plugin is correct.
PluginTypeListTest.php file core/modules/views/tests/src/Unit/PluginTypeListTest.php
PluginTypeListTest::testPluginList function core/modules/views/tests/src/Unit/PluginTypeListTest.php Tests the plugins list is correct.
PluginWithFormsTraitTest class core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Tests Drupal\Core\Plugin\PluginWithFormsTrait.
PluginWithFormsTraitTest.php file core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php
PluginWithFormsTraitTest::providerGetFormClass function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php
PluginWithFormsTraitTest::testGetFormClass function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Tests get form class.
plugin_test.info.yml file core/modules/system/tests/modules/plugin_test/plugin_test.info.yml core/modules/system/tests/modules/plugin_test/plugin_test.info.yml
plugin_test_extended.info.yml file core/modules/system/tests/modules/plugin_test_extended/plugin_test_extended.info.yml core/modules/system/tests/modules/plugin_test_extended/plugin_test_extended.info.yml
PluralTranslatableMarkupTest class core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests the TranslatableMarkup class.
PluralTranslatableMarkupTest.php file core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php
PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Data provider for ::testPluralTranslatableMarkupSerialization().

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