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 |
---|---|---|---|
ToolbarAdminMenuTest::assertDifferentHash | function | core/ |
Asserts the subtrees hash on a fresh page GET is different from the hash from the previous page GET. |
ToolbarCacheContextsTest::assertToolbarCacheContexts | function | core/ |
Tests that cache contexts are applied for both users. |
ToolkitTestBase::assertToolkitOperationsCalled | function | core/ |
Assert that all of the specified image toolkit operations were called exactly once once, other values result in failure. |
ToolkitTestBase::assertToolkitOperationsCalled | function | core/ |
Assert that all of the specified image toolkit operations were called exactly once once, other values result in failure. |
TourTestBase::assertTourTips | function | core/ |
Assert function to determine if tips rendered to the page have a corresponding page element. |
TourTestBase::assertTourTips | function | core/ |
Assert function to determine if tips rendered to the page have a corresponding page element. |
TrackChangesTest::assertTermDoesNotExist | function | core/ |
Assert that term with given title does not exist. |
TrackChangesTest::assertTermExists | function | core/ |
Assert that term with given name exists. |
TrackerTest::assertHistoryMetadata | function | core/ |
Passes if the appropriate history metadata exists. |
TransactionTest::assertRowAbsent | function | core/ |
Asserts that a given row is absent from the test table. |
TransactionTest::assertRowPresent | function | core/ |
Asserts that a given row is present in the test table. |
TranslatableMarkupTest::testIsStringAssertion | function | core/ |
@covers ::__construct |
TranslatableMarkupTest::testIsStringAssertionWithFormattableMarkup | function | core/ |
@covers ::__construct |
TwigNamespaceTest::assertTwigTemplate | function | core/ |
Checks to see if a value is a twig template. |
TwigRegistryLoaderTest::assertTwigTemplate | function | core/ |
Checks to see if a value is a Twig template. |
TwigTransTest::assertTwigTransTags | function | core/ |
Asserts Twig trans tags. |
UiHelperTrait::assertSession | function | core/ |
Returns WebAssert object. |
UncaughtExceptionTest::assertErrorLogged | function | core/ |
Asserts that a specific error has been logged to the PHP error log. |
UncaughtExceptionTest::assertNoErrorsLogged | function | core/ |
Asserts that no errors have been logged to the PHP error.log thus far. |
UncaughtExceptionTest::assertNoRaw | function | core/ |
Passes if the raw text IS not found on the loaded page, fail otherwise. |
UncaughtExceptionTest::assertNoText | function | core/ |
Passes if the page (with HTML stripped) does not contains the text. |
UncaughtExceptionTest::assertRaw | function | core/ |
Passes if the raw text IS found on the loaded page, fail otherwise. |
UncaughtExceptionTest::assertResponse | function | core/ |
Asserts the page responds with the specified response code. |
UncaughtExceptionTest::assertText | function | core/ |
Passes if the page (with HTML stripped) contains the text. |
UninstallDefaultContentTest::assertArticlesImported | function | core/ |
Assert articles are imported. |
UninstallDefaultContentTest::assertImportedCustomBlock | function | core/ |
Assert block content are imported. |
UninstallDefaultContentTest::assertRecipesImported | function | core/ |
Assert recipes are imported. |
UnitTestCase::assertArrayEquals | function | core/ |
Asserts if two arrays are equal by sorting them first. |
UpdateContribTest::assertCoreCompatibilityMessage | function | core/ |
Asserts that a core compatibility message is correct for an update. |
UpdateCoreTest::assertVersionUpdateLinks | function | core/ |
Asserts that an update version has the correct links. |
UpdateScriptTest::assertErrorOnUpdate | function | core/ |
Asserts an error is shown on the update and status report pages. |
UpdateScriptTest::assertInstalledExtensionConfig | function | core/ |
Asserts that an installed extension's config setting is correct. |
UpdateScriptTest::assertUpdateWithNoError | function | core/ |
Asserts a particular error is not shown on update and status report pages. |
UpdateTestBase::assertSecurityUpdates | function | core/ |
Asserts the expected security updates are displayed correctly on the page. |
UpdateTestBase::assertUpdateTableElementContains | function | core/ |
Asserts that the update table element HTML contains the specified text. |
UpdateTestBase::assertUpdateTableTextContains | function | core/ |
Asserts that the update table text contains the specified text. |
UpdateTestBase::assertVersionUpdateLinks | function | core/ |
Asserts that an update version has the correct links. |
Upgrade6Test::assertFollowUpMigrationResults | function | core/ |
Tests that follow-up migrations have been run successfully. |
Upgrade7Test::assertFollowUpMigrationResults | function | core/ |
Tests that follow-up migrations have been run successfully. |
UrlAlterFunctionalTest::assertUrlInboundAlter | function | core/ |
Assert that a 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::assertNoPasswordUserFlood | function | core/ |
Makes assertions about a password reset not triggering user flood control. |
UserPasswordResetTest::assertNoValidPasswordReset | function | core/ |
Helper function to make assertions about an invalid password reset. |
Pagination
- Previous page
- Page 21
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.