all.test3.php 650 B

123456789101112131415161718192021222324252627
  1. <?php
  2. //Set the time limit for the tests
  3. ini_set('memory_limit','256M');
  4. //List of files than need some tests
  5. require_once('simpletest/autorun.php');
  6. require_once('simpletest/web_tester.php');
  7. require_once('simpletest/mock_objects.php');
  8. require_once('simpletest/unit_tester.php');
  9. require_once(dirname(__FILE__).'/../main/inc/global.inc.php');
  10. $_SESSION['_user']['user_id'] = 1;
  11. $_user= 1;
  12. class AllTests3 extends TestSuite {
  13. function AllTests3() {
  14. $this->TestSuite('All tests3');
  15. $this->addTestFile(dirname(__FILE__).'/main/admin/sub_language.class.test.php');
  16. }
  17. }
  18. $test = &new AllTests3();
  19. //$test-> run( new HtmlReporter());
  20. ?>