1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2026-01-14 12:02:20 +03:00
Files
postfixadmin/tests/simpletest/test/detached_test.php
2009-03-15 21:24:56 +00:00

15 lines
519 B
PHP

<?php
// $Id: detached_test.php,v 1.2 2006/11/20 23:44:37 lastcraft Exp $
require_once('../detached.php');
require_once('../reporter.php');
// The following URL will depend on your own installation.
$command = 'php ' . dirname(__FILE__) . '/visual_test.php xml';
$test = &new TestSuite('Remote tests');
$test->addTestCase(new DetachedTestCase($command));
if (SimpleReporter::inCli()) {
exit ($test->run(new TextReporter()) ? 0 : 1);
}
$test->run(new HtmlReporter());
?>