summaryrefslogtreecommitdiff
path: root/buildscripts/phing/tasks/PradoTestTask.php
diff options
context:
space:
mode:
authorxue <>2006-06-19 02:34:25 +0000
committerxue <>2006-06-19 02:34:25 +0000
commitbf41d24477d0d13f2bdb1cc87f645ef9f1f4de7b (patch)
treec37ef0365d620724cf3301b3c8dc9005901d965a /buildscripts/phing/tasks/PradoTestTask.php
parentb59ab2490b1bb82dc1d0b58d89584182b405d0a0 (diff)
Added phing
Diffstat (limited to 'buildscripts/phing/tasks/PradoTestTask.php')
-rw-r--r--buildscripts/phing/tasks/PradoTestTask.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/buildscripts/phing/tasks/PradoTestTask.php b/buildscripts/phing/tasks/PradoTestTask.php
new file mode 100644
index 00000000..ba1e06be
--- /dev/null
+++ b/buildscripts/phing/tasks/PradoTestTask.php
@@ -0,0 +1,18 @@
+<?php
+require_once 'phing/Task.php';
+require_once 'phing/tasks/ext/phpunit2/PHPUnit2Task.php';
+
+/**
+ * Task to run PRADO unit tests
+ */
+class PradoTestTask extends PHPUnit2Task
+{
+ function init()
+ {
+ $phpunit2_path = realpath(dirname(__FILE__).'/../..');
+ set_include_path(get_include_path().PATH_SEPARATOR.$phpunit2_path);
+ parent::init();
+ }
+}
+
+?> \ No newline at end of file