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

Public Member Functions

 setup ()
 teardown ()
 createFiles ()
 test_format_postdata_for_curlcall ()
 test_download_file_content ()

Static Public Attributes

static $includecoverage = array('lib/filelib.php')

Protected Attributes

 $course
 $section
 $coursecat
 $user
 $module

Detailed Description

Parent class used only for setup() and teardown() methods, to create and cleanup test data

Definition at line 38 of file broken_testfilelib.php.


Member Function Documentation

Definition at line 173 of file broken_testfilelib.php.

setup ( )

Setup the DB fixture data

Now is the correct moment to install capabilities - after creation of legacy roles, but before assigning of roles

Reimplemented in test_file_info_context_module, test_file_info_context_user, test_file_info_context_course, and test_file_info_context_coursecat.

Definition at line 49 of file broken_testfilelib.php.

Here is the call graph for this function:

teardown ( )

Definition at line 169 of file broken_testfilelib.php.

Here is the call graph for this function:

Definition at line 83 of file testfilelib.php.

Here is the call graph for this function:

Definition at line 33 of file testfilelib.php.

Here is the call graph for this function:


Field Documentation

$course [protected]

Definition at line 39 of file broken_testfilelib.php.

$coursecat [protected]

Definition at line 41 of file broken_testfilelib.php.

$includecoverage = array('lib/filelib.php') [static]

Definition at line 44 of file broken_testfilelib.php.

$module [protected]

Definition at line 43 of file broken_testfilelib.php.

$section [protected]

Definition at line 40 of file broken_testfilelib.php.

$user [protected]

Definition at line 42 of file broken_testfilelib.php.


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