Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| AssertConfigTrait | trait | core/ |
Trait to help with diffing config. |
| AssertConfigTrait.php | file | core/ |
|
| AssertConfigTrait::assertConfigDiff | function | core/ |
Ensures that a specific config diff does not contain unwanted changes. |
| AssertContentTrait | trait | core/ |
Provides test methods to assert content. |
| AssertContentTrait.php | file | core/ |
|
| AssertContentTrait::$content | property | core/ |
The current raw content. |
| AssertContentTrait::$drupalSettings | property | core/ |
The drupalSettings value from the current raw $content. |
| AssertContentTrait::$elements | property | core/ |
The XML structure parsed from the current raw $content. |
| AssertContentTrait::$plainTextContent | property | core/ |
The plain-text content of raw $content (text nodes). |
| AssertContentTrait::assertEscaped | function | core/ |
Passes if the raw text IS found escaped on the loaded page, fail otherwise. |
| AssertContentTrait::assertField | function | core/ |
Asserts that a field exists with the given name or ID. |
| AssertContentTrait::assertFieldByName | function | core/ |
Asserts that a field exists with the given name and value. |
| AssertContentTrait::assertFieldByXPath | function | core/ |
Asserts that a field exists in the current page by the given XPath. |
| AssertContentTrait::assertFieldsByValue | function | core/ |
Asserts that a field exists in the current page with a given Xpath result. |
| AssertContentTrait::assertLink | function | core/ |
Passes if a link with the specified label is found. |
| AssertContentTrait::assertLinkByHref | function | core/ |
Passes if a link containing a given href (part) is found. |
| AssertContentTrait::assertNoLink | function | core/ |
Passes if a link with the specified label is not found. |
| AssertContentTrait::assertNoPattern | function | core/ |
Triggers a pass if the perl regex pattern is not found in raw content. |
| AssertContentTrait::assertNoRaw | function | core/ |
Passes if the raw text is NOT found on the loaded page, fail otherwise. |
| AssertContentTrait::assertNoText | function | core/ |
Passes if the page (with HTML stripped) does not contains the text. |
| AssertContentTrait::assertPattern | function | core/ |
Triggers a pass if the Perl regex pattern is found in the raw content. |
| AssertContentTrait::assertRaw | function | core/ |
Passes if the raw text IS found on the loaded page, fail otherwise. |
| AssertContentTrait::assertText | function | core/ |
Passes if the page (with HTML stripped) contains the text. |
| AssertContentTrait::assertTextHelper | function | core/ |
Helper for assertText and assertNoText. |
| AssertContentTrait::assertThemeOutput | function | core/ |
Asserts themed output. |
| AssertContentTrait::assertTitle | function | core/ |
Pass if the page title is the given string. |
| 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/ |
Pagination
- Previous page
- Page 47
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.