Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/portfolio/download/simpletest/testportfolioplugindownload.php
Go to the documentation of this file.
00001 <?php
00002 require_once($CFG->libdir.'/simpletest/testportfoliolib.php');
00003 require_once($CFG->dirroot.'/portfolio/download/lib.php');
00004 
00005 /*
00006  * TODO: The portfolio unit tests were obselete and did not work.
00007  * They have been commented out so that they do not break the
00008  * unit tests in Moodle 2.
00009  *
00010  * At some point:
00011  * 1. These tests should be audited to see which ones were valuable.
00012  * 2. The useful ones should be rewritten using the current standards
00013  *    for writing test cases.
00014  *
00015  * This might be left until Moodle 2.1 when the test case framework
00016  * is due to change.
00017 
00018 Mock::generate('boxclient', 'mock_boxclient');
00019 Mock::generatePartial('portfolio_plugin_download', 'mock_downloadplugin', array('ensure_ticket', 'ensure_account_tree'));
00020 */
00021 
00022 class testPortfolioPluginDownload extends portfoliolib_test {
00023     public static $includecoverage = array('lib/portfoliolib.php', 'portfolio/download/lib.php');
00024     public function setUp() {
00025         parent::setUp();
00026 //        $this->plugin = new mock_boxnetplugin($this);
00027 //        $this->plugin->boxclient = new mock_boxclient();
00028     }
00029 
00030     public function tearDown() {
00031         parent::tearDown();
00032     }
00033 
00034 }
00035 
 All Data Structures Namespaces Files Functions Variables Enumerations