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/THttpSessionTest.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/THttpSessionTest.php')
-rw-r--r-- | tests/unit/Web/THttpSessionTest.php | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/tests/unit/Web/THttpSessionTest.php b/tests/unit/Web/THttpSessionTest.php index 8f30cfa6..179d2903 100644 --- a/tests/unit/Web/THttpSessionTest.php +++ b/tests/unit/Web/THttpSessionTest.php @@ -1,115 +1,115 @@ <?php -require_once dirname(__FILE__).'/../phpunit2.php'; +require_once dirname(__FILE__).'/../phpunit.php'; Prado::using('System.Web.THttpSession'); /** * @package System.Web */ -class THttpSessionTest extends PHPUnit2_Framework_TestCase { +class THttpSessionTest extends PHPUnit_Framework_TestCase { public function testInit() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testOpen() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testClose() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testDestroy() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testGetIsStarted() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testSetSessionID() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testSetSessionName() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testSetSavePath() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testSetUseCustomStorage() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testSetCookieMode() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testSetAutoStart() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testSetGProbability() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testSetUseTransparentSessionID() { - throw new PHPUnit2_Framework_IncompleteTestError(); + throw new PHPUnit_Framework_IncompleteTestError(); } public function testSetTimeout() { - 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 |