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
BytesTest::providerTestValidate function core/tests/Drupal/Tests/Component/Utility/BytesTest.php Provides data for testValidate().
BytesTest::testToNumber function core/tests/Drupal/Tests/Component/Utility/BytesTest.php Tests \Drupal\Component\Utility\Bytes::toNumber().
BytesTest::testValidate function core/tests/Drupal/Tests/Component/Utility/BytesTest.php Tests \Drupal\Component\Utility\Bytes::validate().
CacheabilityMetadataConfigOverrideIntegrationTest class core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php Tests if configuration overrides correctly affect cacheability metadata.
CacheabilityMetadataConfigOverrideIntegrationTest.php file core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
CacheabilityMetadataConfigOverrideIntegrationTest::$defaultTheme property core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php The theme to install as the default for testing.
CacheabilityMetadataConfigOverrideIntegrationTest::$modules property core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php Modules to install.
CacheabilityMetadataConfigOverrideIntegrationTest::setUp function core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
CacheabilityMetadataConfigOverrideIntegrationTest::testConfigOverride function core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php Tests if config overrides correctly set cacheability metadata.
CacheabilityMetadataConfigOverrideTest class core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Tests if configuration overrides correctly affect cacheability metadata.
CacheabilityMetadataConfigOverrideTest.php file core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php
CacheabilityMetadataConfigOverrideTest::$modules property core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Modules to install.
CacheabilityMetadataConfigOverrideTest::setUp function core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php
CacheabilityMetadataConfigOverrideTest::testConfigEntityOverride function core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Tests if config overrides set cacheability metadata on config entities.
CacheabilityMetadataConfigOverrideTest::testConfigOverride function core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Tests if config overrides correctly set cacheability metadata.
CacheableExceptionTest class core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php Tests Cacheable Exception.
CacheableExceptionTest.php file core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php
CacheableExceptionTest::providerTestExceptions function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php
CacheableExceptionTest::testCacheableHttpException function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php Tests cacheable http exception.
CacheableExceptionTest::testExceptions function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php Tests exceptions.
CacheableMetadataCalculationTest class core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php Tests that cacheability metadata is only calculated when needed.
CacheableMetadataCalculationTest class core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Tests plugin that reports when cacheable metadata is being calculated.
CacheableMetadataCalculationTest.php file core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php
CacheableMetadataCalculationTest.php file core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php
CacheableMetadataCalculationTest::$entityTypeManager property core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php The entity type manager.
CacheableMetadataCalculationTest::$modules property core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php Modules to install.
CacheableMetadataCalculationTest::$state property core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php The state service.
CacheableMetadataCalculationTest::$state property core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php The state service.
CacheableMetadataCalculationTest::access function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Determine if the current user has access or not.
CacheableMetadataCalculationTest::alterRouteDefinition function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Allows access plugins to alter the route definition of a view.
CacheableMetadataCalculationTest::assertCacheableMetadataHasBeenCalculated function core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php Checks whether the view has calculated its cacheability metadata.
CacheableMetadataCalculationTest::cacheableMetadataHasBeenAccessed function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Sets a flag to inform tests that cacheable metadata has been accessed.
CacheableMetadataCalculationTest::create function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Instantiates a new instance of the implementing class using autowiring.
CacheableMetadataCalculationTest::getCacheContexts function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php The cache contexts associated with this object.
CacheableMetadataCalculationTest::getCacheMaxAge function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php The maximum age for which this object may be cached.
CacheableMetadataCalculationTest::getCacheTags function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php The cache tags associated with this object.
CacheableMetadataCalculationTest::resetState function core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php Resets the state so we are ready for a new test.
CacheableMetadataCalculationTest::setUp function core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php
CacheableMetadataCalculationTest::testCacheableMetadataCalculation function core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php Tests that cacheability metadata is only calculated when needed.
CacheableMetadataCalculationTest::TEST_MODULE constant core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php The ID of the module used in the test.
CacheableMetadataCalculationTest::TEST_VIEW_ID constant core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php The ID of the view used in the test.
CacheableMetadataCalculationTest::__construct function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Constructs a CacheableMetadataCalculationTest access plugin.
CacheableMetadataTest class core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Tests Drupal\Core\Cache\CacheableMetadata.
CacheableMetadataTest.php file core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
CacheableMetadataTest::providerSetCacheMaxAge function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Data provider for testSetCacheMaxAge.
CacheableMetadataTest::providerTestCreateFromObject function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for createFromObject().
CacheableMetadataTest::providerTestCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for createFromRenderArray().
CacheableMetadataTest::providerTestMerge function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for testMerge().
CacheableMetadataTest::testAddCacheableDependency function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Tests addCacheableDependency().
CacheableMetadataTest::testAddCacheTags function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php This delegates to Cache::mergeTags(), so just a basic test.

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