From a3388622287e218beddfa14a47ed677d4307b36b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Fri, 25 Mar 2016 17:55:51 +0100 Subject: Removed simpletest and moved all tests in the unit tree Tests are executed now, but a lot of them need fixing. --- tests/unit/Web/AllTests.php | 45 ------------------------ tests/unit/Web/UI/ActiveControls/AllTests.php | 25 -------------- tests/unit/Web/UI/AllTests.php | 50 --------------------------- tests/unit/Web/UI/WebControls/AllTests.php | 32 ----------------- 4 files changed, 152 deletions(-) delete mode 100644 tests/unit/Web/AllTests.php delete mode 100644 tests/unit/Web/UI/ActiveControls/AllTests.php delete mode 100644 tests/unit/Web/UI/AllTests.php delete mode 100644 tests/unit/Web/UI/WebControls/AllTests.php (limited to 'tests/unit/Web') 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 @@ -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 @@ -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 @@ -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 @@ -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(); -} -- cgit v1.2.3