Search for test
- Search 7.x for test
- Search 9.5.x for test
- Search 10.3.x for test
- Search 11.x for test
- Search main for test
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Test | class | core/ |
Provides test media source. |
| Test | class | core/ |
Defines a test controller for page titles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| OEmbedFormatterTest::testDisplayConfiguration | function | core/ |
Tests that oEmbed media types' display can be configured correctly. |
| OEmbedFormatterTest::testRender | function | core/ |
Tests the oEmbed field formatter. |
| OEmbedIframeControllerTest | class | core/ |
@coversDefaultClass \Drupal\media\Controller\OEmbedIframeController[[api-linebreak]] |
| OEmbedIframeControllerTest.php | file | core/ |
|
| OEmbedIframeControllerTest::providerBadHashParameter | function | core/ |
Data provider for testBadHashParameter(). |
| OEmbedIframeControllerTest::testBadHashParameter | function | core/ |
Tests validation of the 'hash' query string parameter. |
| OEmbedResourceConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator[[api-linebreak]] |
| OEmbedResourceConstraintValidatorTest.php | file | core/ |
|
| OEmbedResourceConstraintValidatorTest::$modules | property | core/ |
Modules to enable. |
| OEmbedResourceConstraintValidatorTest::getValue | function | core/ |
Wraps a media entity in an anonymous class to mock a field value. |
| OEmbedResourceConstraintValidatorTest::setUp | function | core/ |
|
| OEmbedResourceConstraintValidatorTest::testValidateEmptySource | function | core/ |
@covers ::validate[[api-linebreak]] |
| OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked | function | core/ |
@covers ::validate[[api-linebreak]] |
| OEmbedSourceTest | class | core/ |
@coversDefaultClass \Drupal\media\Plugin\media\Source\OEmbed[[api-linebreak]] |
| OEmbedSourceTest.php | file | core/ |
|
| OEmbedSourceTest::testGetMetadata | function | core/ |
@covers ::getMetadata[[api-linebreak]] |
| OEmbedSourceTest::testLocalThumbnailUriQueryStringIsIgnored | function | core/ |
@covers ::getLocalThumbnailUri[[api-linebreak]] |
| OEmbedTestTrait | trait | core/ |
Contains helper functions for testing oEmbed functionality in isolation. |
| OEmbedTestTrait.php | file | core/ |
|
| OEmbedTestTrait::getFixturesDirectory | function | core/ |
Returns the relative path to the oEmbed fixtures directory. |
| OEmbedTestTrait::getFixturesUrl | function | core/ |
Returns the absolute URL of the oEmbed fixtures directory. |
| OEmbedTestTrait::hijackProviderEndpoints | function | core/ |
Ensures that all oEmbed provider endpoints defined in the fixture providers.json will use the media_test_oembed.resource.get route as their URL. |
| OEmbedTestTrait::lockHttpClientToFixtures | function | core/ |
Configures the http_client service so that all requests are carried out relative to the URL of the fixtures directory. For example, after calling this method, a request for foobar.html will actually request http://test-site/path/to/fuxtures/foobar.html. |
| OEmbedTestTrait::useFixtureProviders | function | core/ |
Forces Media to use the provider database in the fixtures directory. |
| OffCanvasDialogTest | class | core/ |
Performs tests on opening and manipulating dialogs via AJAX commands. |
| OffCanvasDialogTest.php | file | core/ |
|
| OffCanvasDialogTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| OffCanvasDialogTest::$modules | property | core/ |
Modules to enable. |
| OffCanvasDialogTest::dialogPosition | function | core/ |
The data provider for potential dialog positions. |
| OffCanvasDialogTest::testDialog | function | core/ |
Test sending AJAX requests to open and manipulate off-canvas dialog. |
| OffCanvasTest | class | core/ |
Tests the off-canvas dialog functionality. |
| OffCanvasTest.php | file | core/ |
|
| OffCanvasTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| OffCanvasTest::$lastDialogClass | property | core/ |
Stores to the class that should be on the last dialog. |
| OffCanvasTest::$modules | property | core/ |
Modules to enable. |
| OffCanvasTest::assertOffCanvasDialog | function | core/ |
|
| OffCanvasTest::testNarrowWidth | function | core/ |
Tests the body displacement behaves differently at a narrow width. |
| OffCanvasTest::testOffCanvasLinks | function | core/ |
Tests that non-contextual links will work with the off-canvas dialog. |
| OffCanvasTestBase | class | core/ |
Base class contains common test functionality for the Off-canvas dialog. |
| OffCanvasTestBase.php | file | core/ |
|
| OffCanvasTestBase::assertAllContextualLinksLoaded | function | core/ |
Assert all contextual link areas have be loaded. |
| OffCanvasTestBase::assertElementVisibleAfterWait | function | core/ |
Asserts the specified selector is visible after a wait. |
| OffCanvasTestBase::assertPageLoadComplete | function | core/ |
Assert the page is completely loaded. |
| OffCanvasTestBase::drupalGet | function | core/ |
Retrieves a Drupal path or an absolute path. |
| OffCanvasTestBase::enableTheme | function | core/ |
Enables a theme. |
| OffCanvasTestBase::getOffCanvasDialog | function | core/ |
Gets the off-canvas dialog element. |
| OffCanvasTestBase::getTestThemes | function | core/ |
Get themes to test. |
| OffCanvasTestBase::themeDataProvider | function | core/ |
Dataprovider that returns theme name as the sole argument. |
| OffCanvasTestBase::waitForNoElement | function | core/ |
Waits for an element to be removed from the page. |
| OffCanvasTestBase::waitForOffCanvasToClose | function | core/ |
Waits for off-canvas dialog to close. |
Pagination
- Previous page
- Page 515
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.