function UncaughtExceptionTest::assertNoText
Overrides AssertLegacyTrait::assertNoText
3 calls to UncaughtExceptionTest::assertNoText()
- UncaughtExceptionTest::assertNoRaw in core/
tests/ Drupal/ FunctionalTests/ Bootstrap/ UncaughtExceptionTest.php - Passes if the raw text IS not found on the loaded page, fail otherwise.
- UncaughtExceptionTest::testUncaughtException in core/
tests/ Drupal/ FunctionalTests/ Bootstrap/ UncaughtExceptionTest.php - Tests uncaught exception handling when system is in a bad state.
- UncaughtExceptionTest::testUncaughtExceptionCustomExceptionHandler in core/
tests/ Drupal/ FunctionalTests/ Bootstrap/ UncaughtExceptionTest.php - Tests uncaught exception handling with custom exception handler.
File
-
core/
tests/ Drupal/ FunctionalTests/ Bootstrap/ UncaughtExceptionTest.php, line 380
Class
- UncaughtExceptionTest
- Tests kernel panic when things are really messed up.
Namespace
Drupal\FunctionalTests\BootstrapCode
protected function assertNoText($text) {
$this->assertStringNotContainsString($text, $this->response);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.