summaryrefslogtreecommitdiff
path: root/test/KolabAdmin/TestInit.php
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-02-17 07:34:26 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-02-17 07:34:26 (GMT)
commit24ba323874b546541545449901b1572f76e271dc (patch)
tree3ca4201df185772f716b60823daae168a2afe01a /test/KolabAdmin/TestInit.php
parent0e7067674f77d9cc940a96a1480af0820ee0ee82 (diff)
downloadkolab-webadmin-24ba323874b546541545449901b1572f76e271dc.tar.gz
Start adding the standard unit test suite.
Diffstat (limited to 'test/KolabAdmin/TestInit.php')
-rw-r--r--test/KolabAdmin/TestInit.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/KolabAdmin/TestInit.php b/test/KolabAdmin/TestInit.php
new file mode 100644
index 0000000..b05e0d4
--- /dev/null
+++ b/test/KolabAdmin/TestInit.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Initialize testing for this application.
+ *
+ * PHP version 5
+ *
+ * @category Kolab
+ * @package KolabAdmin
+ * @author Gunnar Wrobel <wrobel@pardus.de>
+ * @license http://www.fsf.org/copyleft/lgpl.html LGPL
+ * @link http://pear.horde.org/index.php?package=KolabAdmin
+ */
+
+/**
+ * The Autoloader allows us to omit "require/include" statements.
+ */
+require_once 'Horde/Autoloader.php';
+
+if (!defined('KOWARD_BASE')) {
+ define('KOWARD_BASE', dirname(__FILE__) . '/../');
+}
+
+/* Set up the application class and controller loading */
+Horde_Autoloader::addClassPattern('/^KolabAdmin_/', KOWARD_BASE . '/lib/');
+Horde_Autoloader::addClassPattern('/^KolabAdmin_/', KOWARD_BASE . '/app/controllers/');