private function PatternsGeneralTestCase::checkPage in Patterns 7
Same name and namespace in other branches
- 7.2 tests/general/general.test \PatternsGeneralTestCase::checkPage()
1 call to PatternsGeneralTestCase::checkPage()
- PatternsGeneralTestCase::verifyAccess in tests/
general/ general.test - Verify the logged in user has the desired access to the various menu nodes.
File
- tests/
general/ general.test, line 80 - General SimpleTests for Patterns. Also, a Pattern running base class which uses QuickRun.
Class
- PatternsGeneralTestCase
- @file General SimpleTests for Patterns. Also, a Pattern running base class which uses QuickRun.
Code
private function checkPage() {
// TODO: regexp?
// TODO: do this better?
$this
->assertNoText(t('Error'), t('There should be no errors.'));
$this
->assertNoText(t('Warning'), t('There should be no warnings.'));
$this
->assertNoText(t('Notice'), t('There should be no notices.'));
}