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
NumericFormatPluralTest::$modules property core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
NumericFormatPluralTest::$testViews property core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Views used by this test.
NumericFormatPluralTest::createFile function core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Creates and saves a test file.
NumericFormatPluralTest::setUp function core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
NumericFormatPluralTest::testNumericFormatPlural function core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Tests plural formatting setting on a numeric views handler.
obsolete_theme_test.info.yml file core/modules/system/tests/themes/obsolete_theme_test/obsolete_theme_test.info.yml core/modules/system/tests/themes/obsolete_theme_test/obsolete_theme_test.info.yml
OEmbedFieldWidgetTest class core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php Tests OEmbed Field Widget.
OEmbedFieldWidgetTest.php file core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php
OEmbedFieldWidgetTest::$defaultTheme property core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php The theme to install as the default for testing.
OEmbedFieldWidgetTest::testFieldWidgetHelpText function core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php Tests that the oEmbed field widget shows the configured help text.
OEmbedFormatterTest class core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php Tests OEmbed Formatter.
OEmbedFormatterTest.php file core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php
OEmbedFormatterTest::$defaultTheme property core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php The theme to install as the default for testing.
OEmbedFormatterTest::$modules property core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php Modules to install.
OEmbedFormatterTest::providerRender function core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php Data provider for testRender().
OEmbedFormatterTest::setUp function core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php
OEmbedFormatterTest::testDisplayConfiguration function core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php Tests that oEmbed media types' display can be configured correctly.
OEmbedFormatterTest::testRender function core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php Tests the oEmbed field formatter.
OEmbedIframeControllerTest class core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests Drupal\media\Controller\OEmbedIframeController.
OEmbedIframeControllerTest.php file core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php
OEmbedIframeControllerTest::$modules property core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Modules to install.
OEmbedIframeControllerTest::providerBadHashParameter function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Data provider for testBadHashParameter().
OEmbedIframeControllerTest::testBadHashParameter function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests validation of the 'hash' query string parameter.
OEmbedIframeControllerTest::testResourcePassedToPreprocess function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests that resources can be used in media_oembed_iframe preprocess.
OEmbedIframeControllerTest::testResponseCacheMaxAge function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests that the response max age is set to the same value as that of the resource.
OEmbedIframeControllerTest::testResponseCacheMaxAgeGreaterThanFiveYears function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests that the response max age is 5 years when the max age returned by the provider is greater than 5 years.
OEmbedIframeControllerTest::testResponseCacheMaxAgeUponResourceException function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests that the response max age is set to 0 when a ResourceException is raised while fetching the resource.
OEmbedResourceConstraintValidatorTest class core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Tests Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator.
OEmbedResourceConstraintValidatorTest.php file core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php
OEmbedResourceConstraintValidatorTest::$modules property core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Modules to install.
OEmbedResourceConstraintValidatorTest::getValue function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Wraps a media entity in an anonymous class to mock a field value.
OEmbedResourceConstraintValidatorTest::setUp function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php
OEmbedResourceConstraintValidatorTest::testValidateEmptySource function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Tests validate empty source.
OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Tests validate url resolver invoked.
OEmbedSourceTest class core/modules/media/tests/src/Kernel/OEmbedSourceTest.php Tests Drupal\media\Plugin\media\Source\OEmbed.
OEmbedSourceTest.php file core/modules/media/tests/src/Kernel/OEmbedSourceTest.php
OEmbedSourceTest::$modules property core/modules/media/tests/src/Kernel/OEmbedSourceTest.php Modules to install.
OEmbedSourceTest::providerThumbnailUri function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php Data provider for ::testThumbnailUri().
OEmbedSourceTest::testGetMetadata function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php Tests get metadata.
OEmbedSourceTest::testThumbnailUri function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php Tests that remote thumbnails are downloaded correctly.
OEmbedTestTrait trait core/modules/media/tests/src/Traits/OEmbedTestTrait.php Contains helper functions for testing oEmbed functionality in isolation.
OEmbedTestTrait.php file core/modules/media/tests/src/Traits/OEmbedTestTrait.php
OEmbedTestTrait::getFixturesDirectory function core/modules/media/tests/src/Traits/OEmbedTestTrait.php Returns the relative path to the oEmbed fixtures directory.
OEmbedTestTrait::getFixturesUrl function core/modules/media/tests/src/Traits/OEmbedTestTrait.php Returns the absolute URL of the oEmbed fixtures directory.
OEmbedTestTrait::hijackProviderEndpoints function core/modules/media/tests/src/Traits/OEmbedTestTrait.php Ensures that oEmbed provider endpoints use the test resource route.
OEmbedTestTrait::lockHttpClientToFixtures function core/modules/media/tests/src/Traits/OEmbedTestTrait.php Configures the HTTP client to always use the fixtures directory.
OEmbedTestTrait::useFixtureProviders function core/modules/media/tests/src/Traits/OEmbedTestTrait.php Forces Media to use the provider database in the fixtures directory.
OffCanvasDialogTest class core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php Performs tests on opening and manipulating dialogs via AJAX commands.
OffCanvasDialogTest.php file core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php
OffCanvasDialogTest::$defaultTheme property core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php

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