You are here

private function PatternsParserTestCase::analyze_scan in Patterns 7.2

3 calls to PatternsParserTestCase::analyze_scan()
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 51
SimpleTests for the Taxonomy component of Patterns.

Class

PatternsParserTestCase
@file SimpleTests for the Taxonomy component of Patterns.

Code

private function analyze_scan($scan, $level, $include = FALSE) {
  $analysis = _patterns_scan_analyze_patternscan($scan, $include, $level);
  $this
    ->assertNotNull($analysis, t('Pattern-scan was analyzed successfully.'));
  return $analysis;
}