summaryrefslogtreecommitdiff
path: root/test/KolabAdmin/TestInit.php
diff options
context:
space:
mode:
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/');