#17528788 : unittest framework added

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6001 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-03-30 16:21:34 +00:00
parent ea7c87ec0d
commit 7619bce790
99 changed files with 31041 additions and 0 deletions

17
tests/index.php Normal file
View file

@ -0,0 +1,17 @@
<?php
define('__ZBXE__', true);
require_once('../config/config.inc.php');
require_once('simpletest/autorun.php');
class AllTests extends TestSuite {
function AllTests() {
$oContext = &Context::getInstance();
$oContext->init();
$this->TestSuite('XpressEngine Test');
$this->addFile(dirname(__FILE__).'/classes/context/Context.test.php');
$this->addFile(dirname(__FILE__).'/modules/module/module.test.php');
}
}
?>