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
PageCacheTagsIntegrationTest::setUp function core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php
PageCacheTagsIntegrationTest::testPageCacheTags function core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php Tests that cache tags are properly bubbled up to the page level.
PageCacheTagsTestBase class core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php Provides helper methods for page cache tags tests.
PageCacheTagsTestBase.php file core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php
PageCacheTagsTestBase::setUp function core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php
PageCacheTagsTestBase::verifyDynamicPageCache function core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php Verify that when loading a given page, it's a page cache hit or miss.
PageCacheTagsTestBase::verifyPageCache function core/modules/system/tests/src/Functional/Cache/PageCacheTagsTestBase.php Verify that when loading a given page, it's a page cache hit or miss.
PageCacheTest class core/modules/page_cache/tests/src/Functional/PageCacheTest.php Enables the page cache and tests it with various HTTP requests.
PageCacheTest.php file core/modules/page_cache/tests/src/Functional/PageCacheTest.php
PageCacheTest::$defaultTheme property core/modules/page_cache/tests/src/Functional/PageCacheTest.php The theme to install as the default for testing.
PageCacheTest::$modules property core/modules/page_cache/tests/src/Functional/PageCacheTest.php Modules to install.
PageCacheTest::getHeaders function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Retrieves only the headers for an absolute path.
PageCacheTest::setUp function core/modules/page_cache/tests/src/Functional/PageCacheTest.php
PageCacheTest::testCacheabilityOfRedirectResponses function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that the Cache-Control header is added by FinishResponseSubscriber.
PageCacheTest::testCacheableResponseResponses function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests cacheability of a CacheableResponse.
PageCacheTest::testCacheableWithCustomCacheControl function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests a cacheable response with custom cache control.
PageCacheTest::testConditionalRequests function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests support of requests with If-Modified-Since and If-None-Match headers.
PageCacheTest::testHead function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that HEAD requests are treated the same as GET requests.
PageCacheTest::testNoUrlNormalization function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that URLs are cached in a not normalized form.
PageCacheTest::testPageCache function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests page caching.
PageCacheTest::testPageCacheAnonymous403404 function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests the 4xx-response cache tag is added and invalidated.
PageCacheTest::testPageCacheAnonymousRolePermissions function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests the automatic presence of the anonymous role's cache tag.
PageCacheTest::testPageCacheHeaders function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests page cache headers.
PageCacheTest::testPageCacheTags function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that cache tags are properly persisted.
PageCacheTest::testPageCacheTagsIndependentFromCacheabilityHeaders function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that the page cache doesn't depend on cacheability headers.
PageCacheTest::testPageCacheWithoutVaryCookie function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests the omit_vary_cookie setting.
PageCacheTest::testQueryParameterFormatRequests function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests support for different cache items with different request formats.
PageContextTest class core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the PageContext Top Bar item build output.
PageContextTest.php file core/modules/navigation/tests/src/Unit/PageContextTest.php
PageContextTest::entityLabelProvider function core/modules/navigation/tests/src/Unit/PageContextTest.php Data provider for entity label scenarios.
PageContextTest::setUp function core/modules/navigation/tests/src/Unit/PageContextTest.php
PageContextTest::testBuildContentModerationNoPending function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests content moderation build output with no pending revisions.
PageContextTest::testBuildContentModerationWithPendingActive function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the content moderation build when is active with a pending entity.
PageContextTest::testBuildEntityLabel function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the build of an entity label within the page context plugin.
PageContextTest::testBuildStatusBadge function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the status badge for published and unpublished entities.
PageContextTest::testBuildWhenNoEntityOnRoute function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the build method when no entity is present on the route.
PageContextTest::testNoValidBadge function core/modules/navigation/tests/src/Unit/PageContextTest.php Tests the behavior of a plugin with no valid badge present.
PageEditTest class core/modules/block_content/tests/src/Functional/PageEditTest.php Create a block and test block edit functionality.
PageEditTest.php file core/modules/block_content/tests/src/Functional/PageEditTest.php
PageEditTest::$defaultTheme property core/modules/block_content/tests/src/Functional/PageEditTest.php
PageEditTest::setUp function core/modules/block_content/tests/src/Functional/PageEditTest.php
PageEditTest::testPageEdit function core/modules/block_content/tests/src/Functional/PageEditTest.php Checks block edit functionality.
PageNotFoundTest class core/modules/system/tests/src/Functional/System/PageNotFoundTest.php Tests page not found functionality, including custom 404 pages.
PageNotFoundTest.php file core/modules/system/tests/src/Functional/System/PageNotFoundTest.php
PageNotFoundTest::$adminUser property core/modules/system/tests/src/Functional/System/PageNotFoundTest.php The test user.
PageNotFoundTest::$defaultTheme property core/modules/system/tests/src/Functional/System/PageNotFoundTest.php
PageNotFoundTest::$modules property core/modules/system/tests/src/Functional/System/PageNotFoundTest.php
PageNotFoundTest::setUp function core/modules/system/tests/src/Functional/System/PageNotFoundTest.php
PageNotFoundTest::testPageNotFound function core/modules/system/tests/src/Functional/System/PageNotFoundTest.php Tests page not found.
PageNotFoundTest::testPageNotFoundCustomPageWithAccessDenied function core/modules/system/tests/src/Functional/System/PageNotFoundTest.php Tests that an inaccessible custom 404 page falls back to the default.

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