diff options
Diffstat (limited to 'tests/unit/Web')
-rw-r--r-- | tests/unit/Web/AllTests.php | 45 | ||||
-rw-r--r-- | tests/unit/Web/UI/ActiveControls/AllTests.php | 25 | ||||
-rw-r--r-- | tests/unit/Web/UI/AllTests.php | 50 | ||||
-rw-r--r-- | tests/unit/Web/UI/WebControls/AllTests.php | 32 |
4 files changed, 0 insertions, 152 deletions
diff --git a/tests/unit/Web/AllTests.php b/tests/unit/Web/AllTests.php deleted file mode 100644 index ffd98978..00000000 --- a/tests/unit/Web/AllTests.php +++ /dev/null @@ -1,45 +0,0 @@ -<?php - -if(!defined('PHPUnit_MAIN_METHOD')) { - define('PHPUnit_MAIN_METHOD', 'Web_AllTests::main'); -} - -require_once 'TAssetManagerTest.php'; -require_once 'TCacheHttpSessionTest.php'; -require_once 'THttpCookieCollectionTest.php'; -require_once 'THttpCookieTest.php'; -require_once 'THttpRequestTest.php'; -require_once 'THttpResponseTest.php'; -require_once 'THttpSessionTest.php'; -require_once 'THttpUtilityTest.php'; -require_once 'TUriTest.php'; - -require_once 'UI/AllTests.php'; - -class Web_AllTests { - public static function main() { - PHPUnit_TextUI_TestRunner::run(self::suite()); - } - - public static function suite() { - $suite = new PHPUnit_Framework_TestSuite('System.Web'); - - $suite->addTestSuite('TAssetManagerTest'); - $suite->addTestSuite('TCacheHttpSessionTest'); - $suite->addTestSuite('THttpCookieCollectionTest'); - $suite->addTestSuite('THttpCookieTest'); - $suite->addTestSuite('THttpRequestTest'); - $suite->addTestSuite('THttpResponseTest'); - $suite->addTestSuite('THttpSessionTest'); - $suite->addTestSuite('THttpUtilityTest'); - $suite->addTestSuite('TUriTest'); - - $suite->addTest(Web_UI_AllTests::suite()); - - return $suite; - } -} - -if(PHPUnit_MAIN_METHOD == 'Web_AllTests::main') { - Web_AllTests::main(); -} diff --git a/tests/unit/Web/UI/ActiveControls/AllTests.php b/tests/unit/Web/UI/ActiveControls/AllTests.php deleted file mode 100644 index 68989996..00000000 --- a/tests/unit/Web/UI/ActiveControls/AllTests.php +++ /dev/null @@ -1,25 +0,0 @@ -<?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(); -} diff --git a/tests/unit/Web/UI/AllTests.php b/tests/unit/Web/UI/AllTests.php deleted file mode 100644 index 6885c337..00000000 --- a/tests/unit/Web/UI/AllTests.php +++ /dev/null @@ -1,50 +0,0 @@ -<?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 'TTemplateTest.php'; -require_once 'TThemeManagerTest.php'; -require_once 'TThemeTest.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('TTemplateTest'); - $suite->addTestSuite('TThemeManagerTest'); - $suite->addTestSuite('TThemeTest'); - $suite->addTestSuite('THtmlWriterTest'); - $suite->addTestSuite('TPageStatePersisterTest'); - $suite->addTestSuite('TSessionPageStatePersisterTest'); - - return $suite; - } -} - -if(PHPUnit_MAIN_METHOD == 'Web_UI_AllTests::main') { - Web_UI_AllTests::main(); -} diff --git a/tests/unit/Web/UI/WebControls/AllTests.php b/tests/unit/Web/UI/WebControls/AllTests.php deleted file mode 100644 index 5ffa45a2..00000000 --- a/tests/unit/Web/UI/WebControls/AllTests.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php - - -if(!defined('PHPUnit_MAIN_METHOD')) { - define('PHPUnit_MAIN_METHOD', 'Web_UI_WebControls_AllTests::main'); -} - -require_once 'TDropDownListTest.php'; -require_once 'TLabelTest.php'; -require_once 'TRequiredFieldValidatorTest.php'; -require_once 'TXmlTransformTest.php'; - -class Web_UI_WebControls_AllTests { - public static function main() { - PHPUnit_TextUI_TestRunner::run(self::suite()); - } - - public static function suite() { - $suite = new PHPUnit_Framework_TestSuite('System.Web.UI.WebControls'); - - $suite->addTestSuite('TDropDownListTest'); - $suite->addTestSuite('TLabelTest'); - $suite->addTestSuite('TRequiredFieldValidatorTest'); - $suite->addTestSuite('TXmlTransformTest'); - - return $suite; - } -} - -if(PHPUnit_MAIN_METHOD == 'Web_UI_WebControls_AllTests::main') { - Web_UI_WebControls_AllTests::main(); -} |