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 |
|---|---|---|---|
| BrowserTestBaseTest::testFieldAssertsForCheckbox | function | core/ |
Tests legacy field asserts for checkbox field type. |
| BrowserTestBaseTest::testFieldAssertsForTextfields | function | core/ |
Tests field asserts using textfields. |
| 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. |
| BuildTestBase::assertErrorOutputNotContains | function | core/ |
Assert text is not 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::assertCacheRemoved | function | core/ |
Asserts that a cache entry has been removed. |
| CKEditor5TestBase::assertHtmlEsqueFieldValueEquals | function | core/ |
Decorates ::fieldValueEquals() to force DrupalCI to provide useful errors. |
| CKEditor5TestBase::assertNoRealtimeValidationErrors | function | core/ |
Checks that no real-time validation errors are present. |
| CKEditor5TestTrait::assertEditorButtonDisabled | function | core/ |
Asserts a CKEditor button is disabled. |
| CKEditor5TestTrait::assertEditorButtonEnabled | function | core/ |
Asserts a CKEditor button is enabled. |
| CKEditor5TestTrait::assertVisibleBalloon | function | core/ |
Asserts a particular balloon is visible. |
| ClassWriter::alterAssert | function | core/ |
Alters the Assert class. |
| 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. |
| ComposerBuildTestBase::assertDrupalVersion | function | core/ |
Assert that the VERSION constant in Drupal.php is the expected value. |
| 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 the diff of two storages. |
| ConfigEntityImportTest::assertConfigUpdateImport | function | core/ |
Asserts that config entities are updated during import. |
| ConfigEntityQueryTest::assertResults | function | core/ |
Asserts the results as expected regardless of order. |
| ConfigEntityValidationTestBase::assertValidationErrors | function | core/ |
Asserts a set of validation errors is raised when the entity is validated. |
| ConfigTest::assertConfigDataEquals | function | core/ |
Asserts all config data equals $data provided. |
| ConfigTest::assertOriginalConfigDataEquals | function | core/ |
Asserts all original config data equals $data provided. |
| ConfigTest::assertOverriddenKeys | function | core/ |
Asserts that the correct keys are overridden. |
| ConfigTranslationUiTestBase::assertDisabledTextarea | function | core/ |
Asserts that a textarea with a given ID has been disabled from editing. |
| ConnectionTest::testIdentifierQuotesAssertCount | function | core/ |
@covers ::__construct[[api-linebreak]] |
| ConnectionTest::testIdentifierQuotesAssertString | function | core/ |
@covers ::__construct[[api-linebreak]] |
| ContactLinkTest::assertContactLinks | function | core/ |
Asserts whether certain users contact links appear on the page. |
| ContentEntityTest::assertIds | function | core/ |
Helper to assert IDs structure. |
| ContentImportTest::assertContentWasImported | function | core/ |
Asserts that the default content was imported as expected. |
| ContentModerationStateStorageSchemaTest::assertStorageException | function | core/ |
Assert if a storage exception is triggered when saving a given entity. |
| ContentModerationStateTest::assertDefaultRevision | function | core/ |
Checks the default revision ID and publishing status for an entity. |
| ContentModerationTest::assertAllMedia | function | core/ |
Asserts all media items are visible. |
| ContentModerationTest::assertOnlyPublishedMedia | function | core/ |
Asserts only published media items are visible. |
| ContentPreviewToggleTest::assertContextualLinks | function | core/ |
Checks if contextual links are working properly. |
| ContentPreviewToggleTest::assertOrderInPage | function | core/ |
Asserts that blocks in a given order in the page. |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.