Updated the test suite, running well with all tests, now will be added the new functions CT#191

skala
Arthur Portugal 15 years ago
parent 2a2a3a474f
commit 656f85a0e6
  1. 5
      tests/test_suite.php

@ -38,6 +38,7 @@ require_once $incdir.'lib/banner.lib.php';
require_once $incdir.'lib/add_course.lib.inc.php';
require_once $incdir.'tool_navigation_menu.inc.php';
require_once $incdir.'banner.inc.php';
require_once $libdir.'geometry.lib.php';
ob_end_clean();
//List of files than need the tests since chamilo
@ -123,7 +124,7 @@ class TestsSuite extends TestSuite {
function TestsSuite() {
$this->setUp();
$this->TestSuite('All tests suite');
/*$this->addTestFile(dirname(__FILE__).'/main/install/install_upgrade.lib.test.php');
$this->addTestFile(dirname(__FILE__).'/main/install/install_upgrade.lib.test.php');
$this->addTestFile(dirname(__FILE__).'/main/inc/lib/database.lib.test.php');
$this->addTestFile(dirname(__FILE__).'/main/inc/lib/add_course.lib.inc.test.php');
$this->addTestFile(dirname(__FILE__).'/main/inc/lib/course.lib.test.php');
@ -178,7 +179,7 @@ class TestsSuite extends TestSuite {
$this->addTestFile(dirname(__FILE__).'/main/inc/lib/fileUpload.lib.test.php');
$this->addTestFile(dirname(__FILE__).'/main/inc/lib/main_api.lib.test.php');//this file delete the course
$this->addTestFile(dirname(__FILE__).'/main/inc/lib/debug.lib.inc.test.php');//this file need be to the finish of the tests
*/
//This files have a metadata and is not available for the test.
//$this->addTestFile(dirname(__FILE__).'/main/inc/lib/xht.lib.test.php');
//$this->addTestFile(dirname(__FILE__).'/main/inc/lib/xmd.lib.test.php');

Loading…
Cancel
Save