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
TextSummaryNodeFieldsTokenTest::testViewsTokenReplacement function core/modules/text/tests/src/Functional/TextSummaryNodeFieldsTokenTest.php Tests token replacement for Views tokens supplied by the Node module.
TextSummaryTest class core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests TextSummary::generate() with different strings and lengths.
TextSummaryTest.php file core/modules/text/tests/src/Kernel/TextSummaryTest.php
TextSummaryTest::$modules property core/modules/text/tests/src/Kernel/TextSummaryTest.php
TextSummaryTest::assertTextSummary function core/modules/text/tests/src/Kernel/TextSummaryTest.php Calls TextSummary::generate() and asserts that the expected teaser is returned.
TextSummaryTest::setUp function core/modules/text/tests/src/Kernel/TextSummaryTest.php
TextSummaryTest::testFirstSentenceQuestion function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests text summaries for a question followed by a sentence.
TextSummaryTest::testInvalidFilterFormat function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests text summaries with an invalid filter format.
TextSummaryTest::testLength function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests various summary length edge cases.
TextSummaryTest::testLongSentence function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests summary with long example.
TextSummaryTest::testNormalization function core/modules/text/tests/src/Kernel/TextSummaryTest.php Test text normalization when filter_html or filter_htmlcorrector enabled.
TextSummaryTest::testRequiredSummary function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests required summary.
TextSummaryTestHooks class core/modules/text/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php Hook implementations for text_summary_test.
TextSummaryTestHooks.php file core/modules/text/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php
TextSummaryTestHooks::pageAttachmentsAlter function core/modules/text/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php Implements hook_page_attachments_alter().
TextSummaryTestHooks::__construct function core/modules/text/tests/modules/text_summary_test/src/Hook/TextSummaryTestHooks.php
TextTestHooks class core/modules/text/tests/modules/text_test/src/Hook/TextTestHooks.php Hook implementations for text_test.
TextTestHooks.php file core/modules/text/tests/modules/text_test/src/Hook/TextTestHooks.php
TextTestHooks::entityBundleFieldInfoAlter function core/modules/text/tests/modules/text_test/src/Hook/TextTestHooks.php Implements hook_entity_bundle_field_info_alter().
TextTestHooks::__construct function core/modules/text/tests/modules/text_test/src/Hook/TextTestHooks.php
TextWithSummaryFileUsageTest class core/modules/editor/tests/src/Kernel/TextWithSummaryFileUsageTest.php Tests tracking of file usage by the Text Editor module.
TextWithSummaryFileUsageTest.php file core/modules/editor/tests/src/Kernel/TextWithSummaryFileUsageTest.php
TextWithSummaryFileUsageTest::$modules property core/modules/editor/tests/src/Kernel/TextWithSummaryFileUsageTest.php
TextWithSummaryFileUsageTest::setUp function core/modules/editor/tests/src/Kernel/TextWithSummaryFileUsageTest.php
TextWithSummaryFileUsageTest::testEditorEntityHooks function core/modules/editor/tests/src/Kernel/TextWithSummaryFileUsageTest.php Tests the configurable text editor manager.
TextWithSummaryItemTest class core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Tests using entity fields of the text summary field type.
TextWithSummaryItemTest.php file core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
TextWithSummaryItemTest::$field property core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Field entity.
TextWithSummaryItemTest::$fieldStorage property core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Field storage entity.
TextWithSummaryItemTest::$modules property core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
TextWithSummaryItemTest::createField function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Creates a text_with_summary field storage and field.
TextWithSummaryItemTest::setUp function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
TextWithSummaryItemTest::testCrudAndUpdate function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Tests processed properties.
TextWithSummaryTokenReplaceTest class core/modules/node/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php Tests node token replacement for text_with_summary.
TextWithSummaryTokenReplaceTest.php file core/modules/node/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php
TextWithSummaryTokenReplaceTest::$modules property core/modules/node/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php
TextWithSummaryTokenReplaceTest::setUp function core/modules/node/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php
TextWithSummaryTokenReplaceTest::testNodeTokenReplacement function core/modules/node/tests/src/Kernel/TextWithSummaryTokenReplaceTest.php Creates a node, then tests the tokens generated from it.
text_summary_test.info.yml file core/modules/text/tests/modules/text_summary_test/text_summary_test.info.yml core/modules/text/tests/modules/text_summary_test/text_summary_test.info.yml
text_summary_test.libraries.yml file core/modules/text/tests/modules/text_summary_test/text_summary_test.libraries.yml core/modules/text/tests/modules/text_summary_test/text_summary_test.libraries.yml
text_test.info.yml file core/modules/text/tests/modules/text_test/text_test.info.yml core/modules/text/tests/modules/text_test/text_test.info.yml
theme-test--suggestion.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test--suggestion.html.twig {# Output for Theme API test #}
Theme hook implementor=theme-test--suggestion.html.twig. Foo={{ foo }}
theme-test-deprecations-child.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-child.html.twig {# Test use of deprecated variables in a child template. #}
{{- foo }}|
{{- gaz }}
theme-test-deprecations-hook-theme.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-hook-theme.html.twig {# Test variables deprecated in hook_theme(). #}
{{ foo }}
theme-test-deprecations-preprocess.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-preprocess.html.twig {# Test use of variables deprecated in a preprocess hook. #}
{% set set_var = 'set_var' %}
{{- foo }}|
{{- set_var }}|
{%- for for_var in contents %}
{{- for_var }}|
{%- endfor %}
{{- bar }}
theme-test-foo.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-foo.html.twig {# Output for Theme API test #}
{{ foo -}}
theme-test-function-template-override.html.twig file core/modules/system/tests/themes/test_theme/theme-test-function-template-override.html.twig {# Output for Theme API test #}
Success: Template overrides theme function.
theme-test-general-suggestions--module-override.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-general-suggestions--module-override.html.twig {# Output for Theme API test #}
Template overridden based on new theme suggestion provided by a module via hook_theme_suggestions_alter().
Hooks: {{ module_hook }} {{ theme_hook }}
theme-test-general-suggestions--theme-override.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-general-suggestions--theme-override.html.twig {# Output for Theme API test #}
Template overridden based on new theme suggestion provided by the test_theme theme via hook_theme_suggestions_alter().
Hooks: {{ module_hook }} {{ theme_hook }}
theme-test-general-suggestions.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-general-suggestions.html.twig {# Output for Theme API test #}
Original template for testing hook_theme_suggestions_alter().
Hooks: {{ module_hook }} {{ theme_hook }}

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