summaryrefslogtreecommitdiff
path: root/tests/unit/Web/THttpRequestTest.php
diff options
context:
space:
mode:
authorknut <>2007-05-29 20:29:10 +0000
committerknut <>2007-05-29 20:29:10 +0000
commit376a5af2d258f87e2be75b667850436987c68a55 (patch)
treeff97724cc6ff4d5a474835d7d915ccbde0ca2c54 /tests/unit/Web/THttpRequestTest.php
parent82a351192f38cc73268ea7de7a48e2e0425d5cbf (diff)
upgraded unit test suite to use PHPUnit3
use "cd tests/; phpunit AllTests.php" to run the tests use "cd tests/; phpunit --report=coverage AllTests.php" to get a nice code coverage report (need xdebug)
Diffstat (limited to 'tests/unit/Web/THttpRequestTest.php')
-rw-r--r--tests/unit/Web/THttpRequestTest.php86
1 files changed, 43 insertions, 43 deletions
diff --git a/tests/unit/Web/THttpRequestTest.php b/tests/unit/Web/THttpRequestTest.php
index a27eb711..0933fb05 100644
--- a/tests/unit/Web/THttpRequestTest.php
+++ b/tests/unit/Web/THttpRequestTest.php
@@ -1,175 +1,175 @@
<?php
-require_once dirname(__FILE__).'/../phpunit2.php';
+require_once dirname(__FILE__).'/../phpunit.php';
Prado::using('System.Web.THttpRequest');
/**
* @package System.Web
*/
-class THttpRequestTest extends PHPUnit2_Framework_TestCase {
+class THttpRequestTest extends PHPUnit_Framework_TestCase {
public function testInit() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testStripSlashes() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testSetUrlFormat() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetUrl() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetRequestMethod() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetIsSecureConnection() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetPathInfo() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetQueryString() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetRequestUri() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetApplicationUrl() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetApplicationFilePath() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetServerName() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetServerPort() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetUrlReferrer() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetBrowser() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetUserAgent() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetUserHostAddress() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetUserHost() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetAcceptTypes() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetUserLanguages() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testSetEnableCookieValidation() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetCookies() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetUploadedFiles() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetServerVariables() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetEnvironmentVariables() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testConstructUrl() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetAvailableServices() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testSetAvailableServices() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testSetServiceID() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetIterator() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetCount() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testGetKeys() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testItemAt() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testAdd() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testRemove() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testContains() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testToArray() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testOffsetExists() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testOffsetGet() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testOffsetSet() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testOffsetUnset() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
}
?> \ No newline at end of file