++ phpunit --verbose --group Zend_Paginator AllTests PHPUnit 3.5.15 by Sebastian Bergmann. ........................................................... 59 / 15951 ( 0%) ........................................................... 118 / 15951 ( 0%) ...............E....E..FEEEE.FFFFEEEEEEEE...FEEEE.FFFFEEEE. 177 / 15951 ( 1%) F Time: 5 seconds, Memory: 368.50Mb There were 22 errors: 1) Zend_Paginator_Adapter_IteratorTest::testDoesNotThrowOutOfBoundsExceptionIfIteratorIsEmpty Invalid argument supplied for foreach() /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/IteratorTest.php:114 2) Zend_Paginator_Adapter_NullTest::testAdapterReturnsCorrectValues Undefined property: stdClass::$currentItemCount /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/NullTest.php:91 3) Zend_Paginator_ScrollingStyle_AllTest::testGetsNextAndPreviousPageForFirstPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/AllTest.php:88 4) Zend_Paginator_ScrollingStyle_AllTest::testGetsNextAndPreviousPageForSecondPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/AllTest.php:96 5) Zend_Paginator_ScrollingStyle_AllTest::testGetsNextAndPreviousPageForMiddlePage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/AllTest.php:104 6) Zend_Paginator_ScrollingStyle_AllTest::testGetsNextAndPreviousPageForSecondLastPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/AllTest.php:112 7) Zend_Paginator_ScrollingStyle_ElasticTest::testGetsNextAndPreviousPageForFirstPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:114 8) Zend_Paginator_ScrollingStyle_ElasticTest::testGetsNextAndPreviousPageForSecondPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:122 9) Zend_Paginator_ScrollingStyle_ElasticTest::testGetsNextAndPreviousPageForMiddlePage min(): Array must contain at least one element /var/www/ZFv1/trunk/library/Zend/Paginator.php:1114 /var/www/ZFv1/trunk/library/Zend/Paginator.php:862 /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:128 10) Zend_Paginator_ScrollingStyle_ElasticTest::testGetsNextAndPreviousPageForSecondLastPage min(): Array must contain at least one element /var/www/ZFv1/trunk/library/Zend/Paginator.php:1114 /var/www/ZFv1/trunk/library/Zend/Paginator.php:862 /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:136 11) Zend_Paginator_ScrollingStyle_ElasticTest::testGetsNextAndPreviousPageForLastPage min(): Array must contain at least one element /var/www/ZFv1/trunk/library/Zend/Paginator.php:1114 /var/www/ZFv1/trunk/library/Zend/Paginator.php:862 /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:144 12) Zend_Paginator_ScrollingStyle_ElasticTest::testNoPagesOnLastPageEqualsPageRange min(): Array must contain at least one element /var/www/ZFv1/trunk/library/Zend/Paginator.php:1114 /var/www/ZFv1/trunk/library/Zend/Paginator.php:862 /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:152 13) Zend_Paginator_ScrollingStyle_ElasticTest::testNoPagesOnSecondLastPageEqualsPageRangeMinOne min(): Array must contain at least one element /var/www/ZFv1/trunk/library/Zend/Paginator.php:1114 /var/www/ZFv1/trunk/library/Zend/Paginator.php:862 /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:160 14) Zend_Paginator_ScrollingStyle_ElasticTest::testNoPagesBeforeSecondLastPageEqualsPageRangeMinTwo min(): Array must contain at least one element /var/www/ZFv1/trunk/library/Zend/Paginator.php:1114 /var/www/ZFv1/trunk/library/Zend/Paginator.php:862 /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:168 15) Zend_Paginator_ScrollingStyle_JumpingTest::testGetsNextAndPreviousPageForFirstPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/JumpingTest.php:114 16) Zend_Paginator_ScrollingStyle_JumpingTest::testGetsNextAndPreviousPageForSecondPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/JumpingTest.php:122 17) Zend_Paginator_ScrollingStyle_JumpingTest::testGetsNextAndPreviousPageForMiddlePage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/JumpingTest.php:130 18) Zend_Paginator_ScrollingStyle_JumpingTest::testGetsNextAndPreviousPageForSecondLastPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/JumpingTest.php:138 19) Zend_Paginator_ScrollingStyle_SlidingTest::testGetsNextAndPreviousPageForFirstPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/SlidingTest.php:114 20) Zend_Paginator_ScrollingStyle_SlidingTest::testGetsNextAndPreviousPageForSecondPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/SlidingTest.php:122 21) Zend_Paginator_ScrollingStyle_SlidingTest::testGetsNextAndPreviousPageForMiddlePage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/SlidingTest.php:130 22) Zend_Paginator_ScrollingStyle_SlidingTest::testGetsNextAndPreviousPageForSecondLastPage Undefined property: stdClass::$next /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/SlidingTest.php:138 -- There were 11 failures: 1) Zend_Paginator_ScrollingStyle_AllTest::testGetsPages Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( [1] => 1 - [2] => 2 - [3] => 3 - [4] => 4 - [5] => 5 - [6] => 6 - [7] => 7 - [8] => 8 - [9] => 9 - [10] => 10 - [11] => 11 ) /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/AllTest.php:80 2) Zend_Paginator_ScrollingStyle_ElasticTest::testGetsPagesInRangeForFirstPage Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( [1] => 1 - [2] => 2 - [3] => 3 - [4] => 4 - [5] => 5 ) /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:82 3) Zend_Paginator_ScrollingStyle_ElasticTest::testGetsPagesInRangeForSecondPage Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( [1] => 1 - [2] => 2 - [3] => 3 - [4] => 4 - [5] => 5 - [6] => 6 ) /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:90 4) Zend_Paginator_ScrollingStyle_ElasticTest::testGetsPagesInRangeForTenthPage Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - [6] => 6 - [7] => 7 - [8] => 8 - [9] => 9 - [10] => 10 - [11] => 11 - [12] => 12 - [13] => 13 - [14] => 14 ) /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:98 5) Zend_Paginator_ScrollingStyle_ElasticTest::testGetsPagesInRangeForLastPage Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - [17] => 17 - [18] => 18 - [19] => 19 - [20] => 20 - [21] => 21 ) /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/ElasticTest.php:106 6) Zend_Paginator_ScrollingStyle_JumpingTest::testGetsPagesInRangeForLastPage Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( [11] => 11 + [12] => 12 + [13] => 13 + [14] => 14 + [15] => 15 + [16] => 16 + [17] => 17 + [18] => 18 + [19] => 19 + [20] => 20 ) /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/JumpingTest.php:106 7) Zend_Paginator_ScrollingStyle_SlidingTest::testGetsPagesInRangeForFirstPage Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( [1] => 1 - [2] => 2 - [3] => 3 - [4] => 4 - [5] => 5 ) /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/SlidingTest.php:82 8) Zend_Paginator_ScrollingStyle_SlidingTest::testGetsPagesInRangeForSecondPage Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( [1] => 1 - [2] => 2 - [3] => 3 - [4] => 4 - [5] => 5 ) /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/SlidingTest.php:90 9) Zend_Paginator_ScrollingStyle_SlidingTest::testGetsPagesInRangeForFifthPage Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - [3] => 3 - [4] => 4 - [5] => 5 - [6] => 6 - [7] => 7 + [1] => 1 ) /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/SlidingTest.php:98 10) Zend_Paginator_ScrollingStyle_SlidingTest::testGetsPagesInRangeForLastPage Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - [7] => 7 - [8] => 8 - [9] => 9 - [10] => 10 - [11] => 11 + [1] => 1 ) /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/SlidingTest.php:106 11) Zend_Paginator_ScrollingStyle_SlidingTest::testAcceptsPageRangeLargerThanPageCount Failed asserting that matches expected . /var/www/ZFv1/trunk/tests/Zend/Paginator/ScrollingStyle/SlidingTest.php:152 -- Deprecated PHPUnit features are being used/var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 214 and 218) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 220 and 225) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 228 and 235) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 237 and 241) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 243 and 247) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 249 and 257) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 259 and 267) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 569 and 581) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 583 and 595) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 624 and 634) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 636 and 644) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 726 and 732) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 734 and 737) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 739 and 743) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 745 and 753) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 810 and 814) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 969 and 976) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/PaginatorTest.php:(between 981 and 988) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/DbSelectTest.php:(between 145 and 164) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/DbSelectTest.php:(between 145 and 164) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/DbSelectTest.php:(between 183 and 191) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/DbTableSelectTest.php:(between 48 and 55) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/DbSelectTest.php:(between 145 and 164) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/DbSelectTest.php:(between 145 and 164) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/DbSelectTest.php:(between 183 and 191) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/IteratorTest.php:(between 65 and 75) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/IteratorTest.php:(between 77 and 87) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. /var/www/ZFv1/trunk/tests/Zend/Paginator/Adapter/IteratorTest.php:(between 94 and 104) - assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as "integer" or "string" whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface. FAILURES! Tests: 178, Assertions: 348, Failures: 11, Errors: 22.