4 * Tests for static functions and generic utilities provided by Akelos
7 defined('ALL_TESTS_CALL') ?
null : define("ALL_TESTS_CALL", true);
8 defined('AK_ENABLE_PROFILER') ?
null : define('AK_ENABLE_PROFILER',true);
10 defined('AK_TEST_DATABASE_ON') ?
null : define('AK_TEST_DATABASE_ON', true);
11 require_once(dirname(__FILE__
).'/../../fixtures/config/config.php');
13 if(!defined('ALL_TESTS_RUNNER') && empty($test)){
14 $test = &new GroupTest('Akelos Framework Static Method and utilities Tests');
15 define('ALL_TESTS_RUNNER', false);
20 $partial_tests = array(
23 'Ak_object_inspection',
24 //'Ak_file_functions_over_ftp',
25 'Ak_support_functions',
28 foreach ($partial_tests as $partial_test){
29 $test->addTestFile(AK_LIB_TESTS_DIRECTORY
.DS
.'utils'.DS
.'_'.$partial_test.'.php');
32 if(!ALL_TESTS_RUNNER
){
33 if (TextReporter
::inCli()) {
34 exit ($test->run(new TextReporter()) ?
0 : 1);
36 $test->run(new HtmlReporter());