GroupTest('Unit tests'); $this->addTestFile('errors_test.php'); $this->addTestFile('options_test.php'); $this->addTestFile('dumper_test.php'); $this->addTestFile('expectation_test.php'); $this->addTestFile('unit_tester_test.php'); $this->addTestFile('simple_mock_test.php'); $this->addTestFile('adapter_test.php'); $this->addTestFile('socket_test.php'); $this->addTestFile('encoding_test.php'); $this->addTestFile('url_test.php'); $this->addTestFile('http_test.php'); $this->addTestFile('authentication_test.php'); $this->addTestFile('user_agent_test.php'); $this->addTestFile('parser_test.php'); $this->addTestFile('tag_test.php'); $this->addTestFile('form_test.php'); $this->addTestFile('page_test.php'); $this->addTestFile('frames_test.php'); $this->addTestFile('browser_test.php'); $this->addTestFile('web_tester_test.php'); $this->addTestFile('shell_tester_test.php'); $this->addTestFile('xml_test.php'); } } if (TEST == __FILE__) { $test = &new UnitTests(); if (SimpleReporter::inCli()) { exit ($test->run(new TextReporter()) ? 0 : 1); } $test->run(new HtmlReporter()); } ?>