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. Search 11.x 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
HelpTopicTest::testHelp function core/modules/help/tests/src/Functional/HelpTopicTest.php Tests the main help page and individual pages for topics.
HelpTopicTest::testHelp function core/modules/help/tests/src/Kernel/HelpTopicTest.php Tests the main help page and individual pages for topics.
HelpTopicTest::testHelpLinks function core/modules/help/tests/src/Kernel/HelpTopicTest.php Verifies links on various topic pages.
HelpTopicTest::testHelpLinks function core/modules/help/tests/src/Functional/HelpTopicTest.php Verifies links on various topic pages.
HelpTopicTest::verifyBreadCrumb function core/modules/help/tests/src/Functional/HelpTopicTest.php Tests breadcrumb on a help topic page.
HelpTopicTest::verifyBreadCrumb function core/modules/help/tests/src/Kernel/HelpTopicTest.php Tests breadcrumb on a help topic page.
HelpTopicTest::verifyHelp function core/modules/help/tests/src/Kernel/HelpTopicTest.php Verifies the logged in user has access to various help links and pages.
HelpTopicTest::verifyHelp function core/modules/help/tests/src/Functional/HelpTopicTest.php Verifies the logged in user has access to various help links and pages.
HelpTopicTranslatedTestBase class core/modules/help/tests/src/Functional/HelpTopicTranslatedTestBase.php Provides a base class for functional help topic tests that use translation.
HelpTopicTranslatedTestBase.php file core/modules/help/tests/src/Functional/HelpTopicTranslatedTestBase.php
HelpTopicTranslatedTestBase::$modules property core/modules/help/tests/src/Functional/HelpTopicTranslatedTestBase.php
HelpTopicTranslatedTestBase::installParameters function core/modules/help/tests/src/Functional/HelpTopicTranslatedTestBase.php
HelpTopicTranslatedTestBase::setUp function core/modules/help/tests/src/Functional/HelpTopicTranslatedTestBase.php
HelpTopicTranslationTest class core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php Verifies help topic translations.
HelpTopicTranslationTest.php file core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php
HelpTopicTranslationTest::$defaultTheme property core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php
HelpTopicTranslationTest::setUp function core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php
HelpTopicTranslationTest::testHelpTopicTranslations function core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php Tests help topic translations.
HelpTopicTwigLoaderTest class core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php Unit test for the HelpTopicTwigLoader class.
HelpTopicTwigLoaderTest.php file core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php
HelpTopicTwigLoaderTest::$directories property core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php The virtual directories to use in testing.
HelpTopicTwigLoaderTest::$helpLoader property core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php The help topic loader instance to test.
HelpTopicTwigLoaderTest::setUp function core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php
HelpTopicTwigLoaderTest::setUpVfs function core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php Sets up the virtual file system.
HelpTopicTwigLoaderTest::testConstructor function core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php Tests constructor.
HelpTopicTwigLoaderTest::testGetSourceContext function core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php Tests get source context.
HelpTopicTwigLoaderTest::testGetSourceContextException function core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php Tests get source context exception.
HelpTopicTwigTest class core/modules/help/tests/src/Unit/HelpTopicTwigTest.php Unit test for the HelpTopicTwig class.
HelpTopicTwigTest.php file core/modules/help/tests/src/Unit/HelpTopicTwigTest.php
HelpTopicTwigTest::$helpTopic property core/modules/help/tests/src/Unit/HelpTopicTwigTest.php The help topic instance to test.
HelpTopicTwigTest::getTwigMock function core/modules/help/tests/src/Unit/HelpTopicTwigTest.php Creates a mock Twig loader class for the test.
HelpTopicTwigTest::PLUGIN_INFORMATION constant core/modules/help/tests/src/Unit/HelpTopicTwigTest.php The plugin information to use for setting up a test topic.
HelpTopicTwigTest::setUp function core/modules/help/tests/src/Unit/HelpTopicTwigTest.php
HelpTopicTwigTest::testCacheInfo function core/modules/help/tests/src/Unit/HelpTopicTwigTest.php Tests cache info.
HelpTopicTwigTest::testDefinition function core/modules/help/tests/src/Unit/HelpTopicTwigTest.php Tests definition.
HelpTopicTwigTest::testText function core/modules/help/tests/src/Unit/HelpTopicTwigTest.php Tests text.
help_page_test.info.yml file core/modules/help/tests/modules/help_page_test/help_page_test.info.yml core/modules/help/tests/modules/help_page_test/help_page_test.info.yml
help_page_test.routing.yml file core/modules/help/tests/modules/help_page_test/help_page_test.routing.yml core/modules/help/tests/modules/help_page_test/help_page_test.routing.yml
help_test.info.yml file core/modules/help/tests/modules/help_test/help_test.info.yml core/modules/help/tests/modules/help_test/help_test.info.yml
help_test_twig.extension service core/modules/help/tests/modules/help_topics_twig_tester/help_topics_twig_tester.services.yml Drupal\help_topics_twig_tester\HelpTestTwigExtension
help_topics_test.additional.html.twig file core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.additional.html.twig ---
label: 'Additional topic'
related:
- help_topics_test.test
---
<p>{% trans %}This topic should get listed automatically on the Help test topic.{% endtrans %}</p>
help_topics_test.help_topics.yml file core/modules/help/tests/modules/help_topics_test/help_topics_test.help_topics.yml core/modules/help/tests/modules/help_topics_test/help_topics_test.help_topics.yml
help_topics_test.info.yml file core/modules/help/tests/modules/help_topics_test/help_topics_test.info.yml core/modules/help/tests/modules/help_topics_test/help_topics_test.info.yml
help_topics_test.linked.html.twig file core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.linked.html.twig ---
label: 'Linked topic'
---
<p>{% trans %}This topic is not supposed to be top-level.{% endtrans %}</p>
help_topics_test.permissions.yml file core/modules/help/tests/modules/help_topics_test/help_topics_test.permissions.yml core/modules/help/tests/modules/help_topics_test/help_topics_test.permissions.yml
help_topics_test.routing.yml file core/modules/help/tests/modules/help_topics_test/help_topics_test.routing.yml core/modules/help/tests/modules/help_topics_test/help_topics_test.routing.yml
help_topics_test.test.html.twig file core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.test.html.twig ---
label: "ABC Help Test module"
top_level: true
related:
- help_topics_test.linked
- does_not_exist.and_no_error
---
{% set help_topic_link = render_var(help_topic_link('help_topics_test.test_urls')) %}
<p>{% trans…
help_topics_test.test_urls.html.twig file core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.test_urls.html.twig ---
label: 'URL test topic'
top_level: true
---
{% set non_route_link = render_var(help_route_link('not a route', 'not_a_real_route')) %}
{% set missing_params_link = render_var(help_route_link('missing params',…
help_topics_test_theme.info.yml file core/modules/help/tests/themes/help_topics_test_theme/help_topics_test_theme.info.yml core/modules/help/tests/themes/help_topics_test_theme/help_topics_test_theme.info.yml
help_topics_test_theme.test.html.twig file core/modules/help/tests/themes/help_topics_test_theme/help_topics/help_topics_test_theme.test.html.twig ---
label: 'XYZ Help Test theme'
top_level: true
related:
- help_topics_test.additional
---
<p>{% trans %}This is a theme provided topic.{% endtrans %}</p>

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