Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| AssertContentTrait::assertTextPattern | function | core/ |
Asserts that a Perl regex pattern is found in the plain-text content. |
| AssertContentTrait::assertThemeOutput | function | core/ |
Asserts themed output. |
| AssertContentTrait::assertTitle | function | core/ |
Pass if the page title is the given string. |
| AssertContentTrait::assertUniqueText | function | core/ |
Passes if the text is found ONLY ONCE on the text version of the page. |
| AssertContentTrait::assertUniqueTextHelper | function | core/ |
Helper for assertUniqueText and assertNoUniqueText. |
| AssertContentTrait::buildXPathQuery | function | core/ |
Builds an XPath query. |
| AssertContentTrait::constructFieldXpath | function | core/ |
Helper: Constructs an XPath for the given set of attributes and value. |
| AssertContentTrait::cssSelect | function | core/ |
Searches elements using a CSS selector in the raw content. |
| AssertContentTrait::getAllOptions | function | core/ |
Get all option elements, including nested options, in a select. |
| AssertContentTrait::getDrupalSettings | function | core/ |
Gets the value of drupalSettings for the currently-loaded page. |
| AssertContentTrait::getRawContent | function | core/ |
Gets the current raw content. |
| AssertContentTrait::getSelectedItem | function | core/ |
Get the selected value from a select field. |
| AssertContentTrait::getTextContent | function | core/ |
Retrieves the plain-text content from the current raw content. |
| AssertContentTrait::parse | function | core/ |
Parse content returned from curlExec using DOM and SimpleXML. |
| AssertContentTrait::removeWhiteSpace | function | core/ |
Removes all white-space between HTML tags from the raw content. |
| AssertContentTrait::setDrupalSettings | function | core/ |
Sets the value of drupalSettings for the currently-loaded page. |
| AssertContentTrait::setRawContent | function | core/ |
Sets the raw content (e.g. HTML). |
| AssertContentTrait::xpath | function | core/ |
Performs an xpath search on the contents of the internal browser. |
| AssertContentTraitTest | class | core/ |
Tests Drupal\KernelTests\AssertContentTrait. |
| AssertContentTraitTest.php | file | core/ |
|
| AssertContentTraitTest::testGetTextContent | function | core/ |
Tests get text content. |
| AssertMailTrait | trait | core/ |
Provides methods for testing emails sent during test runs. |
| AssertMailTrait.php | file | core/ |
|
| AssertMailTrait::assertMail | function | core/ |
Asserts that the most recently sent email message has the given value. |
| AssertMailTrait::assertMailPattern | function | core/ |
Asserts that the most recently sent email message has the pattern in it. |
| AssertMailTrait::assertMailString | function | core/ |
Asserts that the most recently sent email message has the string in it. |
| AssertMailTrait::getMails | function | core/ |
Gets an array containing all emails sent during this test case. |
| AssertMailTraitTest | class | core/ |
Tests \Drupal\Core\Test\AssertMailTrait works. |
| AssertMailTraitTest.php | file | core/ |
|
| AssertMailTraitTest::testAssertMailTrait | function | core/ |
Tests that the maintenance theme initializes the theme and its base themes. |
| AssertMenuActiveTrailTrait | trait | core/ |
Provides test assertions for verifying the active menu trail. |
| AssertMenuActiveTrailTrait.php | file | core/ |
|
| AssertMenuActiveTrailTrait::assertMenuActiveTrail | function | core/ |
Assert that active trail exists in a menu tree output. |
| AssertPageCacheContextsAndTagsTrait | trait | core/ |
Provides test assertions for testing page-level cache contexts & tags. |
| AssertPageCacheContextsAndTagsTrait.php | file | core/ |
|
| AssertPageCacheContextsAndTagsTrait::assertCacheContext | function | core/ |
Asserts whether an expected cache context was present in the last response. |
| AssertPageCacheContextsAndTagsTrait::assertCacheContexts | function | core/ |
Ensures that some cache contexts are present in the current response. |
| AssertPageCacheContextsAndTagsTrait::assertCacheMaxAge | function | core/ |
Asserts the max age header. |
| AssertPageCacheContextsAndTagsTrait::assertCacheTags | function | core/ |
Ensures that some cache tags are present in the current response. |
| AssertPageCacheContextsAndTagsTrait::assertNoCacheContext | function | core/ |
Asserts that a cache context was not present in the last response. |
| AssertPageCacheContextsAndTagsTrait::assertPageCacheContextsAndTags | function | core/ |
Asserts page cache miss, then hit for the given URL; checks cache headers. |
| AssertPageCacheContextsAndTagsTrait::enablePageCaching | function | core/ |
Enables page caching. |
| AssertPageCacheContextsAndTagsTrait::getCacheHeaderValues | function | core/ |
Gets a specific header value as array. |
| AssertPreconditionsTrait | trait | core/ |
Asserts preconditions for tests to function properly. |
| AssertPreconditionsTrait.php | file | core/ |
|
| AssertPreconditionsTrait::assertNoFailureMarker | function | core/ |
Asserts that there is no failure marker present. |
| AssertPreconditionsTrait::failIfUnmetPreConditions | function | core/ |
Asserts universal test preconditions before any setup is done. |
| AssertPreconditionsTrait::getProjectRoot | function | core/ |
Returns the absolute path of the project root. |
| AssertPreconditionsTrait::setUpBeforeClass | function | core/ |
Invokes the test preconditions assertion before the first test is run. |
| AssertPreconditionsTrait::tearDown | function | core/ |
Invokes the test preconditions assertion after each test run. |
Pagination
- Previous page
- Page 55
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.