<?php
require_once ('lib/simpletest/unit_tester.php');
require_once ('lib/simpletest/reporter.php');
require_once ('junit/HtmlTableTests.php') ;
require_once ('junit/HtmlTests.php') ;
require_once ('junit/HtmlFormTests.php') ;
require_once ('junit/HtmlDocumentTests.php') ;
require_once ('junit/HtmlMapTests.php') ;
$libtest = array (
'HtmlTable Tests' => new HtmlTableTests(),
'HtmlForm Tests' => new HtmlFormTests(),
'HtmlDocument Tests' => new HtmlDocumentTests(),
'HtmlTests' => new HtmlTests(),
'HtmlMap Tests' => new HtmlMapTests(),
) ;
foreach ($libtest as $testname => $testgroup) {
$tester = new GroupTest($testname) ;
$tester->addTestCase ($testgroup) ;
$tester->run(new HtmlReporter("UTF-8")) ;
flush() ;
}
?>
|