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. Search main for test
  6. 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
TranslationWebTest::$defaultTheme property core/modules/field/tests/src/Functional/TranslationWebTest.php The theme to install as the default for testing.
TranslationWebTest::$entityTypeId property core/modules/field/tests/src/Functional/TranslationWebTest.php The name of the entity type to use in this test.
TranslationWebTest::$field property core/modules/field/tests/src/Functional/TranslationWebTest.php The field to use in this test.
TranslationWebTest::$fieldName property core/modules/field/tests/src/Functional/TranslationWebTest.php The name of the field to use in this test.
TranslationWebTest::$fieldStorage property core/modules/field/tests/src/Functional/TranslationWebTest.php The field storage to use in this test.
TranslationWebTest::$modules property core/modules/field/tests/src/Functional/TranslationWebTest.php Modules to enable.
TranslationWebTest::checkTranslationRevisions function core/modules/field/tests/src/Functional/TranslationWebTest.php Check if the field translation attached to the entity revision identified
by the passed arguments were correctly stored.
TranslationWebTest::setUp function core/modules/field/tests/src/Functional/TranslationWebTest.php
TranslationWebTest::testFieldFormTranslationRevisions function core/modules/field/tests/src/Functional/TranslationWebTest.php Tests field translations when creating a new revision.
TriggeringElementProgrammedTest class core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Tests detection of triggering_element for programmed form submissions.
TriggeringElementProgrammedTest.php file core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php
TriggeringElementProgrammedTest::buildForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Form constructor.
TriggeringElementProgrammedTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Returns a unique string identifying the form.
TriggeringElementProgrammedTest::submitForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Form submission handler.
TriggeringElementProgrammedTest::testLimitValidationErrors function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Tests that #limit_validation_errors of the only submit button takes effect.
TriggeringElementProgrammedTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Form validation handler.
TriggeringElementTest class core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Tests that FAPI correctly determines the triggering element.
TriggeringElementTest.php file core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php
TriggeringElementTest::$defaultTheme property core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php The theme to install as the default for testing.
TriggeringElementTest::$modules property core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Modules to enable.
TriggeringElementTest::testAttemptAccessControlBypass function core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Tests attempts to bypass access control.
TriggeringElementTest::testNoButtonInfoInPost function core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Tests the triggering element when no button information is included.
TrustedHostsRequestFactoryTest class core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Tests the trusted hosts request factory.
TrustedHostsRequestFactoryTest.php file core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php
TrustedHostsRequestFactoryTest::providerTestCreateRequest function core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Provides data for testCreateRequest().
TrustedHostsRequestFactoryTest::testCreateRequest function core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Tests TrustedHostsRequestFactory::createRequest().
TrustedHostsTest class core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests output on the status overview page.
TrustedHostsTest.php file core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
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::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 that the status page shows an error when the trusted host setting
is missing from settings.php
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::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 %}

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