Search for assert
- Search 7.x for assert
- Search 9.5.x for assert
- Search 8.9.x for assert
- Search 11.x for assert
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| FilterFormTest::assertEnabledTextarea | function | core/ |
Asserts that a textarea with a given ID exists and is not disabled. |
| FilterFormTest::assertNoSelect | function | core/ |
Makes sure that no select element with the given ID exists on the page. |
| FilterFormTest::assertOptions | function | core/ |
Asserts that a select element has the correct options. |
| FilterFormTest::assertRequiredSelectAndOptions | function | core/ |
Asserts that there is a select element with the given ID that is required. |
| FilterKernelTest::assertFilteredString | function | core/ |
Asserts multiple filter output expectations for multiple input strings. |
| FilterKernelTest::assertNoNormalized | function | core/ |
Asserts that text transformed to lowercase with HTML entities decoded does not contain a given string. |
| FilterKernelTest::assertNormalized | function | core/ |
Asserts that a text transformed to lowercase with HTML entities decoded does contains a given string. |
| FormAjaxSubscriberTest::assertResponseFromException | function | core/ |
Asserts that the expected response is derived from the given exception. |
| FormElementsRenderTest::assertRenderedElement | function | core/ |
Tests that elements are rendered properly. |
| FormTest::assertFormValuesDefault | function | core/ |
Assert that the values submitted to a form matches the default values of the elements. |
| FormTestBase::assertFormElement | function | core/ |
Asserts that the expected form structure is found in a form for a given key. |
| FrameworkTest::assertCommand | function | core/ |
Asserts the array of Ajax commands contains the searched command. |
| FrontPageTest::assertNotInResultSet | function | core/ |
Verifies that an amount of nids aren't in the result. |
| GenerateThemeTest::assertThemeExists | function | core/ |
Asserts the theme exists. Returns the parsed *.info.yml file. |
| GenericModuleTestBase::assertHookHelp | function | core/ |
Verifies hook_help() syntax. |
| GraphTest::assertComponents | function | core/ |
Verify expected components in a graph. |
| GraphTest::assertPaths | function | core/ |
Verify expected paths in a graph. |
| GraphTest::assertReversePaths | function | core/ |
Verify expected reverse paths in a graph. |
| GraphTest::assertWeights | function | core/ |
Verify expected order in a graph. |
| HandlerTest::assertNoDuplicateField | function | core/ |
Asserts that fields only appear once. |
| HelpTopicSearchTest::assertSearchResultsCount | function | core/ |
Asserts that help search returned the expected number of results. |
| HighWaterTest::assertNodeDoesNotExist | function | core/ |
Assert that node with given title does not exist. |
| HighWaterTest::assertNodeExists | function | core/ |
Assert that node with given title exists. |
| HtaccessTest::assertFileAccess | function | core/ |
Asserts that a file exists and requesting it returns a specific response. |
| HtaccessTest::assertFilePermissions | function | core/ |
Asserts expected file permissions for a given file. |
| HtmlResponseAttachmentsTest::assertFeed | function | core/ |
Helper function to make assertions about the presence of an RSS feed. |
| HtmlResponseAttachmentsTest::assertHead | function | core/ |
Helper function to make assertions about HTML head elements. |
| HtmlResponseAttachmentsTest::assertTeapotHeaders | function | core/ |
Helper function to make assertions about added HTTP headers. |
| HtmlTest::providerTestTransformRootRelativeUrlsToAbsoluteAssertion | function | core/ |
Provides test data for testTransformRootRelativeUrlsToAbsoluteAssertion(). |
| HtmlTest::testTransformRootRelativeUrlsToAbsoluteAssertion | function | core/ |
@covers ::transformRootRelativeUrlsToAbsolute[[api-linebreak]] @dataProvider providerTestTransformRootRelativeUrlsToAbsoluteAssertion |
| HtmlToTextTest::assertHtmlToText | function | core/ |
Helper function to test \Drupal\Core\Mail\MailFormatHelper::htmlToText(). |
| ImageFormatterTest::assertCacheTags | function | core/ |
Asserts that a renderable array has a set of cache tags. |
| InlineBlockTest::assertBlockRevisionCountByTitle | function | core/ |
Assert the number of block content revisions by the block title. |
| InlineBlockTest::assertNodeRevisionContent | function | core/ |
Assert the contents of a node revision. |
| InlineBlockTestBase::assertDialogClosedAndTextVisible | function | core/ |
Asserts that the dialog closes and the new text appears on the main canvas. |
| InlineBlockTestBase::assertSaveLayout | function | core/ |
Saves a layout and asserts the message is correct. |
| Inspector::assertAll | function | core/ |
Asserts callback returns TRUE for each member of a traversable. |
| Inspector::assertAllArrays | function | core/ |
Asserts that all members are arrays. |
| Inspector::assertAllCallable | function | core/ |
Asserts that all members are callable. |
| Inspector::assertAllFloat | function | core/ |
Asserts that all members are float values. |
| Inspector::assertAllHaveKey | function | core/ |
Asserts all given keys exist in every member array. |
| Inspector::assertAllIntegers | function | core/ |
Asserts that all members are integer values. |
| Inspector::assertAllMatch | function | core/ |
Asserts that all members are strings that contain the specified string. |
| Inspector::assertAllNotEmpty | function | core/ |
Asserts that all members are not empty. |
| Inspector::assertAllNumeric | function | core/ |
Asserts all members are numeric data types or strings castable to such. |
| Inspector::assertAllObjects | function | core/ |
Asserts that all members are objects. |
| Inspector::assertAllRegularExpressionMatch | function | core/ |
Asserts that all members are strings matching a regular expression. |
| Inspector::assertAllStrictArrays | function | core/ |
Asserts all members are strict arrays. |
| Inspector::assertAllStringable | function | core/ |
Asserts all members are strings or objects with magic __toString() method. |
| Inspector::assertAllStrings | function | core/ |
Asserts that all members are strings. |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.