private function PatternsParserTestCase::scan_pattern in Patterns 7.2
3 calls to PatternsParserTestCase::scan_pattern()
- PatternsParserTestCase::check_invalid in tests/
parser/ parser.test - PatternsParserTestCase::check_valid_semantics in tests/
parser/ parser.test - PatternsParserTestCase::check_valid_syntax_only in tests/
parser/ parser.test
File
- tests/
parser/ parser.test, line 45 - SimpleTests for the Taxonomy component of Patterns.
Class
- PatternsParserTestCase
- @file SimpleTests for the Taxonomy component of Patterns.
Code
private function scan_pattern($pattern) {
$scan = patterns_scan_pattern($pattern);
$this
->assertNotNull($scan, t('Pattern file loaded and scanned.'));
return $scan;
}