Moodle  2.2.1
http://www.collinsharper.com
progressive_parser_test Class Reference
Inheritance diagram for progressive_parser_test:
Collaboration diagram for progressive_parser_test:

Public Member Functions

 test_parser_public_api ()
 test_parser_results ()
 test_simplified_parser_results ()
 test_simplified_david_backup19_file_fragment ()
 test_grouped_parser_results ()
 test_grouped_david_backup19_file_fragment ()
 helper_check_notifications_order_integrity ($notifications)

Static Public Attributes

static $includecoverage = array('backup/util/xml/parser')
static $excludecoverage = array('backup/util/xml/parser/simpletest')

Detailed Description

Definition at line 39 of file testparser.php.


Member Function Documentation

Helper function that given one array of ordered start/process/end notifications will check it of integrity like:

  • process only happens if start is the previous notification
  • end only happens if dispatch is the previous notification
  • start only happen with level > than last one and if there is no already started like that
Parameters:
array$notificationsordered array of notifications with format [start|process|end]:path
Returns:
int number of integrity problems found (errors)

Definition at line 652 of file testparser.php.

Here is the caller graph for this function:

test how the grouped processor and the order of start/process/end events happens with one real fragment of one backup 1.9 file, where some problems were found by David, hence we honor him in the name of the test ;-)

Definition at line 589 of file testparser.php.

Here is the call graph for this function:

Definition at line 413 of file testparser.php.

Here is the call graph for this function:

Definition at line 47 of file testparser.php.

Here is the call graph for this function:

Definition at line 162 of file testparser.php.

Here is the call graph for this function:

test how the simplified processor and the order of start/process/end events happens with one real fragment of one backup 1.9 file, where some problems were found by David, hence we honor him in the name of the test ;-)

Definition at line 347 of file testparser.php.

Here is the call graph for this function:

Definition at line 187 of file testparser.php.

Here is the call graph for this function:


Field Documentation

$excludecoverage = array('backup/util/xml/parser/simpletest') [static]

Definition at line 42 of file testparser.php.

$includecoverage = array('backup/util/xml/parser') [static]

Definition at line 41 of file testparser.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations