Issues

ZF-2484: Some(all) Zend Filter word unit tests fail.

Description

jmut@dexter:/storage/www/frameworks/zendframework/tests$ php Zend/Filter/AllTests.php PHPUnit 3.2.11 by Sebastian Bergmann.

......S..................................................... 60 / 155 ............................................................ 120 / 155 .............................FFFF..

Time: 0 seconds

There were 4 failures:

1) testFilterSeparatesCamelCasedWordsWithSpacesByDefault(Zend_Filter_Word_SeparatorToCamelCaseTest) Failed asserting that two strings are equal. expected string difference < xxxxxxxxxx??> got string /storage/www/frameworks/zendframework/tests/Zend/Filter/Word/SeparatorToCamelCaseTest.php:38 /storage/www/frameworks/zendframework/tests/Zend/Filter/AllTests.php:138 /storage/www/frameworks/zendframework/tests/Zend/Filter/AllTests.php:179

2) testFilterSeparatesCamelCasedWordsWithProvidedSeparator(Zend_Filter_Word_SeparatorToCamelCaseTest) Failed asserting that two strings are equal. expected string difference < xxxxxxxxxx???> got string

<

<

Comments

Do you still have these problems with latest trunk (at the time of this writing, r8425)?

Now I get this.

At revision 8430

jmut@dexter:/storage/www/frameworks/zendframework/tests$ php Zend/Filter/AllTests.php PHPUnit 3.2.13 by Sebastian Bergmann.

......F..................................................... 60 / 160 ............................................................ 120 / 160 ........................................

Time: 0 seconds

There was 1 failure:

1) testMultiByte(Zend_Filter_DigitsTest) Failed asserting that two strings are equal. expected string <δΈ€> difference <???> got string <> /storage/www/frameworks/zendframework/tests/Zend/Filter/DigitsTest.php:104 /storage/www/frameworks/zendframework/tests/Zend/Filter/AllTests.php:138 /storage/www/frameworks/zendframework/tests/Zend/Filter/AllTests.php:179

FAILURES! Tests: 160, Failures: 1.

The originally reported test failures have been resolved, but there remain two tests failing for me on Windows, which I've reported as [ZF-2741].

Fixed for next minor release