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

Public Member Functions

 setUp ()
 tearDown ()
 test_empty_initially ()
 test_adding_and_retrieving_one_block ()
 test_adding_and_retrieving_two_blocks ()
 test_block_not_included_in_different_context ()
 test_block_included_in_sub_context ()
 test_block_not_included_on_different_page_type ()
 test_block_not_included_on_different_sub_page ()
 test_block_included_with_explicit_sub_page ()
 test_block_included_with_page_type_pattern ()

Protected Member Functions

 get_a_page_and_block_manager ($regions, $context, $pagetype, $subpage= '')
 get_a_known_block_type ()
 assertContainsBlocksOfType ($typearray, $blockarray)

Protected Attributes

 $isediting = null

Detailed Description

Test methods that load and save data from block_instances and block_positions.

Definition at line 160 of file testblocklib_blockmanager.php.


Member Function Documentation

assertContainsBlocksOfType ( typearray,
blockarray 
) [protected]

Definition at line 212 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

Here is the caller graph for this function:

get_a_known_block_type ( ) [protected]

Definition at line 204 of file testblocklib_blockmanager.php.

Here is the caller graph for this function:

get_a_page_and_block_manager ( regions,
context,
pagetype,
subpage = '' 
) [protected]

Definition at line 191 of file testblocklib_blockmanager.php.

Here is the caller graph for this function:

setUp ( )

Definition at line 164 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

tearDown ( )

Reimplemented from UnitTestCaseUsingDatabase.

Definition at line 181 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

Definition at line 236 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

Definition at line 253 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

Definition at line 299 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

Definition at line 363 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

Definition at line 381 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

Definition at line 271 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

Definition at line 327 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

Definition at line 345 of file testblocklib_blockmanager.php.

Here is the call graph for this function:

Definition at line 225 of file testblocklib_blockmanager.php.

Here is the call graph for this function:


Field Documentation

$isediting = null [protected]

Definition at line 162 of file testblocklib_blockmanager.php.


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