[svn r20978] Minor - editing all.test.php added $test =$new Alltests()

skala
Ricardo Rodriguez 17 years ago
parent cec7c982e1
commit f0e74ff551
  1. 8
      tests/all.test.php

@ -1,13 +1,17 @@
<?php //$id$ <?php //$id$
require_once('../main/inc/global.inc.php'); require_once('../main/inc/global.inc.php');
$_SESSION['_user']['user_id'] = 1; $_SESSION['_user']['user_id'] = 1;
require('../main/inc/global.inc.php'); require_once('../main/inc/global.inc.php');
require_once('simpletest/autorun.php'); require_once('simpletest/autorun.php');
class AllTests extends TestSuite { class AllTests extends TestSuite {
function AllTests() { function AllTests() {
$this->TestSuite('All tests'); $this->TestSuite('All tests');
$this->addTestFile(dirname(__FILE__).'/main/inc/lib/usermanager.lib.test.php'); //$this->addTestFile(dirname(__FILE__).'/main/inc/lib/usermanager.lib.test.php');
$this->addTestFile(dirname(__FILE__).'/main/inc/lib/main_api.lib.test.php');
} }
} }
$test = &new AllTests();
//$test-> run( new HtmlReporter());
?> ?>
Loading…
Cancel
Save