Search for assert

  1. Search 9.5.x for assert
  2. Search 8.9.x for assert
  3. Search 10.3.x for assert
  4. Search 11.x for assert
  5. Other projects
Title Object type File name Summary
RequestSanitizerTest::assertEqualLabelled function modules/simpletest/tests/request_sanitizer.test Asserts two values are equal, includes a label.
RequestSanitizerTest::assertError function modules/simpletest/tests/request_sanitizer.test Asserts that the expected error has been logged.
SchemaTestCase::assertFieldAdditionRemoval function modules/simpletest/tests/schema.test Assert that a given field can be added and removed from a table.
SchemaTestCase::assertFieldCharacteristics function modules/simpletest/tests/schema.test Assert that a newly added field has the correct characteristics.
SessionHttpsTestCase::assertSessionIds function modules/simpletest/tests/session.test Test that there exists a session with two specific session IDs.
SessionTestCase::assertSessionCookie function modules/simpletest/tests/session.test Assert whether the SimpleTest browser sent a session cookie.
SessionTestCase::assertSessionEmpty function modules/simpletest/tests/session.test Assert whether $_SESSION is empty at the beginning of the request.
SimpleTestFunctionalTest::assertAssertion function modules/simpletest/simpletest.test Assert that an assertion with the specified values is displayed
in the test results.
SimpleTestFunctionalTest::assertNothing function modules/simpletest/simpletest.test Assert nothing.
SystemValidTokenTest::$assertErrors property modules/system/system.test Flag to indicate whether PHP error reportings should be asserted.
TaxonomyQueryAlterTestCase::assertQueryTagTestResult function modules/taxonomy/taxonomy.test Verifies invocation of the hooks in the test module.
TranslationTestCase::assertContentByXPath function modules/translation/translation.test Asserts an element identified by the given XPath has the given content.
TranslationTestCase::assertLanguageSwitchLinks function modules/translation/translation.test Tests whether the specified language switch links are found.
TriggerActionTestCase::assertSystemEmailTokenReplacement function modules/trigger/trigger.test Asserts correct token replacement for the given trigger and account.
TriggerActionTestCase::assertSystemMessageAndEmailTokenReplacement function modules/trigger/trigger.test Asserts correct token replacement in both system message and email.
TriggerActionTestCase::assertSystemMessageTokenReplacement function modules/trigger/trigger.test Asserts correct token replacement for the given trigger and account.
UrlAlterFunctionalTest::assertUrlInboundAlter function modules/simpletest/tests/path.test Assert that a inbound path is altered to an expected value.
UrlAlterFunctionalTest::assertUrlOutboundAlter function modules/simpletest/tests/path.test Assert that an outbound path is altered to an expected value.
UserLoginTestCase::assertFailedLogin function modules/user/user.test Make an unsuccessful login attempt.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.