Search for test

  1. Search 7.x for test
  2. Search 8.9.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
HelpTopicTranslationTest::setUp function core/modules/help_topics/tests/src/Functional/HelpTopicTranslationTest.php
HelpTopicTranslationTest::testHelpTopicTranslations function core/modules/help_topics/tests/src/Functional/HelpTopicTranslationTest.php Tests help topic translations.
HelpTopicTwigLoaderTest class core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php Unit test for the HelpTopicTwigLoader class.
HelpTopicTwigLoaderTest.php file core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php
HelpTopicTwigLoaderTest::$directories property core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php The virtual directories to use in testing.
HelpTopicTwigLoaderTest::$helpLoader property core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php The help topic loader instance to test.
HelpTopicTwigLoaderTest::getHandlerMock function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php Creates a mock module or theme handler class for the test.
HelpTopicTwigLoaderTest::setUp function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php
HelpTopicTwigLoaderTest::setUpVfs function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php Sets up the virtual file system.
HelpTopicTwigLoaderTest::testConstructor function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php @covers ::__construct[[api-linebreak]]
HelpTopicTwigLoaderTest::testGetSourceContext function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php @covers ::getSourceContext[[api-linebreak]]
HelpTopicTwigLoaderTest::testGetSourceContextException function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php @covers ::getSourceContext[[api-linebreak]]
HelpTopicTwigTest class core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php Unit test for the HelpTopicTwig class.
HelpTopicTwigTest.php file core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php
HelpTopicTwigTest::$helpTopic property core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php The help topic instance to test.
HelpTopicTwigTest::getTwigMock function core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php Creates a mock Twig loader class for the test.
HelpTopicTwigTest::PLUGIN_INFORMATION constant core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php The plugin information to use for setting up a test topic.
HelpTopicTwigTest::setUp function core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php
HelpTopicTwigTest::testCacheInfo function core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php @covers ::getCacheContexts[[api-linebreak]]
@covers ::getCacheTags[[api-linebreak]]
@covers ::getCacheMaxAge[[api-linebreak]]
HelpTopicTwigTest::testDefinition function core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php @covers ::getProvider[[api-linebreak]]
@covers ::isTopLevel[[api-linebreak]]
@covers ::getRelated[[api-linebreak]]
HelpTopicTwigTest::testText function core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php @covers ::getBody[[api-linebreak]]
@covers ::getLabel[[api-linebreak]]
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.module file core/modules/help/tests/modules/help_page_test/help_page_test.module Help Page Test module to test the help page.
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_page_test_help function core/modules/help/tests/modules/help_page_test/help_page_test.module Implements hook_help().
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.module file core/modules/help/tests/modules/help_test/help_test.module Test Help module.
help_test_help function core/modules/help/tests/modules/help_test/help_test.module Implements hook_help().
help_test_twig.extension service core/modules/help_topics/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_topics/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_topics/tests/modules/help_topics_test/help_topics_test.help_topics.yml core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.help_topics.yml
help_topics_test.info.yml file core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.info.yml core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.info.yml
help_topics_test.linked.html.twig file core/modules/help_topics/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.module file core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.module Test module for help.
help_topics_test.permissions.yml file core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.permissions.yml core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.permissions.yml
help_topics_test.routing.yml file core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.routing.yml core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.routing.yml
help_topics_test.test.html.twig file core/modules/help_topics/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_topics/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_help function core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.module Implements hook_help().
help_topics_test_help_topics_info_alter function core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.module Implements hook_help_topics_info_alter().
help_topics_test_theme.info.yml file core/modules/help_topics/tests/themes/help_topics_test_theme/help_topics_test_theme.info.yml core/modules/help_topics/tests/themes/help_topics_test_theme/help_topics_test_theme.info.yml
help_topics_test_theme.test.html.twig file core/modules/help_topics/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>
help_topics_twig_tester.info.yml file core/modules/help_topics/tests/modules/help_topics_twig_tester/help_topics_twig_tester.info.yml core/modules/help_topics/tests/modules/help_topics_twig_tester/help_topics_twig_tester.info.yml
help_topics_twig_tester.services.yml file core/modules/help_topics/tests/modules/help_topics_twig_tester/help_topics_twig_tester.services.yml core/modules/help_topics/tests/modules/help_topics_twig_tester/help_topics_twig_tester.services.yml
HiddenTaxonomyTermReferenceFieldWizardTest class core/modules/node/tests/src/Functional/Views/Wizard/HiddenTaxonomyTermReferenceFieldWizardTest.php Tests node wizard and content type with hidden Taxonomy Term Reference field.
HiddenTaxonomyTermReferenceFieldWizardTest.php file core/modules/node/tests/src/Functional/Views/Wizard/HiddenTaxonomyTermReferenceFieldWizardTest.php
HiddenTaxonomyTermReferenceFieldWizardTest::$defaultTheme property core/modules/node/tests/src/Functional/Views/Wizard/HiddenTaxonomyTermReferenceFieldWizardTest.php The theme to install as the default for testing.
HiddenTaxonomyTermReferenceFieldWizardTest::$modules property core/modules/node/tests/src/Functional/Views/Wizard/HiddenTaxonomyTermReferenceFieldWizardTest.php Modules to enable.
HiddenTaxonomyTermReferenceFieldWizardTest::testHiddenTaxonomyTermReferenceField function core/modules/node/tests/src/Functional/Views/Wizard/HiddenTaxonomyTermReferenceFieldWizardTest.php Tests content type with a hidden Taxonomy Term Reference field.
HiddenTestItem class core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/HiddenTestItem.php Defines the 'hidden_test' entity field item.

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