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
TrustedHostsTest::$defaultTheme property core/modules/system/tests/src/Functional/System/TrustedHostsTest.php The theme to install as the default for testing.
TrustedHostsTest::setUp function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
TrustedHostsTest::testFakeRequests function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that fake requests have the proper host configured.
TrustedHostsTest::testRequestBags function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that the request bags have the correct classes.
TrustedHostsTest::testShortcut function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that shortcut module works together with host verification.
TrustedHostsTest::testStatusPageWithConfiguration function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that the status page shows the trusted patterns from settings.php.
TrustedHostsTest::testStatusPageWithoutConfiguration function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests the status page behavior with no setting.
TrustedHostsTestController class core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php Provides a test controller for testing the trusted hosts setting.
TrustedHostsTestController.php file core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php
TrustedHostsTestController::bagType function core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php Creates a fake request and prints out the class name of the specified bag.
TrustedHostsTestController::fakeRequestHost function core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php Creates a fake request and prints out its host.
TrustedRedirectResponseTest class core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @coversDefaultClass \Drupal\Core\Routing\TrustedRedirectResponse[[api-linebreak]]
@group Routing
TrustedRedirectResponseTest.php file core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php
TrustedRedirectResponseTest::providerCreateFromRedirectResponse function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php
TrustedRedirectResponseTest::testCreateFromRedirectResponse function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::createFromRedirectResponse[[api-linebreak]]
@dataProvider providerCreateFromRedirectResponse
TrustedRedirectResponseTest::testSetTargetUrlWithInternalUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl[[api-linebreak]]
TrustedRedirectResponseTest::testSetTargetUrlWithTrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl[[api-linebreak]]
TrustedRedirectResponseTest::testSetTargetUrlWithUntrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl[[api-linebreak]]
trusted_hosts_test.info.yml file core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.info.yml core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.info.yml
trusted_hosts_test.routing.yml file core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml
twig-autoescape-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-autoescape-test.html.twig {# Template for testing autoescape. #}
{{ script }}
twig-raw-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-raw-test.html.twig {# Template for testing |raw with autoescape. #}
{% autoescape %}
{{ script|raw }}
{% endautoescape %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test-extend.html.twig This line is from twig_theme_test/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-extend.html.twig This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader/templates/twig-registry-loader-test-extend.html.twig This line is from test_theme_twig_registry_loader/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-include.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-include.html.twig This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test-include.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader/templates/twig-registry-loader-test-include.html.twig This line is from test_theme_twig_registry_loader/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test-include.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test-include.html.twig This line is from twig_theme_test/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test.html.twig {% extends "twig-registry-loader-test-extend.html.twig" %}

{% block content %}
{% include "twig-registry-loader-test-include.html.twig" %}
{% endblock %}
twig-theme-test-embed-tag-embedded.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-theme-test-embed-tag-embedded.html.twig This line is from twig_theme_test/templates/twig-theme-test-embed-tag-embedded.html.twig
TwigDebugMarkupTest class core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php Tests for Twig debug markup.
TwigDebugMarkupTest.php file core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php
TwigDebugMarkupTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php The theme to install as the default for testing.
TwigDebugMarkupTest::$modules property core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php Modules to install.
TwigDebugMarkupTest::testTwigDebugMarkup function core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php Tests debug markup added to Twig template output.
TwigDeprecationsTest class core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Tests deprecating variables passed to twig templates.
TwigDeprecationsTest.php file core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php
TwigDeprecationsTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Modules to install.
TwigDeprecationsTest::assertRendered function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Assert that 'theme_test_deprecations_preprocess' renders expected text.
TwigDeprecationsTest::getDeprecationMessage function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Get an example deprecation message for a named variable.
TwigDeprecationsTest::testAssignedVariableDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of variables assigned inside template triggers no error.
TwigDeprecationsTest::testEmptyDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of empty variable triggers error.
TwigDeprecationsTest::testHookThemeDeprecations function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecating variables at definition in hook_theme().
TwigDeprecationsTest::testMultipleDeprecations function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of multiple variables triggers errors.
TwigDeprecationsTest::testParentVariableDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of variables in parent does not leak to child.
TwigDeprecationsTest::testSingleDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of single variable triggers error.
TwigDeprecationsTest::testThemeTestDeprecations function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test theme_test_deprecations_preprocess renders without deprecations.
TwigDeprecationsTest::testUndefinedDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of undefined variable triggers no error.
TwigEnvironmentTest class core/modules/system/tests/src/Functional/Theme/TwigEnvironmentTest.php Tests Twig environment.
TwigEnvironmentTest class core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Tests the twig environment.

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