Search 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 |
---|---|---|---|
AJAXTestCase::assertCommand | function | modules/ |
Assert that a command with the required properties exists within the array of Ajax commands returned by the server. |
Assertable | interface | misc/ |
|
Assertable.php | file | misc/ |
|
Assertable::assert | function | misc/ |
|
BatchProcessingTestCase::assertBatchMessages | function | modules/ |
Will trigger a pass if the texts were found in order in the raw content. |
Behavior::$assertions | property | misc/ |
|
Behavior::assert | function | misc/ |
|
Behavior::assertAssertionCompleteness | function | misc/ |
|
Behavior::assertCommand | function | misc/ |
|
Behavior::assertCommands | function | misc/ |
|
Behavior::withAssertion | function | misc/ |
|
BlockHashTestCase::assertWeight | function | modules/ |
Asserts that the block_test module's block has a given weight. |
CacheTestCase::assertCacheExists | function | modules/ |
Assert or a cache entry exists. |
CacheTestCase::assertCacheRemoved | function | modules/ |
Assert or a cache entry has been removed. |
CommentActionsTestCase::assertHookMessage | function | modules/ |
Pass if the message $text was set by one of the comment hooks in comment_hook_test.module, i.e., if the $text is an element of $_SESSION['comment_hook_test']. |
CommentActionsTestCase::assertWatchdogMessage | function | modules/ |
Verify that a watchdog message has been entered. |
CommentInterfaceTest::assertCommentLinks | function | modules/ |
Asserts that comment links appear according to the passed environment setup. |
CommentPagerTest::assertCommentOrder | function | modules/ |
Helper function: assert that the comments are displayed in the correct order. |
ConfirmFormTest::assertCancelLinkUrl | function | modules/ |
Asserts that a cancel link is present pointing to the provided URL. |
ConjunctionInterceptor::$assertions | property | misc/ |
|
ConjunctionInterceptor::assert | function | misc/ |
Executes assertions based on all contained assertions. |
ConjunctionInterceptor::assertAssertions | function | misc/ |
|
ConjunctionInterceptor::invokeAssertions | function | misc/ |
|
ConnectionUnitTest::assertConnection | function | modules/ |
Asserts that a connection ID exists. |
ConnectionUnitTest::assertNoConnection | function | modules/ |
Asserts that a connection ID does not exist. |
DatabaseTransactionTestCase::assertRowAbsent | function | modules/ |
Assert that a given row is absent from the test table. |
DatabaseTransactionTestCase::assertRowPresent | function | modules/ |
Assert that a given row is present in the test table. |
DBLogTestCase::assertLogMessage | function | modules/ |
Confirms that a log message appears on the database log overview screen. |
DrupalErrorCollectionUnitTest::assertError | function | modules/ |
Assert that a collected error matches what we are expecting. |
DrupalErrorHandlerTestCase::assertErrorMessage | function | modules/ |
Helper function: assert that the error message is found. |
DrupalErrorHandlerTestCase::assertNoErrorMessage | function | modules/ |
Helper function: assert that the error message is not found. |
DrupalHtmlToTextTestCase::assertHtmlToText | function | modules/ |
Helper function for testing drupal_html_to_text(). |
DrupalRenderTestCase::assertRenderedElement | function | modules/ |
|
DrupalTagsHandlingTestCase::assertTags | function | modules/ |
Helper function: asserts that the ending array of tags is what we wanted. |
DrupalTestCase::$assertions | property | modules/ |
Assertions thrown in that test case. |
DrupalTestCase::assert | function | modules/ |
Internal helper: stores the assert. |
DrupalTestCase::assertEqual | function | modules/ |
Check to see if two values are equal. |
DrupalTestCase::assertFalse | function | modules/ |
Check to see if a value is false (an empty string, 0, NULL, or FALSE). |
DrupalTestCase::assertIdentical | function | modules/ |
Check to see if two values are identical. |
DrupalTestCase::assertNotEqual | function | modules/ |
Check to see if two values are not equal. |
DrupalTestCase::assertNotIdentical | function | modules/ |
Check to see if two values are not identical. |
DrupalTestCase::assertNotNull | function | modules/ |
Check to see if a value is not NULL. |
DrupalTestCase::assertNull | function | modules/ |
Check to see if a value is NULL. |
DrupalTestCase::assertTrue | function | modules/ |
Check to see if a value is not false (not an empty string, 0, NULL, or FALSE). |
DrupalTestCase::deleteAssert | function | modules/ |
Delete an assertion record by message ID. |
DrupalTestCase::getAssertionCall | function | modules/ |
Cycles through backtrace until the first non-assertion method is found. |
DrupalTestCase::insertAssert | function | modules/ |
Store an assertion from outside the testing context. |
DrupalWebTestCase::assertField | function | modules/ |
Asserts that a field exists with the given name or ID. |
DrupalWebTestCase::assertFieldById | function | modules/ |
Asserts that a field exists in the current page with the given ID and value. |
DrupalWebTestCase::assertFieldByName | function | modules/ |
Asserts that a field exists in the current page with the given name and value. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.