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. 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::$anyUser property core/modules/help_topics/tests/src/Functional/HelpTopicTest.php The anonymous user that will be created.
HelpTopicTest::$defaultTheme property core/modules/help_topics/tests/src/Functional/HelpTopicTest.php The theme to install as the default for testing.
HelpTopicTest::$modules property core/modules/help_topics/tests/src/Functional/HelpTopicTest.php Modules to enable.
HelpTopicTest::getTopicList function core/modules/help_topics/tests/src/Functional/HelpTopicTest.php Gets a list of topic IDs to test.
HelpTopicTest::setUp function core/modules/help_topics/tests/src/Functional/HelpTopicTest.php
HelpTopicTest::testHelp function core/modules/help_topics/tests/src/Functional/HelpTopicTest.php Tests the main help page and individual pages for topics.
HelpTopicTest::verifyBreadCrumb function core/modules/help_topics/tests/src/Functional/HelpTopicTest.php Tests breadcrumb on a help topic page.
HelpTopicTest::verifyHelp function core/modules/help_topics/tests/src/Functional/HelpTopicTest.php Verifies the logged in user has access to various help links and pages.
HelpTopicTest::verifyHelpLinks function core/modules/help_topics/tests/src/Functional/HelpTopicTest.php Verifies links on the test help topic page and other pages.
HelpTopicTranslatedTestBase class core/modules/help_topics/tests/src/Functional/HelpTopicTranslatedTestBase.php Provides a base class for functional help topic tests that use translation.
HelpTopicTranslatedTestBase.php file core/modules/help_topics/tests/src/Functional/HelpTopicTranslatedTestBase.php
HelpTopicTranslatedTestBase::$modules property core/modules/help_topics/tests/src/Functional/HelpTopicTranslatedTestBase.php Modules to enable.
HelpTopicTranslatedTestBase::installParameters function core/modules/help_topics/tests/src/Functional/HelpTopicTranslatedTestBase.php Returns the parameters that will be used when Simpletest installs Drupal.
HelpTopicTranslatedTestBase::setUp function core/modules/help_topics/tests/src/Functional/HelpTopicTranslatedTestBase.php
HelpTopicTranslationTest class core/modules/help_topics/tests/src/Functional/HelpTopicTranslationTest.php Verifies help topic translations.
HelpTopicTranslationTest.php file core/modules/help_topics/tests/src/Functional/HelpTopicTranslationTest.php
HelpTopicTranslationTest::$defaultTheme property core/modules/help_topics/tests/src/Functional/HelpTopicTranslationTest.php The theme to install as the default for testing.
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_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.

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