ZF-8852: Unit tests failes in windows
Description
On running Zend/View/AllTests.php I get a list of failures (Windows 7):
D:\Users\mabe\workspace\Zend>"D:\Users\mabe\Program Files\php\debug\php5.2.9\php
.exe" ZF-STD-TRUNK\tests\Zend\View\AllTests.php
PHPUnit 3.3.9 by Sebastian Bergmann.
.............................FF............................. 60 / 577
............................................................ 120 / 577
............................................................ 180 / 577
......................F.....................F............... 240 / 577
...................................F........................ 300 / 577
.S.......................................................... 360 / 577
............FFF..................FF......................... 420 / 577
.........................F..................S............... 480 / 577
............................................................ 540 / 577
.....................................
Time: 12 seconds
There were 11 failures:
1) testPassingNonNullNonCurrencyObjectToConstructorThrowsException(Zend_View_Hel
per_CurrencyTest)
Failed asserting that contains "
not found".
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\CurrencyTest.ph
p:140
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
2) testPassingNonCurrencyObjectToSetCurrencyThrowsException(Zend_View_Helper_Cur
rencyTest)
Failed asserting that contains "
not found".
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\CurrencyTest.ph
p:149
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
3) testContainerMaintainsCorrectOrderOfItems(Zend_View_Helper_HeadLinkTest)
Failed asserting that two strings are equal.
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\HeadLinkTest.ph
p:464
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
4) testContainerMaintainsCorrectOrderOfItems(Zend_View_Helper_HeadMetaTest)
Failed asserting that two strings are equal.
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\HeadMetaTest.ph
p:436
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
5) testContainerMaintainsCorrectOrderOfItems(Zend_View_Helper_HeadStyleTest)
Failed asserting that two strings are equal.
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\HeadStyleTest.p
hp:459
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
6) testSingleRenderFlags(Zend_View_Helper_Navigation_LinksTest)
Failed asserting that two arrays are equal.
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\Navigation\Link
sTest.php:655
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
7) testRenderFlagBitwiseOr(Zend_View_Helper_Navigation_LinksTest)
Failed asserting that two strings are equal.
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\Navigation\Link
sTest.php:671
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
8) testIndenting(Zend_View_Helper_Navigation_LinksTest)
Failed asserting that two strings are equal.
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\Navigation\Link
sTest.php:688
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
9) testRenderingPartial(Zend_View_Helper_Navigation_MenuTest)
Failed asserting that two strings are equal.
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\Navigation\Menu
Test.php:247
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
10) testRenderingPartialBySpecifyingAnArrayAsPartial(Zend_View_Helper_Navigation
_MenuTest)
Failed asserting that two strings are equal.
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\Navigation\Menu
Test.php:257
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
11) testPageIdShouldBeNormalized(Zend_View_Helper_Navigation_NavigationTest)
Failed asserting that two strings are equal.
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\Helper\Navigation\Navi
gationTest.php:380
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:43
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\View\AllTests.php:57
FAILURES!
Tests: 577, Assertions: 1258, Failures: 11, Skipped: 2.
Comments
Posted by Marc Bennewitz (private) (mabe) on 2010-01-17T16:33:37.000+0000
added patch which fixes EOL problems.
Posted by Thomas Weidner (thomas) on 2010-01-17T23:41:53.000+0000
Currency tests should pass now on trunk and branch
Posted by Marc Bennewitz (private) (mabe) on 2010-01-18T04:32:23.000+0000
fixed eol problem in r20375 (trunk) & r20376 (1.10 branch)