summaryrefslogtreecommitdiff
path: root/tests/unit/Web/THttpRequestTest.php
diff options
context:
space:
mode:
authorknut <>2006-05-16 19:03:46 +0000
committerknut <>2006-05-16 19:03:46 +0000
commit042aecd418ba8294e05b4be816abcc880c166af1 (patch)
tree282d914d31553e8bb8875e17ea8578efbc6c8224 /tests/unit/Web/THttpRequestTest.php
parentc6730f23829f07c404b65ed3d1f5c2a5808be2cf (diff)
Added unit test stubs for System.Web.* #168
Diffstat (limited to 'tests/unit/Web/THttpRequestTest.php')
-rw-r--r--tests/unit/Web/THttpRequestTest.php175
1 files changed, 175 insertions, 0 deletions
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 @@
+<?php
+require_once dirname(__FILE__).'/../phpunit2.php';
+
+Prado::using('System.Web.THttpRequest');
+
+/**
+ * @package System.Web
+ */
+class THttpRequestTest extends PHPUnit2_Framework_TestCase {
+
+ public function testInit() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testStripSlashes() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testSetUrlFormat() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetUrl() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetRequestMethod() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetIsSecureConnection() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetPathInfo() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetQueryString() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetRequestUri() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetApplicationUrl() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetApplicationFilePath() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetServerName() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetServerPort() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetUrlReferrer() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetBrowser() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetUserAgent() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetUserHostAddress() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetUserHost() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetAcceptTypes() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetUserLanguages() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testSetEnableCookieValidation() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetCookies() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetUploadedFiles() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetServerVariables() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetEnvironmentVariables() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testConstructUrl() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetAvailableServices() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testSetAvailableServices() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testSetServiceID() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetIterator() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetCount() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testGetKeys() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testItemAt() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testAdd() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testRemove() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testContains() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testToArray() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testOffsetExists() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testOffsetGet() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testOffsetSet() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+
+ public function testOffsetUnset() {
+ throw new PHPUnit2_Framework_IncompleteTestError();
+ }
+}
+?> \ No newline at end of file