|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| setUp () | |
| tearDown () | |
| test_backup_structure_construct () | |
| test_backup_structure_wrong () | |
Static Public Attributes | |
| static | $includecoverage |
| static | $excludecoverage |
Protected Attributes | |
| $testtables | |
| $forumid | |
| $contextid | |
Unit test case the all the backup structure classes. Note: Uses database
Definition at line 39 of file testbackupstructures.php.
| setUp | ( | ) |
| tearDown | ( | ) |
Reimplemented from UnitTestCaseUsingDatabase.
Definition at line 72 of file testbackupstructures.php.
Backup structures tests (construction, definition and execution)
Create some new nested elements, both named 'dupetest1', and add them to alternative1 and alternative2 (not problem as far as the optigroup in not unique)
Definition at line 147 of file testbackupstructures.php.

Backup structures wrong tests (trying to do things the wrong way)
Definition at line 470 of file testbackupstructures.php.

$contextid [protected] |
Definition at line 56 of file testbackupstructures.php.
$excludecoverage [static] |
array( 'backup/util/structure/simpletest' )
Definition at line 44 of file testbackupstructures.php.
$forumid [protected] |
Definition at line 55 of file testbackupstructures.php.
$includecoverage [static] |
array( 'backup/util/structure' )
Definition at line 41 of file testbackupstructures.php.
$testtables [protected] |
array( 'lib' => array( 'files', 'rating'), 'mod/forum' => array( 'forum', 'forum_discussions', 'forum_posts', 'forum_read'))
Definition at line 48 of file testbackupstructures.php.