3 defined('ALL_TESTS_CALL') ?
null : define("ALL_TESTS_CALL",true);
4 defined('AK_ENABLE_PROFILER') ?
null : define('AK_ENABLE_PROFILER',true);
6 require_once(dirname(__FILE__
).'/../../fixtures/config/config.php');
8 if(!defined('ALL_TESTS_RUNNER') && empty($test)){
9 $test = &new GroupTest('Akelos Framework AkRequest Tests');
10 define('ALL_TESTS_RUNNER', false);
13 $partial_tests = array(
18 foreach ($partial_tests as $partial_test){
19 $test->addTestFile(AK_LIB_TESTS_DIRECTORY
.DS
.'AkRequest'.DS
.'_'.$partial_test.'.php');
22 if(!ALL_TESTS_RUNNER
){
23 if (TextReporter
::inCli()) {
24 exit ($test->run(new TextReporter()) ?
0 : 1);
26 $test->run(new HtmlReporter());