Search for test

  1. Search 7.x for test
  2. Search 9.5.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
DefaultContentModerationStateRevisionUpdateTest::assertCompositeEntityMatchesDefaultRevisionId function core/modules/content_moderation/tests/src/Functional/Update/DefaultContentModerationStateRevisionUpdateTest.php Assert for the given entity, the default revision ID matches.
DefaultContentModerationStateRevisionUpdateTest::getEntityByLabel function core/modules/content_moderation/tests/src/Functional/Update/DefaultContentModerationStateRevisionUpdateTest.php Load an entity by label.
DefaultContentModerationStateRevisionUpdateTest::setDatabaseDumpFiles function core/modules/content_moderation/tests/src/Functional/Update/DefaultContentModerationStateRevisionUpdateTest.php Set database dump files to be used.
DefaultContentModerationStateRevisionUpdateTest::testNoEntitiesUnderModeration function core/modules/content_moderation/tests/src/Functional/Update/DefaultContentModerationStateRevisionUpdateTest.php Test the post_update hook when no entity types are being moderated.
DefaultContentModerationStateRevisionUpdateTest::testUpdateDefaultRevision function core/modules/content_moderation/tests/src/Functional/Update/DefaultContentModerationStateRevisionUpdateTest.php Test updating the default revision.
DefaultExceptionSubscriberTest class core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php @coversDefaultClass \Drupal\serialization\EventSubscriber\DefaultExceptionSubscriber[[api-linebreak]]
@group serialization
DefaultExceptionSubscriberTest.php file core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php
DefaultExceptionSubscriberTest::testOn4xx function core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php @covers ::on4xx[[api-linebreak]]
DefaultFactoryTest class core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php @coversDefaultClass \Drupal\Component\Plugin\Factory\DefaultFactory[[api-linebreak]]
@group Plugin
DefaultFactoryTest.php file core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a not existing class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a not existing class definition.
DefaultFactoryTest::testGetPluginClassWithValidArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid array plugin definition.
DefaultFactoryTest::testGetPluginClassWithValidObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid object plugin definition.
DefaultFormatTest class core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php @group routing
DefaultFormatTest.php file core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php
DefaultFormatTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php The theme to install as the default for testing.
DefaultFormatTest::$modules property core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php Modules to enable.
DefaultFormatTest::testFoo function core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php
DefaultFormatTest::testMultipleRoutesWithSameSingleFormat function core/tests/Drupal/FunctionalTests/Routing/DefaultFormatTest.php
DefaultFormatTestController class core/modules/system/tests/modules/default_format_test/src/DefaultFormatTestController.php
DefaultFormatTestController.php file core/modules/system/tests/modules/default_format_test/src/DefaultFormatTestController.php
DefaultFormatTestController::content function core/modules/system/tests/modules/default_format_test/src/DefaultFormatTestController.php
DefaultHtmlRouteProviderTest class core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @coversDefaultClass \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider[[api-linebreak]]
@group Entity
DefaultHtmlRouteProviderTest.php file core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php Contains \Drupal\Tests\Core\Entity\Routing\DefaultHtmlRouteProviderTest.
DefaultHtmlRouteProviderTest::$entityFieldManager property core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php The entity field manager prophecy used in the test.
DefaultHtmlRouteProviderTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php The entity type manager prophecy used in the test.
DefaultHtmlRouteProviderTest::$routeProvider property core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php The HTML route provider used in the test.
DefaultHtmlRouteProviderTest::getEntityType function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
DefaultHtmlRouteProviderTest::providerTestGetAddFormRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
DefaultHtmlRouteProviderTest::providerTestGetAddPageRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
DefaultHtmlRouteProviderTest::providerTestGetCanonicalRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
DefaultHtmlRouteProviderTest::providerTestGetCollectionRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
DefaultHtmlRouteProviderTest::setUp function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
DefaultHtmlRouteProviderTest::testGetAddFormRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getAddFormRoute[[api-linebreak]]
@dataProvider providerTestGetAddFormRoute
DefaultHtmlRouteProviderTest::testGetAddPageRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getAddPageRoute[[api-linebreak]]
@dataProvider providerTestGetAddPageRoute
DefaultHtmlRouteProviderTest::testGetCanonicalRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getCanonicalRoute[[api-linebreak]]
@dataProvider providerTestGetCanonicalRoute
DefaultHtmlRouteProviderTest::testGetCollectionRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getCollectionRoute[[api-linebreak]]
@dataProvider providerTestGetCollectionRoute
DefaultHtmlRouteProviderTest::testGetEntityTypeIdKeyType function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getEntityTypeIdKeyType[[api-linebreak]]
DefaultHtmlRouteProviderTest::testGetEntityTypeIdKeyTypeNotFieldable function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getEntityTypeIdKeyType[[api-linebreak]]
DefaultLazyPluginCollectionTest class core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @coversDefaultClass \Drupal\Core\Plugin\DefaultLazyPluginCollection[[api-linebreak]]
@group Plugin
DefaultLazyPluginCollectionTest.php file core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php
DefaultLazyPluginCollectionTest::$pluginInstances property core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php Stores all setup plugin instances.
DefaultLazyPluginCollectionTest::getPluginMock function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php Returns a mocked plugin object.

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