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
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 Tests Drupal\Core\Routing\TrustedRedirectResponse.
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 Tests create from redirect response.
TrustedRedirectResponseTest::testSetTargetUrlWithInternalUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php Tests set target url with internal url.
TrustedRedirectResponseTest::testSetTargetUrlWithTrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php Tests set target url with trusted url.
TrustedRedirectResponseTest::testSetTargetUrlWithUntrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php Tests set target url with untrusted url.
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
TwigAllowListTest class core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php Tests the allowed list of entity properties.
TwigAllowListTest.php file core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php
TwigAllowListTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php Modules to install.
TwigAllowListTest::$term property core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php Term for referencing.
TwigAllowListTest::$twig property core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php Twig environment.
TwigAllowListTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php
TwigAllowListTest::testAllowListChaining function core/tests/Drupal/KernelTests/Core/Theme/TwigAllowListTest.php Tests listing of methods doesn't interfere with chaining.
TwigAttributesTest class core/tests/Drupal/KernelTests/Core/Theme/TwigAttributesTest.php Tests Twig with Attribute objects.
TwigAttributesTest.php file core/tests/Drupal/KernelTests/Core/Theme/TwigAttributesTest.php
TwigAttributesTest::testYield function core/tests/Drupal/KernelTests/Core/Theme/TwigAttributesTest.php Tests that Attributes are rendered at the correct time within a macro.
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.

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