Search for assert
- Search 7.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 |
---|---|---|---|
Inspector::assertAllNotEmpty | function | core/ |
Asserts that all members are not empty. |
Inspector::assertAllNumeric | function | core/ |
Asserts all members are numeric data types or strings castable to such. |
Inspector::assertAllObjects | function | core/ |
Asserts that all members are objects. |
Inspector::assertAllRegularExpressionMatch | function | core/ |
Asserts that all members are strings matching a regular expression. |
Inspector::assertAllStrictArrays | function | core/ |
Asserts all members are strict arrays. |
Inspector::assertAllStringable | function | core/ |
Asserts all members are strings or objects with magic __toString() method. |
Inspector::assertAllStrings | function | core/ |
Asserts that all members are strings. |
Inspector::assertStrictArray | function | core/ |
Asserts that the array is strict. |
Inspector::assertStringable | function | core/ |
Asserts argument is a string or an object castable to a string. |
Inspector::assertTraversable | function | core/ |
Asserts argument can be traversed with foreach. |
InspectorTest::providerTestAssertAllStrings | function | core/ |
|
InspectorTest::testAssertAllArrays | function | core/ |
Tests asserting all members are arrays. |
InspectorTest::testAssertAllFloat | function | core/ |
Tests asserting all members are floating point variables. |
InspectorTest::testAssertAllHaveKey | function | core/ |
Tests asserting all members have specified keys. |
InspectorTest::testAssertAllIntegers | function | core/ |
Tests asserting all members are integers. |
InspectorTest::testAssertAllMatch | function | core/ |
Tests asserting strstr() or stristr() match. |
InspectorTest::testAssertAllNumeric | function | core/ |
Tests asserting all arguments are numbers or strings castable to numbers. |
InspectorTest::testAssertAllObjects | function | core/ |
Tests asserting all members are objects. |
InspectorTest::testAssertAllRegularExpressionMatch | function | core/ |
Tests asserting regular expression match. |
InspectorTest::testAssertAllStrictArrays | function | core/ |
Tests asserting all members are strict arrays. |
InspectorTest::testAssertAllStringable | function | core/ |
Tests asserting all members are strings or objects with __toString(). |
InspectorTest::testAssertAllStrings | function | core/ |
Tests asserting all members are strings. |
InspectorTest::testAssertStrictArray | function | core/ |
Tests asserting array is 0-indexed - the strict definition of array. |
InspectorTest::testAssertTraversable | function | core/ |
Tests asserting argument is an array or traversable object. |
InstallUninstallTest::assertHelp | function | core/ |
Verifies a module's help. |
InstallUninstallTest::assertInstallModuleUpdates | function | core/ |
Asserts the module post update functions after install. |
InstallUninstallTest::assertModuleNotInstalled | function | core/ |
Asserts that a module is not yet installed. |
InstallUninstallTest::assertModuleSuccessfullyInstalled | function | core/ |
Asserts that a module was successfully installed. |
InstallUninstallTest::assertSuccessfulUninstall | function | core/ |
Uninstalls a module and asserts that it was done correctly. |
InstallUninstallTest::assertUninstallModuleUpdates | function | core/ |
Asserts the module post update functions after uninstall. |
JsMessageTest::assertCurrentMessages | function | core/ |
Asserts that currently shown messages match expected messages. |
JSWebAssert | class | core/ |
Defines a class with methods for asserting presence of elements during tests. |
JSWebAssert.php | file | core/ |
|
JSWebAssert::assertEscaped | function | core/ |
Passes if the raw text IS found escaped on the loaded page. |
JSWebAssert::assertNoElementAfterWait | function | core/ |
Asserts that no matching element exists on the page after a wait. |
JSWebAssert::assertNoEscaped | function | core/ |
Passes if the raw text IS NOT found escaped on the loaded page. |
JSWebAssert::assertNotVisibleInViewport | function | core/ |
Tests that a node, or its specific corner, is not visible in the viewport. |
JSWebAssert::assertVisibleInViewport | function | core/ |
Tests that a node, or its specific corner, is visible in the viewport. |
JSWebAssert::assertWaitOnAjaxRequest | function | core/ |
Waits for AJAX request to be completed. |
JSWebAssert::buildJavascriptStatusMessageSelector | function | core/ |
Builds a xpath selector for a message with given type and text. |
JSWebAssert::checkNodeVisibilityInViewport | function | core/ |
Check the visibility of a node, or its specific corner. |
JSWebAssert::escapeHtml | function | core/ |
Escapes HTML for testing. |
JSWebAssert::isExceptionNotClickable | function | core/ |
Determines if an exception is due to an element not being clickable. |
JSWebAssert::statusMessageContainsAfterWait | function | core/ |
Asserts that a status message containing given string exists after wait. |
JSWebAssert::statusMessageExistsAfterWait | function | core/ |
Asserts that a status message exists after wait. |
JSWebAssert::statusMessageNotContainsAfterWait | function | core/ |
Asserts that no status message containing given string exists after wait. |
JSWebAssert::statusMessageNotExistsAfterWait | function | core/ |
Asserts that a status message does not exist after wait. |
JSWebAssert::waitForButton | function | core/ |
Waits for the button specified by the locator and returns it. |
JSWebAssert::waitForElement | function | core/ |
Waits for the specified selector and returns it when available. |
JSWebAssert::waitForElementRemoved | function | core/ |
Looks for the specified selector and returns TRUE when it is unavailable. |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.