Search for assert
- Search 7.x for assert
- Search 9.5.x for assert
- Search 8.9.x for assert
- Search 10.3.x for assert
- Search 11.x for assert
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| NodeAccessTestBase::assertNodeAccess | function | core/ |
Asserts that node access correctly grants or denies access. |
| NodeAccessTestBase::assertNodeCreateAccess | function | core/ |
Asserts that node create access correctly grants or denies access. |
| NodeAccessTestBase::nodeAccessAssertMessage | function | core/ |
Constructs an assert message to display which node access was tested. |
| NodeDisplayConfigurableTest::assertNodeHtml | function | core/ |
Asserts that the node HTML is as expected. |
| NodeFieldFilterTest::assertPageCounts | function | core/ |
Asserts that the given node translation counts are correct. |
| NodeIntegrationTest::assertNids | function | core/ |
Ensures that a list of nodes appear on the page. |
| NodeLanguageTest::assertLanguageNames | function | core/ |
Asserts the presence of language names in their English or native forms. |
| NodeTest::assertCacheableNormalizations | function | core/ |
Asserts that normalizations are cached in an incremental way. |
| NodeTest::assertNormalizedFieldsAreCached | function | core/ |
Checks that the provided field names are the only fields in the cache. |
| NodeTestBase::assertNodeAccess | function | core/ |
Asserts that node access correctly grants or denies access. |
| NodeTestBase::assertNodeCreateAccess | function | core/ |
Asserts that node create access correctly grants or denies access. |
| NodeTestBase::nodeAccessAssertMessage | function | core/ |
Constructs an assert message to display which node access was tested. |
| NumberFieldTest::assertSetMinimumValue | function | core/ |
Helper function to set the minimum value of a field. |
| OffCanvasTest::assertOffCanvasDialog | function | core/ |
Asserts that the off-canvas dialog opens and renders expected content. |
| OffCanvasTestBase::assertAllContextualLinksLoaded | function | core/ |
Assert all contextual link areas have be loaded. |
| OffCanvasTestBase::assertElementVisibleAfterWait | function | core/ |
Asserts the specified selector is visible after a wait. |
| OffCanvasTestBase::assertPageLoadComplete | function | core/ |
Assert the page is completely loaded. |
| OptionsFieldUIAllowedValuesTest::assertAllowValuesRowCount | function | core/ |
Assert the count of the allowed values rows. |
| OptionsFieldUIAllowedValuesTest::assertHasFocusByAttribute | function | core/ |
Asserts an element specified by an attribute value has focus. |
| OptionsFieldUIAllowedValuesTest::assertNodeFormOrder | function | core/ |
Asserts the order of provided option list on node form. |
| OptionsFieldUIAllowedValuesTest::assertOrder | function | core/ |
Asserts the order of provided option list on admin path. |
| OptionsFieldUITest::assertAllowedValuesInput | function | core/ |
Tests an input array for the 'allowed values' form element. |
| OverriddenConfigurationTest::assertOverriddenBlockDisabled | function | core/ |
Asserts that an overridden block has Settings Tray disabled. |
| PackageManagerBypassTestTrait::assertUpdateStagedTimes | function | core/ |
Asserts the number of times an update was staged. |
| PackageManagerKernelTestBase::assertEventPropagationStopped | function | core/ |
Asserts event propagation is stopped by a certain event subscriber. |
| PackageManagerKernelTestBase::assertExpectedResultsFromException | function | core/ |
Asserts that a StageEventException has a particular set of results. |
| PackageManagerKernelTestBase::assertResults | function | core/ |
Asserts validation results are returned from a stage life cycle event. |
| PackageManagerKernelTestBase::assertStatusCheckResults | function | core/ |
Asserts validation results are returned from the status check event. |
| PageRenderTest::assertPageRenderHookExceptions | function | core/ |
Asserts whether expected exceptions are thrown for invalid hook implementations. |
| PagerTest::assertClass | function | core/ |
Asserts that an element has a given class. |
| PagerTest::assertNoClass | function | core/ |
Asserts that an element does not have a given class. |
| PagerTest::assertPagerItems | function | core/ |
Asserts pager items and links. |
| PaginationAJAXTest::assertNoDuplicateAssetsOnPage | function | core/ |
Assert that assets are not loaded twice on a page. |
| PasswordConfirmWidgetTest::$assert | property | core/ |
WebAssert object. |
| PathAliasTestTrait::assertPathAliasExists | function | core/ |
Asserts that a path alias exists in the storage. |
| PathAliasTestTrait::assertPathAliasNotExists | function | core/ |
Asserts that a path alias does not exist in the storage. |
| PathContentModerationTest::assertPathsAreAccessible | function | core/ |
Helper callback to verify paths are responding with status 200. |
| PathWorkspacesTest::assertAccessiblePaths | function | core/ |
Helper callback to verify paths are responding with status 200. |
| PathWorkspacesTest::assertNotAccessiblePaths | function | core/ |
Helper callback to verify paths are responding with status 404. |
| PerformanceTestTrait::assertCountBetween | function | core/ |
Asserts that a count is between a min and max inclusively. |
| PerformanceTestTrait::assertMetrics | function | core/ |
Assert metrics from a performance data value object. |
| PermissionHandlerTest::assertPermissions | function | core/ |
Checks that the permissions are like expected. |
| PHP Runtime Assert Statements | group | core/ |
Use of the assert() statement in Drupal. |
| PhpStorageTestBase::additionalAssertCRUD | function | core/ |
Additional asserts to be run. |
| PhpStorageTestBase::assertCRUD | function | core/ |
Assert that a PHP storage's load/save/delete operations work. |
| PluginInstanceTest::assertPluginInstances | function | core/ |
Asserts that instances of every views plugin can be created. |
| PreviewTest::assertClass | function | core/ |
Asserts that an element has a given class. |
| PreviewTest::assertPreviewAJAX | function | core/ |
Assert that the preview contains expected data. |
| ProcessingTest::assertBatchMessages | function | core/ |
Triggers a pass if the texts were found in order in the raw content. |
| RearrangeFieldsTest::assertFieldOrder | function | core/ |
Check if the fields are in the correct order. |
Pagination
- Previous page
- Page 14
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.