public function PatternsParserTestCase::check_invalid in Patterns 7
Same name and namespace in other branches
- 7.2 tests/parser/parser.test \PatternsParserTestCase::check_invalid()
File
- tests/
parser/ parser.test, line 53 - SimpleTests for the Taxonomy component of Patterns.
Class
- PatternsParserTestCase
- @file SimpleTests for the Taxonomy component of Patterns.
Code
public function check_invalid($pattern) {
$analysis = $this
->basic_checks($pattern);
$this
->assertNotEqual(count($analysis), 0, t('Error messages generated while parsing invalid pattern.'));
}