summaryrefslogtreecommitdiff
path: root/tests/unit/Web/UI/AllTests.php
diff options
context:
space:
mode:
authorknut <>2007-06-11 17:24:23 +0000
committerknut <>2007-06-11 17:24:23 +0000
commit664830a178052d915d5dfc59a3e023120781d6ba (patch)
treea353bc02db96af0e4a9c474c8bbfcf874f9611e5 /tests/unit/Web/UI/AllTests.php
parentdbd2306c6986e16e5cf92b01aa0a08040cb8b1b7 (diff)
corrected TAPCCache according to #646 and added some more stubs for unit tests in System.Web.UI
Diffstat (limited to 'tests/unit/Web/UI/AllTests.php')
-rw-r--r--tests/unit/Web/UI/AllTests.php47
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/unit/Web/UI/AllTests.php b/tests/unit/Web/UI/AllTests.php
new file mode 100644
index 00000000..177852b3
--- /dev/null
+++ b/tests/unit/Web/UI/AllTests.php
@@ -0,0 +1,47 @@
+<?php
+require_once dirname(__FILE__).'/../../phpunit.php';
+
+if(!defined('PHPUnit_MAIN_METHOD')) {
+ define('PHPUnit_MAIN_METHOD', 'Web_UI_AllTests::main');
+}
+
+require_once 'TClientScriptManagerTest.php';
+require_once 'TControlAdapterTest.php';
+require_once 'TControlTest.php';
+require_once 'TFormTest.php';
+require_once 'TPageTest.php';
+/*require_once 'TTemplateControlTest.php';
+require_once 'TTemplateManagerTest.php';
+require_once 'TThemeManagerTest.php';
+require_once 'THtmlWriterTest.php';
+require_once 'TPageStatePersisterTest.php';
+require_once 'TSessionPageStatePersisterTest.php';*/
+
+class Web_UI_AllTests {
+ public static function main() {
+ PHPUnit_TextUI_TestRunner::run(self::suite());
+ }
+
+ public static function suite() {
+ $suite = new PHPUnit_Framework_TestSuite('System.Web.UI');
+
+ $suite->addTestSuite('TClientScriptManagerTest');
+ $suite->addTestSuite('TControlAdapterTest');
+ $suite->addTestSuite('TControlTest');
+ $suite->addTestSuite('TFormTest');
+ $suite->addTestSuite('TPageTest');
+ /*$suite->addTestSuite('TTemplateControlTest');
+ $suite->addTestSuite('TTemplateManagerTest');
+ $suite->addTestSuite('TThemeManagerTest');
+ $suite->addTestSuite('THtmlWriterTest');
+ $suite->addTestSuite('TPageStatePersisterTest');
+ $suite->addTestSuite('TSessionPageStatePersisterTest');*/
+
+ return $suite;
+ }
+}
+
+if(PHPUnit_MAIN_METHOD == 'Web_UI_AllTests::main') {
+ Web_UI_AllTests::main();
+}
+?>