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. 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
CacheTest::testMergeMaxAges function core/tests/Drupal/Tests/Core/Cache/CacheTest.php @covers ::mergeMaxAges[[api-linebreak]]
CacheTest::testMergeTags function core/tests/Drupal/Tests/Core/Cache/CacheTest.php @covers ::mergeTags[[api-linebreak]]
CacheTest::testNoneResultCaching function core/modules/views/tests/src/Kernel/Plugin/CacheTest.php Tests no caching.
CacheTest::testSubqueryStringCache function core/modules/views/tests/src/Kernel/Plugin/CacheTest.php Tests that Subqueries are cached as expected.
CacheTest::testTimeResultCaching function core/modules/views/tests/src/Kernel/Plugin/CacheTest.php Tests time based caching.
CacheTest::testTimeResultCachingWithFilter function core/modules/views/tests/src/Kernel/Plugin/CacheTest.php Tests result caching with filters.
CacheTest::testTimeResultCachingWithPager function core/modules/views/tests/src/Kernel/Plugin/CacheTest.php Tests result caching with a pager.
CacheTest::validateTagsProvider function core/tests/Drupal/Tests/Core/Cache/CacheTest.php Provides a list of cache tags arrays.
CacheTest::viewsData function core/modules/views/tests/src/Kernel/Plugin/CacheTest.php Returns the views data definition.
CacheTestBase class core/modules/system/tests/src/Functional/Cache/CacheTestBase.php Provides helper methods for cache tests.
CacheTestBase.php file core/modules/system/tests/src/Functional/Cache/CacheTestBase.php
CacheTestBase::$defaultBin property core/modules/system/tests/src/Functional/Cache/CacheTestBase.php The default bin for the cache item.
CacheTestBase::$defaultCid property core/modules/system/tests/src/Functional/Cache/CacheTestBase.php The default cache ID.
CacheTestBase::$defaultValue property core/modules/system/tests/src/Functional/Cache/CacheTestBase.php The cache contents default value.
CacheTestBase::assertCacheExists function core/modules/system/tests/src/Functional/Cache/CacheTestBase.php Asserts that a cache entry exists.
CacheTestBase::assertCacheRemoved function core/modules/system/tests/src/Functional/Cache/CacheTestBase.php Asserts that a cache entry has been removed.
CacheTestBase::checkCacheExists function core/modules/system/tests/src/Functional/Cache/CacheTestBase.php Checks whether or not a cache entry exists.
CacheTestController class core/modules/system/tests/modules/cache_test/src/Controller/CacheTestController.php Controller routines for cache_test routes.
CacheTestController.php file core/modules/system/tests/modules/cache_test/src/Controller/CacheTestController.php
CacheTestController::bundleTags function core/modules/system/tests/modules/cache_test/src/Controller/CacheTestController.php Bundle listing tags invalidation.
CacheTestController::urlBubbling function core/modules/system/tests/modules/cache_test/src/Controller/CacheTestController.php Early renders a URL to test bubbleable metadata bubbling.
CacheTestTrait trait core/modules/system/tests/src/Traits/CacheTestTrait.php Provides helper methods for interacting with cache backends.
CacheTestTrait.php file core/modules/system/tests/src/Traits/CacheTestTrait.php
CacheTestTrait::getDefaultVariationCache function core/modules/system/tests/src/Traits/CacheTestTrait.php Retrieves the default cache backend as a variation cache.
CacheTestTrait::getRenderVariationCache function core/modules/system/tests/src/Traits/CacheTestTrait.php Retrieves the render cache backend as a variation cache.
CacheTestTrait::verifyCache function core/modules/system/tests/src/Traits/CacheTestTrait.php Verify that a given cache entry exists, with the correct cache tags.
CacheTestTrait::verifyDefaultCache function core/modules/system/tests/src/Traits/CacheTestTrait.php Verify that a given default cache entry exists with the correct cache tags.
CacheTestTrait::verifyRenderCache function core/modules/system/tests/src/Traits/CacheTestTrait.php Verify that a given render cache entry exists with the correct cache tags.
CacheWebTest class core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php Tests pluggable caching for views via a web test.
CacheWebTest.php file core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php
CacheWebTest::$defaultTheme property core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php The theme to install as the default for testing.
CacheWebTest::$modules property core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php Modules to install.
CacheWebTest::$testViews property core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php Views used by this test.
CacheWebTest::setUp function core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php Sets up the test.
CacheWebTest::testCacheOutputOnPage function core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php Tests the output caching on an actual page.
CacheWebTest::testDisplayWithoutCacheStillBubblesMetadata function core/modules/views/tests/src/Functional/Plugin/CacheWebTest.php Tests that a display without caching still contains the cache metadata.
cache_context.config_override_integration_test service core/modules/config/tests/config_override_integration_test/config_override_integration_test.services.yml Drupal\config_override_integration_test\Cache\ConfigOverrideIntegrationTestCacheContext
cache_context.entity_test_view_grants service core/modules/system/tests/modules/entity_test/entity_test.services.yml Drupal\entity_test\Cache\EntityTestViewGrantsCacheContext
cache_context.views_test_cache_context service core/modules/views/tests/modules/views_test_data/views_test_data.services.yml Drupal\views_test_data\Cache\ViewsTestCacheContext
cache_test.info.yml file core/modules/system/tests/modules/cache_test/cache_test.info.yml core/modules/system/tests/modules/cache_test/cache_test.info.yml
cache_test.routing.yml file core/modules/system/tests/modules/cache_test/cache_test.routing.yml core/modules/system/tests/modules/cache_test/cache_test.routing.yml
CalculatedPermissionsItemTest class core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php Tests the CalculatedPermissionsItem value object.
CalculatedPermissionsItemTest.php file core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php
CalculatedPermissionsItemTest::testConstructor function core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php Tests that the object values were set in the constructor.
CalculatedPermissionsItemTest::testHasPermission function core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php Tests the permission check when the admin flag is not set.
CalculatedPermissionsItemTest::testHasPermissionWithAdminFlag function core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php Tests the permission check when the admin flag is set.
CalculatedPermissionsTest class core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php Tests the CalculatedPermissions value object.
CalculatedPermissionsTest.php file core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php
CalculatedPermissionsTest::testConstructor function core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php Tests that the object values were set in the constructor.
CallableResolverTest class core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php @coversDefaultClass \Drupal\Core\Utility\CallableResolver[[api-linebreak]]
@group Utility

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