summaryrefslogtreecommitdiff
path: root/tests/unit/Web/UI/ActiveControls/AllTests.php
diff options
context:
space:
mode:
authorcarl <>2007-06-09 12:26:28 +0000
committercarl <>2007-06-09 12:26:28 +0000
commitc6d4662e08b300ae2d388322f8be8e6d61994074 (patch)
treec8184df26166871a65946503cee46fbee3f41bba /tests/unit/Web/UI/ActiveControls/AllTests.php
parent57089028b6e03a2c15687b5e4708dd2011af287d (diff)
simple unit test for TActiveHiddenField property Value
Diffstat (limited to 'tests/unit/Web/UI/ActiveControls/AllTests.php')
-rw-r--r--tests/unit/Web/UI/ActiveControls/AllTests.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/unit/Web/UI/ActiveControls/AllTests.php b/tests/unit/Web/UI/ActiveControls/AllTests.php
new file mode 100644
index 00000000..55c4331d
--- /dev/null
+++ b/tests/unit/Web/UI/ActiveControls/AllTests.php
@@ -0,0 +1,26 @@
+<?php
+require_once dirname(__FILE__).'/../../../phpunit.php';
+
+if(!defined('PHPUnit_MAIN_METHOD')) {
+ define('PHPUnit_MAIN_METHOD', 'Web_UI_ActiveControls_AllTests::main');
+}
+
+require_once 'TActiveHiddenFieldTest.php';
+
+class Web_UI_ActiveControls_AllTests {
+ public static function main() {
+ PHPUnit_TextUI_TestRunner::run(self::suite());
+ }
+
+ public static function suite() {
+ $suite = new PHPUnit_Framework_TestSuite('System.Web.UI.ActiveControls');
+
+ $suite->addTestSuite('TActiveHiddenFieldTest');
+ return $suite;
+ }
+}
+
+if(PHPUnit_MAIN_METHOD == 'Web_UI_ActiveControls_AllTests::main') {
+ Web_UI_ActiveControls_AllTests::main();
+}
+?>