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. 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
PluginInstanceTest::$definitions property core/modules/views/tests/src/Kernel/PluginInstanceTest.php An array of plugin definitions, keyed by plugin type.
PluginInstanceTest::$deprecatedPlugins property core/modules/views/tests/src/Kernel/PluginInstanceTest.php List of deprecated plugin classes.
PluginInstanceTest::$pluginTypes property core/modules/views/tests/src/Kernel/PluginInstanceTest.php All views plugin types.
PluginInstanceTest::assertPluginInstances function core/modules/views/tests/src/Kernel/PluginInstanceTest.php Asserts that instances of every views plugin can be created.
PluginInstanceTest::setUp function core/modules/views/tests/src/Kernel/PluginInstanceTest.php
PluginInstanceTest::testPluginData function core/modules/views/tests/src/Kernel/PluginInstanceTest.php Confirms that there is plugin data for all views plugin types.
PluginInstanceTest::testPluginInstances function core/modules/views/tests/src/Kernel/PluginInstanceTest.php Tests creating instances of every views plugin.
PluginKernelTestBase class core/modules/views/tests/src/Kernel/Plugin/PluginKernelTestBase.php Base test class for views plugin unit tests.
PluginKernelTestBase.php file core/modules/views/tests/src/Kernel/Plugin/PluginKernelTestBase.php
PluginManagerBaseTest class core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php @coversDefaultClass \Drupal\Component\Plugin\PluginManagerBase[[api-linebreak]]
@group Plugin
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 @covers ::getInstance[[api-linebreak]]
PluginManagerBaseTest::testGetInstanceWithoutMapperShouldThrowException function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php @covers ::getInstance[[api-linebreak]]
PluginSettingsBaseTest class core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php @coversDefaultClass \Drupal\Core\Field\PluginSettingsBase[[api-linebreak]]
@group Field
PluginSettingsBaseTest.php file core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php Contains \Drupal\Tests\Core\Field\PluginSettingsBaseTest.
PluginSettingsBaseTest::testGetThirdPartySettings function core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php @covers ::getThirdPartySettings[[api-linebreak]]
PluginTest class core/tests/Drupal/Tests/Component/Annotation/PluginTest.php @coversDefaultClass \Drupal\Component\Annotation\Plugin[[api-linebreak]]
@group Annotation
PluginTest.php file core/tests/Drupal/Tests/Component/Annotation/PluginTest.php
PluginTest::testGet function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php @covers ::__construct[[api-linebreak]]
@covers ::parse[[api-linebreak]]
@covers ::get[[api-linebreak]]
PluginTest::testGetClass function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php @covers ::getClass[[api-linebreak]]
PluginTest::testGetId function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php @covers ::getId[[api-linebreak]]
PluginTest::testGetProvider function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php @covers ::getProvider[[api-linebreak]]
PluginTest::testSetClass function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php @covers ::setClass[[api-linebreak]]
PluginTest::testSetProvider function core/tests/Drupal/Tests/Component/Annotation/PluginTest.php @covers ::setProvider[[api-linebreak]]
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
PluginTestBase::$defaultsTestPluginManager property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
PluginTestBase::$mockBlockExpectedDefinitions property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
PluginTestBase::$mockBlockManager property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
PluginTestBase::$modules property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php Modules to enable.
PluginTestBase::$testPluginExpectedDefinitions property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
PluginTestBase::$testPluginManager property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
PluginTestBase::setUp function core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
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 @coversDefaultClass \Drupal\Core\Plugin\PluginWithFormsTrait[[api-linebreak]]
@group Plugin
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 @covers ::getFormClass[[api-linebreak]]
@covers ::hasFormClass[[api-linebreak]]
@dataProvider providerGetFormClass
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.module file core/modules/system/tests/modules/plugin_test/plugin_test.module Helper module for the plugin tests.
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
plugin_test_plugin_test_alter function core/modules/system/tests/modules/plugin_test/plugin_test.module Implements hook_plugin_test_alter().
plugin_test_test_plugin_info function core/modules/system/tests/modules/plugin_test/plugin_test.module Implements hook_test_plugin_info().

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