diff options
author | knut <> | 2007-05-29 20:29:10 +0000 |
---|---|---|
committer | knut <> | 2007-05-29 20:29:10 +0000 |
commit | 376a5af2d258f87e2be75b667850436987c68a55 (patch) | |
tree | ff97724cc6ff4d5a474835d7d915ccbde0ca2c54 /tests/unit/Web/TUriTest.php | |
parent | 82a351192f38cc73268ea7de7a48e2e0425d5cbf (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/TUriTest.php')
-rw-r--r-- | tests/unit/Web/TUriTest.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/unit/Web/TUriTest.php b/tests/unit/Web/TUriTest.php index b606bdc3..fb803d8b 100644 --- a/tests/unit/Web/TUriTest.php +++ b/tests/unit/Web/TUriTest.php @@ -1,51 +1,51 @@ <?php -require_once dirname(__FILE__).'/../phpunit2.php'; +require_once dirname(__FILE__).'/../phpunit.php'; Prado::using('System.Web.THttpRequest'); /** * @package System.Web */ -class TUriTest extends PHPUnit2_Framework_TestCase { +class TUriTest extends PHPUnit_Framework_TestCase { public function testConstruct() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testGetUri() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testGetScheme() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testGetHost() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testGetPort() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testGetUser() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testGetPassword() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testGetPath() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testGetQuery() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testGetFragment() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } } ?>
\ No newline at end of file |