Search for assert
- Search 7.x for assert
- Search 9.5.x for assert
- Search 10.3.x for assert
- Search 11.x for assert
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| BigPipeTest::assertBigPipeNoJsPlaceholders | function | core/ |
Asserts expected BigPipe no-JS placeholders are present and replaced. |
| BigPipeTest::assertBigPipePlaceholders | function | core/ |
Asserts expected BigPipe placeholders are present and replaced. |
| BigPipeTest::assertBigPipeResponseHeadersPresent | function | core/ |
|
| BigPipeTest::assertCookieExists | function | core/ |
Asserts whether a cookie exists on the client or not. |
| BigPipeTest::assertSessionCookieExists | function | core/ |
Asserts whether a session cookie exists or not. |
| BigPipeTest::assertSetsEqual | function | core/ |
Asserts whether arrays A and B are equal, when treated as sets. |
| BlockContentFieldFilterTest::assertPageCounts | function | core/ |
Asserts that the given block_content translation counts are correct. |
| BlockContentIntegrationTest::assertIds | function | core/ |
Ensures that a list of block_contents appear on the page. |
| BlockFilterTest::assertAnnounceContains | function | core/ |
Checks for inclusion of text in #drupal-live-announce. |
| BlockFormMessagesTest::assertMessagesDisplayed | function | core/ |
Asserts that the validation messages are shown correctly. |
| BlockViewBuilderTest::assertBlockRenderedWithExpectedCacheability | function | core/ |
Asserts that a block is built/rendered/cached with expected cacheability. |
| BookJavascriptTest::assertOrderInPage | function | core/ |
Asserts that several pieces of markup are in a given order in the page. |
| BreadcrumbTest::testAssertBreadcrumbTrait | function | core/ |
Tests AssertBreadcrumbTrait works as expected. |
| BrowserTestBaseTest::testEscapingAssertions | function | core/ |
Tests assertEscaped() and assertUnescaped(). |
| BrowserTestBaseTest::testFieldAssertsForButton | function | core/ |
Tests legacy field asserts for button field type. |
| BrowserTestBaseTest::testFieldAssertsForCheckbox | function | core/ |
Tests legacy field asserts for checkbox field type. |
| BrowserTestBaseTest::testFieldAssertsForOptions | function | core/ |
Tests legacy field asserts for options field type. |
| BrowserTestBaseTest::testFieldAssertsForTextfields | function | core/ |
Tests legacy field asserts using textfields. |
| BrowserTestBaseTest::testTextAsserts | function | core/ |
Tests legacy text asserts. |
| BrowserTestBaseTest::testXpathAsserts | function | core/ |
Tests legacy field asserts which use xpath directly. |
| BrowserWithJavascriptTest::testAssertJsCondition | function | core/ |
|
| BrowserWithJavascriptTest::testEscapingAssertions | function | core/ |
Tests assertEscaped() and assertUnescaped(). |
| BuildTestBase::assertCommandExitCode | function | core/ |
Asserts that the last command returned the specified exit code. |
| BuildTestBase::assertCommandOutputContains | function | core/ |
Assert that text is present in the output of the most recent command. |
| BuildTestBase::assertCommandSuccessful | function | core/ |
Asserts that the last command ran without error. |
| BuildTestBase::assertDrupalVisit | function | core/ |
Helper function to assert that the last visit was a Drupal site. |
| BuildTestBase::assertErrorOutputContains | function | core/ |
Assert that text is present in the error output of the most recent command. |
| BundleConstraintValidatorTest::assertValidation | function | core/ |
Executes the BundleConstraintValidator test for a given bundle. |
| CacheableMetadataCalculationTest::assertCacheableMetadataHasBeenCalculated | function | core/ |
Checks whether the view has calculated its cacheability metadata. |
| CacheContextsManager::assertValidTokens | function | core/ |
Asserts the context tokens are valid |
| CacheTestBase::assertCacheExists | function | core/ |
Asserts that a cache entry exists. |
| CacheTestBase::assertCacheExists | function | core/ |
Asserts that a cache entry exists. |
| CacheTestBase::assertCacheRemoved | function | core/ |
Asserts that a cache entry has been removed. |
| CacheTestBase::assertCacheRemoved | function | core/ |
Asserts that a cache entry has been removed. |
| CKEditorIntegrationTest::assertContextMenuItemExists | function | core/ |
Asserts that a context menu item exists by aria-label attribute. |
| CKEditorIntegrationTest::assertContextMenuItemNotExists | function | core/ |
Asserts that a context menu item does not exist by aria-label attribute. |
| CKEditorIntegrationTest::assertSourceAttributeSame | function | core/ |
Verifies value of an attribute on the downcast <drupal-media> element. |
| CKEditorTest::assertCKEditorLanguage | function | core/ |
Assert that CKEditor picks the expected language when French is default. |
| CKEditorTestTrait::assertEditorButtonDisabled | function | core/ |
Asserts a CKEditor button is disabled. |
| CKEditorTestTrait::assertEditorButtonEnabled | function | core/ |
Asserts a CKEditor button is enabled. |
| CommandsTest::assertCommand | function | core/ |
Asserts the array of Ajax commands contains the searched command. |
| CommandsTest::assertWaitPageContains | function | core/ |
Asserts that page contains a text after waiting. |
| CommentFieldFilterTest::assertPageCounts | function | core/ |
Asserts that the given comment translation counts are correct. |
| CommentPagerTest::assertCommentOrder | function | core/ |
Asserts that the comments are displayed in the correct order. |
| CommentThreadingTest::assertNoParentLink | function | core/ |
Asserts that the specified comment does not have a link to a parent. |
| CommentThreadingTest::assertParentLink | function | core/ |
Asserts that the link to the specified parent comment is present. |
| CommentValidationTest::assertLengthViolation | function | core/ |
Verifies that a length violation exists for the given field. |
| ConfigAfterInstallerTestBase::assertInstalledConfig | function | core/ |
Ensures that all the installed config looks like the exported one. |
| ConfigAfterInstallerTestBase::assertInstalledConfig | function | core/ |
Ensures that all the installed config looks like the exported one. |
| ConfigDiffTest::assertYamlEdit | function | core/ |
Helper method to test that an edit is found in a diff'd YAML file. |
Pagination
- Previous page
- Page 6
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.