diff options
author | xue <> | 2005-11-10 12:47:19 +0000 |
---|---|---|
committer | xue <> | 2005-11-10 12:47:19 +0000 |
commit | 55c4ac1bfe565f1ca7f537fdd8b7a201be28e581 (patch) | |
tree | a0599d5e36fdbb3f1e169ae56bab7d529597e3eb /tests/UnitTests/simpletest/test/remote_test.php |
Initial import of prado framework
Diffstat (limited to 'tests/UnitTests/simpletest/test/remote_test.php')
-rw-r--r-- | tests/UnitTests/simpletest/test/remote_test.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/UnitTests/simpletest/test/remote_test.php b/tests/UnitTests/simpletest/test/remote_test.php new file mode 100644 index 00000000..16c82b31 --- /dev/null +++ b/tests/UnitTests/simpletest/test/remote_test.php @@ -0,0 +1,17 @@ +<?php
+ // $Id: remote_test.php,v 1.4 2004/04/07 19:12:13 lastcraft Exp $
+ require_once('../remote.php');
+ require_once('../reporter.php');
+
+ // The following URL will depend on your own installation.
+ $base_url = 'http://uno/simple/';
+
+ $test = &new GroupTest('Remote tests');
+ $test->addTestCase(new RemoteTestCase(
+ $base_url . 'test/visual_test.php?xml=yes',
+ $base_url . 'test/visual_test.php?xml=yes&dry=yes'));
+ if (SimpleReporter::inCli()) {
+ exit ($test->run(new XmlReporter()) ? 0 : 1);
+ }
+ $test->run(new HtmlReporter());
+?>
\ No newline at end of file |