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 |
---|---|---|---|
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. |
AssertMailTrait::verboseEmail | function | core/ |
Outputs to verbose the most recent $count emails sent. |
AssertMailTraitTest | class | core/ |
Tests \Drupal\Core\Test\AssertMailTrait works. |
AssertMailTraitTest.php | file | core/ |
|
AssertMailTraitTest::testAssertMailTrait | function | core/ |
Tests that the maintenance theme initializes the theme and its base themes. |
AssertMenuActiveTrailTrait | trait | core/ |
Provides test assertions for verifying the active menu trail. |
AssertMenuActiveTrailTrait | trait | core/ |
Provides test assertions for verifying the active menu trail. |
AssertMenuActiveTrailTrait.php | file | core/ |
|
AssertMenuActiveTrailTrait.php | file | core/ |
|
AssertMenuActiveTrailTrait::assertMenuActiveTrail | function | core/ |
Assert that active trail exists in a menu tree output. |
AssertMenuActiveTrailTrait::assertMenuActiveTrail | function | core/ |
Assert that active trail exists in a menu tree output. |
AssertPageCacheContextsAndTagsTrait | trait | core/ |
Provides test assertions for testing page-level cache contexts & tags. |
AssertPageCacheContextsAndTagsTrait | trait | core/ |
Provides test assertions for testing page-level cache contexts & tags. |
AssertPageCacheContextsAndTagsTrait.php | file | core/ |
|
AssertPageCacheContextsAndTagsTrait.php | file | core/ |
|
AssertPageCacheContextsAndTagsTrait::assertCacheContext | function | core/ |
Asserts whether an expected cache context was present in the last response. |
AssertPageCacheContextsAndTagsTrait::assertCacheContext | function | core/ |
Asserts whether an expected cache context was present in the last response. |
AssertPageCacheContextsAndTagsTrait::assertCacheContexts | function | core/ |
Ensures that some cache contexts are present in the current response. |
AssertPageCacheContextsAndTagsTrait::assertCacheContexts | function | core/ |
Ensures that some cache contexts are present in the current response. |
AssertPageCacheContextsAndTagsTrait::assertCacheMaxAge | function | core/ |
Asserts the max age header. |
AssertPageCacheContextsAndTagsTrait::assertCacheMaxAge | function | core/ |
Asserts the max age header. |
AssertPageCacheContextsAndTagsTrait::assertCacheTags | function | core/ |
Ensures that some cache tags are present in the current response. |
AssertPageCacheContextsAndTagsTrait::assertCacheTags | function | core/ |
Ensures that some cache tags are present in the current response. |
AssertPageCacheContextsAndTagsTrait::assertNoCacheContext | function | core/ |
Asserts that a cache context was not present in the last response. |
AssertPageCacheContextsAndTagsTrait::assertNoCacheContext | function | core/ |
Asserts that a cache context was not present in the last response. |
AssertPageCacheContextsAndTagsTrait::assertPageCacheContextsAndTags | function | core/ |
Asserts page cache miss, then hit for the given URL; checks cache headers. |
AssertPageCacheContextsAndTagsTrait::assertPageCacheContextsAndTags | function | core/ |
Asserts page cache miss, then hit for the given URL; checks cache headers. |
AssertPageCacheContextsAndTagsTrait::debugCacheTags | function | core/ |
Provides debug information for cache tags. |
AssertPageCacheContextsAndTagsTrait::enablePageCaching | function | core/ |
Enables page caching. |
AssertPageCacheContextsAndTagsTrait::enablePageCaching | function | core/ |
Enables page caching. |
AssertPageCacheContextsAndTagsTrait::getCacheHeaderValues | function | core/ |
Gets a specific header value as array. |
AssertPageCacheContextsAndTagsTrait::getCacheHeaderValues | function | core/ |
Gets a specific header value as array. |
AssertUtilsTrait | trait | core/ |
Convenience class for creating fixtures. |
AssertUtilsTrait.php | file | core/ |
|
AssertUtilsTrait::assertScaffoldedFile | function | core/ |
Asserts that a given file exists and is/is not a symlink. |
AssertUtilsTrait::assertScaffoldedFileDoesNotContain | function | core/ |
Asserts that a file does not exist or exists and does not contain a value. |
AssertViewsCacheTagsTrait | trait | core/ |
|
AssertViewsCacheTagsTrait.php | file | core/ |
|
AssertViewsCacheTagsTrait::assertViewsCacheTags | function | core/ |
Asserts a view's result & render cache items' cache tags. |
AssertViewsCacheTagsTrait::assertViewsCacheTagsFromStaticRenderArray | function | core/ |
Asserts a view's result & render cache items' cache tags. |
AttributeTest::assertClass | function | core/ |
Checks that the given CSS class is present in the given HTML snippet. |
AttributeTest::assertID | function | core/ |
Checks that the given CSS ID is present in the given HTML snippet. |
AttributeTest::assertNoClass | function | core/ |
Checks that the given CSS class is not present in the given HTML snippet. |
AttributeTest::assertNoID | function | core/ |
Checks that the given CSS ID is not present in the given HTML snippet. |
BasicAuthResourceTestTrait::assertAuthenticationEdgeCases | function | core/ |
|
BasicAuthResourceTestTrait::assertResponseWhenMissingAuthentication | function | core/ |
|
BigPipeTest::assertBigPipeNoJsCookieExists | function | core/ |
Asserts whether a BigPipe no-JS cookie exists or not. |
BigPipeTest::assertBigPipeNoJsMetaRefreshRedirect | function | core/ |
Calls ::performMetaRefresh() and asserts the responses. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.