From 042aecd418ba8294e05b4be816abcc880c166af1 Mon Sep 17 00:00:00 2001 From: knut <> Date: Tue, 16 May 2006 19:03:46 +0000 Subject: Added unit test stubs for System.Web.* #168 --- .gitattributes | 8 ++ tests/unit/Web/TAssetManagerTest.php | 31 +++++ tests/unit/Web/THttpCookieCollectionTest.php | 31 +++++ tests/unit/Web/THttpCookieTest.php | 39 ++++++ tests/unit/Web/THttpRequestTest.php | 175 +++++++++++++++++++++++++++ tests/unit/Web/THttpResponseTest.php | 95 +++++++++++++++ tests/unit/Web/THttpSessionTest.php | 115 ++++++++++++++++++ tests/unit/Web/THttpUtilityTest.php | 19 +++ tests/unit/Web/TUriTest.php | 51 ++++++++ 9 files changed, 564 insertions(+) create mode 100644 tests/unit/Web/TAssetManagerTest.php create mode 100644 tests/unit/Web/THttpCookieCollectionTest.php create mode 100644 tests/unit/Web/THttpCookieTest.php create mode 100644 tests/unit/Web/THttpRequestTest.php create mode 100644 tests/unit/Web/THttpResponseTest.php create mode 100644 tests/unit/Web/THttpSessionTest.php create mode 100644 tests/unit/Web/THttpUtilityTest.php create mode 100644 tests/unit/Web/TUriTest.php diff --git a/.gitattributes b/.gitattributes index ec5bda0b..af043fd4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1456,6 +1456,14 @@ tests/unit/SQLMap/sqlite.xml -text tests/unit/SQLMap/sqlite/backup.db -text tests/unit/SQLMap/sqlite/tests.db -text tests/unit/TComponentTest.php -text +tests/unit/Web/TAssetManagerTest.php -text +tests/unit/Web/THttpCookieCollectionTest.php -text +tests/unit/Web/THttpCookieTest.php -text +tests/unit/Web/THttpRequestTest.php -text +tests/unit/Web/THttpResponseTest.php -text +tests/unit/Web/THttpSessionTest.php -text +tests/unit/Web/THttpUtilityTest.php -text +tests/unit/Web/TUriTest.php -text tests/unit/Web/UI/WebControls/TDropDownListTest.php -text tests/unit/Web/UI/WebControls/TLabelTest.php -text tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php -text diff --git a/tests/unit/Web/TAssetManagerTest.php b/tests/unit/Web/TAssetManagerTest.php new file mode 100644 index 00000000..1821f28b --- /dev/null +++ b/tests/unit/Web/TAssetManagerTest.php @@ -0,0 +1,31 @@ + \ No newline at end of file diff --git a/tests/unit/Web/THttpCookieCollectionTest.php b/tests/unit/Web/THttpCookieCollectionTest.php new file mode 100644 index 00000000..28b32a6e --- /dev/null +++ b/tests/unit/Web/THttpCookieCollectionTest.php @@ -0,0 +1,31 @@ + \ No newline at end of file diff --git a/tests/unit/Web/THttpCookieTest.php b/tests/unit/Web/THttpCookieTest.php new file mode 100644 index 00000000..ab7d4928 --- /dev/null +++ b/tests/unit/Web/THttpCookieTest.php @@ -0,0 +1,39 @@ + \ No newline at end of file diff --git a/tests/unit/Web/THttpRequestTest.php b/tests/unit/Web/THttpRequestTest.php new file mode 100644 index 00000000..a27eb711 --- /dev/null +++ b/tests/unit/Web/THttpRequestTest.php @@ -0,0 +1,175 @@ + \ No newline at end of file diff --git a/tests/unit/Web/THttpResponseTest.php b/tests/unit/Web/THttpResponseTest.php new file mode 100644 index 00000000..9812c3a6 --- /dev/null +++ b/tests/unit/Web/THttpResponseTest.php @@ -0,0 +1,95 @@ + \ No newline at end of file diff --git a/tests/unit/Web/THttpSessionTest.php b/tests/unit/Web/THttpSessionTest.php new file mode 100644 index 00000000..8f30cfa6 --- /dev/null +++ b/tests/unit/Web/THttpSessionTest.php @@ -0,0 +1,115 @@ + \ No newline at end of file diff --git a/tests/unit/Web/THttpUtilityTest.php b/tests/unit/Web/THttpUtilityTest.php new file mode 100644 index 00000000..790bc9f6 --- /dev/null +++ b/tests/unit/Web/THttpUtilityTest.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/tests/unit/Web/TUriTest.php b/tests/unit/Web/TUriTest.php new file mode 100644 index 00000000..b606bdc3 --- /dev/null +++ b/tests/unit/Web/TUriTest.php @@ -0,0 +1,51 @@ + \ No newline at end of file -- cgit v1.2.3