3 require dirname(__FILE__
)."/../lib/Haanga.php";
4 require dirname(__FILE__
)."/../lib/Haanga/Compiler.php";
5 require dirname(__FILE__
)."/templateTest.php";
6 require dirname(__FILE__
)."/errorTest.php";
9 class TestSuite
extends PHPUnit_Framework_TestSuite
11 public static function suite()
13 $suite = new TestSuite('Haanga test suite');
14 $suite->addTestSuite('templateTest');
15 $suite->addTestSuite('errorTest');
20 public static function Init()
23 'cache_dir' => 'tmp/',
24 'template_dir' => '.',
26 'use_hash_filename' => FALSE,
29 'global' => array('test_global', 'global1'),
33 Haanga
::Configure($config);