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 main 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.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
OEmbedIframeControllerTest.php file core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php
OEmbedIframeControllerTest::$modules property core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php
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
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::$logMessages property core/modules/media/tests/src/Kernel/OEmbedSourceTest.php The log messages captured during the test, keyed by log level.
OEmbedSourceTest::$modules property core/modules/media/tests/src/Kernel/OEmbedSourceTest.php
OEmbedSourceTest::log function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php
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::testThumbnailRejected function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php Tests that unsafe or invalid remote thumbnails are rejected.
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
OffCanvasDialogTest::$modules property core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php
OffCanvasDialogTest::dialogPosition function core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php The data provider for potential dialog positions.
OffCanvasDialogTest::testDialog function core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php Tests sending AJAX requests to open and manipulate off-canvas dialog.
OffCanvasTest class core/modules/system/tests/src/FunctionalJavascript/OffCanvasTest.php Tests the off-canvas dialog functionality.
OffCanvasTest.php file core/modules/system/tests/src/FunctionalJavascript/OffCanvasTest.php
OffCanvasTest::$defaultTheme property core/modules/system/tests/src/FunctionalJavascript/OffCanvasTest.php
OffCanvasTest::$lastDialogClass property core/modules/system/tests/src/FunctionalJavascript/OffCanvasTest.php Stores to the class that should be on the last dialog.
OffCanvasTest::$modules property core/modules/system/tests/src/FunctionalJavascript/OffCanvasTest.php
OffCanvasTest::assertOffCanvasDialog function core/modules/system/tests/src/FunctionalJavascript/OffCanvasTest.php Asserts that the off-canvas dialog opens and renders expected content.
OffCanvasTest::testNarrowWidth function core/modules/system/tests/src/FunctionalJavascript/OffCanvasTest.php Tests the body displacement behaves differently at a narrow width.
OffCanvasTest::testOffCanvasLinks function core/modules/system/tests/src/FunctionalJavascript/OffCanvasTest.php Tests that non-contextual links will work with the off-canvas dialog.
OffCanvasTestBase class core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php Base class contains common test functionality for the Off-canvas dialog.
OffCanvasTestBase.php file core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php
OffCanvasTestBase::$modules property core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php
OffCanvasTestBase::assertAllContextualLinksLoaded function core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php Assert all contextual link areas have be loaded.
OffCanvasTestBase::assertElementVisibleAfterWait function core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php Asserts the specified selector is visible after a wait.

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