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 |
---|---|---|---|
UrlAlterFunctionalTest::assertUrlInboundAlter | function | core/ |
Assert that an inbound path is altered to an expected value. |
UrlAlterFunctionalTest::assertUrlOutboundAlter | function | core/ |
Assert that an outbound path is altered to an expected value. |
UrlGeneratorTest::assertGenerateFromRoute | function | core/ |
Asserts \Drupal\Core\Routing\UrlGenerator::generateFromRoute()'s output. |
UserAccessControlHandlerTest::assertFieldAccess | function | core/ |
Asserts correct field access grants for a field. |
UserAccountFormFieldsTest::assertFieldOrder | function | core/ |
Asserts that the 'name' form element is directly before the 'pass' element. |
UserLoginHttpTest::assertHttpResponse | function | core/ |
Checks a response for status code and body. |
UserLoginHttpTest::assertHttpResponseWithMessage | function | core/ |
Checks a response for status code and message. |
UserLoginTest::assertFailedLogin | function | core/ |
Make an unsuccessful login attempt. |
UserPasswordResetTest::assertNoPasswordIpFlood | function | core/ |
Makes assertions about a password reset not triggering IP flood control. |
UserPasswordResetTest::assertNoValidPasswordReset | function | core/ |
Helper function to make assertions about an invalid password reset. |
UserPasswordResetTest::assertPasswordIpFlood | function | core/ |
Makes assertions about a password reset triggering IP flood control. |
UserPasswordResetTest::assertValidPasswordReset | function | core/ |
Helper function to make assertions about a valid password reset. |
UserRegistrationRestTest::assertNormalizationEdgeCases | function | core/ |
Asserts normalization-specific edge cases. |
UserRegistrationTest::assertRegistrationFormCacheTagsWithUserFields | function | core/ |
Asserts the presence of cache tags on registration form with user fields. |
UserResourceTestBase::assertRpcLogin | function | core/ |
Verifies that logging in with the given username and password works. |
UserTest::assertRpcLogin | function | core/ |
Verifies that logging in with the given username and password works. |
UserValidationTest::assertAllowedValuesViolation | function | core/ |
Verifies that an AllowedValues violation exists for the given field. |
UserValidationTest::assertLengthViolation | function | core/ |
Verifies that a length violation exists for the given field. |
ViewAjaxControllerTest::assertViewResultCommand | function | core/ |
Ensures that the main view content command is added. |
ViewExecutableTest::assertViewDestroy | function | core/ |
Asserts that expected view properties have been unset by destroy(). |
ViewResultAssertionTrait | trait | core/ |
Provides a class for assertions to check for the expected result of a View. |
ViewResultAssertionTrait.php | file | core/ |
|
ViewResultAssertionTrait::assertIdenticalResultset | function | core/ |
Verifies that a result set returned by a View matches expected values. |
ViewResultAssertionTrait::assertIdenticalResultsetHelper | function | core/ |
Performs View result assertions. |
ViewResultAssertionTrait::assertNotIdenticalResultset | function | core/ |
Verifies that a result set returned by a View differs from certain values. |
ViewsEntitySchemaSubscriberIntegrationTest::assertUpdatedViews | function | core/ |
Checks that the passed-in view IDs were the only ones updated. |
ViewsModerationStateFilterTest::assertFilterStates | function | core/ |
Assert the states which appear in the filter. |
ViewsModerationStateFilterTest::assertNodesWithFilters | function | core/ |
Assert the nodes appear when the test view is executed. |
ViewsModerationStateFilterTest::assertPluginStates | function | core/ |
Assert the plugin states. |
ViewsModerationStateFilterTest::assertWorkflowDependencies | function | core/ |
Asserts the views dependencies on workflow config entities. |
ViewsModerationStateFilterTest::executeAndAssertIdenticalResultset | function | core/ |
Execute a view and assert the expected results. |
ViewsModerationStateSortTest::assertSortResults | function | core/ |
Assert the order of a views sort result. |
WebAssert | class | core/ |
Defines a class with methods for asserting presence of elements during tests. |
WebAssert.php | file | core/ |
|
WebAssert::$baseUrl | property | core/ |
The absolute URL of the site under test. |
WebAssert::addressEquals | function | core/ |
|
WebAssert::addressMatches | function | core/ |
|
WebAssert::addressNotEquals | function | core/ |
|
WebAssert::assert | function | core/ |
Asserts a condition. |
WebAssert::assertEscaped | function | core/ |
Passes if the raw text IS found escaped on the loaded page. |
WebAssert::assertNoEscaped | function | core/ |
Passes if the raw text IS NOT found escaped on the loaded page. |
WebAssert::buildStatusMessageSelector | function | core/ |
Builds a xpath selector for a message with given type and text. |
WebAssert::buildXPathQuery | function | core/ |
Builds an XPath query. |
WebAssert::buttonExists | function | core/ |
Checks that specific button exists on the current page. |
WebAssert::buttonNotExists | function | core/ |
Checks that the specific button does NOT exist on the current page. |
WebAssert::checkboxChecked | function | core/ |
|
WebAssert::checkboxNotChecked | function | core/ |
|
WebAssert::cleanUrl | function | core/ |
|
WebAssert::cookieEquals | function | core/ |
|
WebAssert::cookieExists | function | core/ |
Pagination
- Previous page
- Page 20
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.