summaryrefslogtreecommitdiff
path: root/tests/unit/Web/THttpCookieTest.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/THttpCookieTest.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/THttpCookieTest.php')
-rw-r--r--tests/unit/Web/THttpCookieTest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/unit/Web/THttpCookieTest.php b/tests/unit/Web/THttpCookieTest.php
index ab7d4928..8a96e35e 100644
--- a/tests/unit/Web/THttpCookieTest.php
+++ b/tests/unit/Web/THttpCookieTest.php
@@ -1,39 +1,39 @@
<?php
-require_once dirname(__FILE__).'/../phpunit2.php';
+require_once dirname(__FILE__).'/../phpunit.php';
Prado::using('System.Web.THttpRequest');
/**
* @package System.Web
*/
-class THttpCookieTest extends PHPUnit2_Framework_TestCase {
+class THttpCookieTest extends PHPUnit_Framework_TestCase {
public function testConstruct() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testSetDomain() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testSetExpire() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testSetName() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testSetValue() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testSetPath() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
public function testSetSecure() {
- throw new PHPUnit2_Framework_IncompleteTestError();
+ throw new PHPUnit_Framework_IncompleteTestError();
}
}
?> \ No newline at end of file