summaryrefslogtreecommitdiff
path: root/tests/unit/Collections
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-05-21 21:18:26 +0000
committerctrlaltca@gmail.com <>2011-05-21 21:18:26 +0000
commit948a32434d4e72765dd26c803e94129b5c2f7769 (patch)
treeb035f1ad598c56dd97774d2c09448a8a9de06eec /tests/unit/Collections
parent5eeeeeb96db991f0500881190e321aba8efc8891 (diff)
fixed unix tests, bumped version number
Diffstat (limited to 'tests/unit/Collections')
-rw-r--r--tests/unit/Collections/TPagedListTest.php2
-rw-r--r--tests/unit/Collections/TQueueTest.php2
-rw-r--r--tests/unit/Collections/TStackTest.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/Collections/TPagedListTest.php b/tests/unit/Collections/TPagedListTest.php
index dc567e55..2f1b40cc 100644
--- a/tests/unit/Collections/TPagedListTest.php
+++ b/tests/unit/Collections/TPagedListTest.php
@@ -172,7 +172,7 @@ class TPagedListTest extends PHPUnit_Framework_TestCase {
public function testGetIterator() {
$list = new TPagedList(array(1, 2));
$list->CustomPaging = true;
- self::assertType('TListIterator', $list->getIterator());
+ self::assertType('ArrayIterator', $list->getIterator());
$n = 0;
$found = 0;
foreach($list as $index => $item) {
diff --git a/tests/unit/Collections/TQueueTest.php b/tests/unit/Collections/TQueueTest.php
index 1c755480..341c3f38 100644
--- a/tests/unit/Collections/TQueueTest.php
+++ b/tests/unit/Collections/TQueueTest.php
@@ -96,7 +96,7 @@ class TQueueTest extends PHPUnit_Framework_TestCase {
public function testGetIterator() {
$queue = new TQueue(array(1, 2));
- self::assertType('TQueueIterator', $queue->getIterator());
+ self::assertType('ArrayIterator', $queue->getIterator());
$n = 0;
$found = 0;
foreach($queue as $index => $item) {
diff --git a/tests/unit/Collections/TStackTest.php b/tests/unit/Collections/TStackTest.php
index e4c4e5d1..77fb1c97 100644
--- a/tests/unit/Collections/TStackTest.php
+++ b/tests/unit/Collections/TStackTest.php
@@ -96,7 +96,7 @@ class TStackTest extends PHPUnit_Framework_TestCase {
public function testGetIterator() {
$stack = new TStack(array(1, 2));
- self::assertType('TStackIterator', $stack->getIterator());
+ self::assertType('ArrayIterator', $stack->getIterator());
$n = 0;
$found = 0;
foreach($stack as $index => $item) {