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 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
AnnounceFetcherUnitTest::$fetcher property core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php The Fetcher service object.
AnnounceFetcherUnitTest::setUp function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php
AnnounceFetcherUnitTest::testValidateUrl function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Test the ValidateUrl() method.
AnnounceFetcherUnitTest::urlProvider function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Data for the testValidateUrl.
AnnounceFetcherUserTest class core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php @coversDefaultClass \Drupal\announcements_feed\AnnounceFetcher
AnnounceFetcherUserTest.php file core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
AnnounceFetcherUserTest::$modules property core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Modules to install.
AnnounceFetcherUserTest::providerShowAnnouncements function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Data provider for testAllAnnouncements().
AnnounceFetcherUserTest::providerShowUpdatedAnnouncements function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Data provider for testAllAnnouncements().
AnnounceFetcherUserTest::setFeedItems function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Sets the feed items to be returned for the test.
AnnounceFetcherUserTest::setUp function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
AnnounceFetcherUserTest::testAllAnnouncementsFirst function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Tests testAllAnnouncements should get all announcements.
AnnouncementsCacheTest class core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php Defines a class for testing pages are still cacheable with dynamic page cache.
AnnouncementsCacheTest.php file core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php
AnnouncementsCacheTest::$defaultTheme property core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php The theme to install as the default for testing.
AnnouncementsCacheTest::$modules property core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php Modules to install.
AnnouncementsCacheTest::testDynamicPageCache function core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php Tests dynamic page cache.
AnnounceRendererTest class core/modules/announcements_feed/tests/src/Kernel/AnnounceRendererTest.php @coversDefaultClass \Drupal\announcements_feed\AnnounceRenderer
AnnounceRendererTest.php file core/modules/announcements_feed/tests/src/Kernel/AnnounceRendererTest.php
AnnounceRendererTest::testRendererContent function core/modules/announcements_feed/tests/src/Kernel/AnnounceRendererTest.php Tests rendered valid content.
AnnounceRendererTest::testRendererException function core/modules/announcements_feed/tests/src/Kernel/AnnounceRendererTest.php Tests rendered valid when something goes wrong.
AnnounceTestBase class core/modules/announcements_feed/tests/src/Kernel/AnnounceTestBase.php Base class for Announce Kernel tests.
AnnounceTestBase.php file core/modules/announcements_feed/tests/src/Kernel/AnnounceTestBase.php
AnnounceTestBase::$history property core/modules/announcements_feed/tests/src/Kernel/AnnounceTestBase.php History of requests/responses.
AnnounceTestBase::$modules property core/modules/announcements_feed/tests/src/Kernel/AnnounceTestBase.php Modules to install.
AnnounceTestBase::setFeedItems function core/modules/announcements_feed/tests/src/Kernel/AnnounceTestBase.php Sets the feed items to be returned for the test.
AnnounceTestBase::setTestFeedResponses function core/modules/announcements_feed/tests/src/Kernel/AnnounceTestBase.php Sets test feed responses.
AnnounceTestBase::setUp function core/modules/announcements_feed/tests/src/Kernel/AnnounceTestBase.php
AnnounceTestController class core/modules/announcements_feed/tests/modules/announce_feed_test/src/Controller/AnnounceTestController.php Defines a controller to return JSON for security advisory tests.
AnnounceTestController.php file core/modules/announcements_feed/tests/modules/announce_feed_test/src/Controller/AnnounceTestController.php
AnnounceTestController::setFeedConfig function core/modules/announcements_feed/tests/modules/announce_feed_test/src/Controller/AnnounceTestController.php Reads a JSON file and returns the contents as a Response.
AnnounceTestHttpClientMiddleware class core/modules/announcements_feed/tests/modules/announce_feed_test/src/AnnounceTestHttpClientMiddleware.php Overrides the requested endpoint when running tests.
AnnounceTestHttpClientMiddleware.php file core/modules/announcements_feed/tests/modules/announce_feed_test/src/AnnounceTestHttpClientMiddleware.php
AnnounceTestHttpClientMiddleware::setAnnounceTestEndpoint function core/modules/announcements_feed/tests/modules/announce_feed_test/src/AnnounceTestHttpClientMiddleware.php Sets the test endpoint for the advisories JSON feed.
AnnounceTestHttpClientMiddleware::__invoke function core/modules/announcements_feed/tests/modules/announce_feed_test/src/AnnounceTestHttpClientMiddleware.php HTTP middleware that replaces request endpoint for a test one.
announce_feed_test.announce_client_middleware service core/modules/announcements_feed/tests/modules/announce_feed_test/announce_feed_test.services.yml Drupal\announce_feed_test\AnnounceTestHttpClientMiddleware
announce_feed_test.info.yml file core/modules/announcements_feed/tests/modules/announce_feed_test/announce_feed_test.info.yml core/modules/announcements_feed/tests/modules/announce_feed_test/announce_feed_test.info.yml
announce_feed_test.routing.yml file core/modules/announcements_feed/tests/modules/announce_feed_test/announce_feed_test.routing.yml core/modules/announcements_feed/tests/modules/announce_feed_test/announce_feed_test.routing.yml
announce_feed_test.services.yml file core/modules/announcements_feed/tests/modules/announce_feed_test/announce_feed_test.services.yml core/modules/announcements_feed/tests/modules/announce_feed_test/announce_feed_test.services.yml
AnonResourceTestTrait trait core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php Defines a trait for testing with no authentication provider.
AnonResourceTestTrait.php file core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php
AnonResourceTestTrait::assertAuthenticationEdgeCases function core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php
AnonResourceTestTrait::assertResponseWhenMissingAuthentication function core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php
AnonymousPrivateTempStoreTest class core/tests/Drupal/KernelTests/Core/TempStore/AnonymousPrivateTempStoreTest.php Tests the PrivateTempStore for anonymous users.
AnonymousPrivateTempStoreTest.php file core/tests/Drupal/KernelTests/Core/TempStore/AnonymousPrivateTempStoreTest.php
AnonymousPrivateTempStoreTest::$modules property core/tests/Drupal/KernelTests/Core/TempStore/AnonymousPrivateTempStoreTest.php Modules to install.
AnonymousPrivateTempStoreTest::$tempStore property core/tests/Drupal/KernelTests/Core/TempStore/AnonymousPrivateTempStoreTest.php The private temp store.
AnonymousPrivateTempStoreTest::setUp function core/tests/Drupal/KernelTests/Core/TempStore/AnonymousPrivateTempStoreTest.php
AnonymousPrivateTempStoreTest::testAnonymousCanUsePrivateTempStoreGet function core/tests/Drupal/KernelTests/Core/TempStore/AnonymousPrivateTempStoreTest.php Tests anonymous can get without a previous set.
AnonymousPrivateTempStoreTest::testAnonymousCanUsePrivateTempStoreSet function core/tests/Drupal/KernelTests/Core/TempStore/AnonymousPrivateTempStoreTest.php Tests anonymous can use the PrivateTempStore.

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