summaryrefslogtreecommitdiff
path: root/modules/unit_test/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-15 08:52:32 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-15 08:52:32 +0000
commit628058b4ed5aefb543ceb6ca9d3b87828c66bef1 (patch)
tree89e47f00d008957e75d00e8a5fd04fa67198dea3 /modules/unit_test/controllers
parent31759cb3b3090c1b9d68ac54f2d2622584003563 (diff)
Refresh from kohana svn trunk r3771
Diffstat (limited to 'modules/unit_test/controllers')
-rw-r--r--modules/unit_test/controllers/unit_test.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/unit_test/controllers/unit_test.php b/modules/unit_test/controllers/unit_test.php
new file mode 100644
index 00000000..1c73e619
--- /dev/null
+++ b/modules/unit_test/controllers/unit_test.php
@@ -0,0 +1,22 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+/**
+ * Unit_Test controller.
+ *
+ * $Id$
+ *
+ * @package Unit_Test
+ * @author Kohana Team
+ * @copyright (c) 2007-2008 Kohana Team
+ * @license http://kohanaphp.com/license.html
+ */
+class Unit_test_Controller extends Controller {
+
+ const ALLOW_PRODUCTION = FALSE;
+
+ public function index()
+ {
+ // Run tests and show results!
+ echo new Unit_Test;
+ }
+
+} \ No newline at end of file