зеркало из https://github.com/mozilla/pjs.git
15 строки
528 B
PHP
15 строки
528 B
PHP
<?php
|
|
// $Id: detached_test.php,v 1.1 2006-08-27 02:06:40 shaver%mozilla.org 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 GroupTest('Remote tests');
|
|
$test->addTestCase(new DetachedTestCase($command));
|
|
if (SimpleReporter::inCli()) {
|
|
exit ($test->run(new TextReporter()) ? 0 : 1);
|
|
}
|
|
$test->run(new HtmlReporter());
|
|
?>
|