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
CsrfTokenGeneratorTest::testGetWithNoHashSalt function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests the exception thrown when no 'hash_salt' is provided in settings.
CsrfTokenGeneratorTest::testInvalidParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate() with invalid parameter types.
CsrfTokenGeneratorTest::testValidate function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate().
CsrfTokenGeneratorTest::testValidateParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate() with different parameter types.
CsrfTokenRaceTest class core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php Test race condition for CSRF tokens for simultaneous requests.
CsrfTokenRaceTest.php file core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php
CsrfTokenRaceTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php The theme to install as the default for testing.
CsrfTokenRaceTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php Modules to enable.
CsrfTokenRaceTest::testCsrfRace function core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php Test race condition for CSRF tokens for simultaneous requests.
csrf_race_test.info.yml file core/modules/system/tests/modules/csrf_race_test/csrf_race_test.info.yml core/modules/system/tests/modules/csrf_race_test/csrf_race_test.info.yml
csrf_race_test.routing.yml file core/modules/system/tests/modules/csrf_race_test/csrf_race_test.routing.yml core/modules/system/tests/modules/csrf_race_test/csrf_race_test.routing.yml
csrf_test.info.yml file core/modules/system/tests/modules/csrf_test/csrf_test.info.yml core/modules/system/tests/modules/csrf_test/csrf_test.info.yml
csrf_test.routing.yml file core/modules/system/tests/modules/csrf_test/csrf_test.routing.yml core/modules/system/tests/modules/csrf_test/csrf_test.routing.yml
CssCollectionGrouperUnitTest class core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php Tests the CSS asset collection grouper.
CssCollectionGrouperUnitTest.php file core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php
CssCollectionGrouperUnitTest::$grouper property core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php A CSS asset grouper.
CssCollectionGrouperUnitTest::setUp function core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php
CssCollectionGrouperUnitTest::testGrouper function core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php Tests \Drupal\Core\Asset\CssCollectionGrouper.
CssCollectionRendererUnitTest class core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php Tests the CSS asset collection renderer.
CssCollectionRendererUnitTest.php file core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
CssCollectionRendererUnitTest::$fileCssGroup property core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php A valid file CSS asset group.
CssCollectionRendererUnitTest::$renderer property core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php A CSS asset renderer.
CssCollectionRendererUnitTest::providerTestRender function core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php Provides data for the CSS asset rendering test.
CssCollectionRendererUnitTest::setUp function core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
CssCollectionRendererUnitTest::testRender function core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php Tests CSS asset rendering.
CssCollectionRendererUnitTest::testRenderInvalidType function core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php Tests a CSS asset group with the invalid 'type' => 'internal'.
CssOptimizerUnitTest class core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests the CSS asset optimizer.
CssOptimizerUnitTest.php file core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
CssOptimizerUnitTest::$backupGlobals property core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
CssOptimizerUnitTest::$optimizer property core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php A CSS asset optimizer.
CssOptimizerUnitTest::providerTestOptimize function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Provides data for the CSS asset optimizing test.
CssOptimizerUnitTest::setUp function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
CssOptimizerUnitTest::testOptimize function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests optimizing a CSS asset group containing 'type' => 'file'.
CssOptimizerUnitTest::testTypeExternal function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests a CSS asset with 'type' => 'external'.
CssOptimizerUnitTest::testTypeFilePreprocessingDisabled function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests a file CSS asset with preprocessing disabled.
css_disable_transitions_test.info.yml file core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.info.yml core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.info.yml
css_disable_transitions_test.libraries.yml file core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.libraries.yml core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.libraries.yml
css_disable_transitions_test.module file core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.module Helper module for disabling animations in tests.
css_disable_transitions_test_page_attachments function core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.module Implements hook_page_attachments().
CurrentRouteMatchTest class core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @coversDefaultClass \Drupal\Core\Routing\CurrentRouteMatch[[api-linebreak]]
@group Routing
CurrentRouteMatchTest.php file core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php
CurrentRouteMatchTest::getRouteMatch function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php Build a test route match object for the given implementation.
CurrentRouteMatchTest::testGetCurrentRouteObject function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::__construct[[api-linebreak]]
@covers ::getRouteObject[[api-linebreak]]
@covers ::getCurrentRouteMatch[[api-linebreak]]
@covers ::getRouteMatch[[api-linebreak]]
CurrentRouteMatchTest::testGetRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::getRouteMatchFromRequest[[api-linebreak]]
CurrentRouteMatchTest::testGetRouteMatchFromRequestWithRouting function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::getRouteMatchFromRequest[[api-linebreak]]
CurrentRouteMatchTest::testResetRouteMatch function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::resetRouteMatch[[api-linebreak]]
CurrentThemeConditionTest class core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php Tests the CurrentThemeCondition plugin.
CurrentThemeConditionTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php
CurrentThemeConditionTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php Modules to enable.
CurrentThemeConditionTest::testCurrentTheme function core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php Tests the current theme condition.

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