public function PatternsParserTestCase::check_valid in Patterns 7
File
- tests/
parser/ parser.test, line 48 - SimpleTests for the Taxonomy component of Patterns.
Class
- PatternsParserTestCase
- @file SimpleTests for the Taxonomy component of Patterns.
Code
public function check_valid($pattern) {
$analysis = $this
->basic_checks($pattern);
$this
->assertEqual(count($analysis), 0, t('No error message generated while parsing valid pattern.'));
}