ZF-2794: Zend_Form unit test errors and failures

Description

Results from r8521 of trunk (WinXP, PHP 5.1.4, PHPUnit 3.2.15):

Errors:

2) testDefaultDecoratorsRegistered(Zend_Form_DisplayGroupTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:186

3) testCanAddSingleDecoratorAsString(Zend_Form_DisplayGroupTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:208

4) testCanRetrieveSingleDecoratorRegisteredAsDecoratorObjectUsingShortName(Zend_Form_DisplayGroupTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:236

5) testCanAddMultipleDecorators(Zend_Form_DisplayGroupTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:251

6) testCanRemoveDecorator(Zend_Form_DisplayGroupTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:186
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:259

7) testCanClearAllDecorators(Zend_Form_DisplayGroupTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:251
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:266

8) testCanAddDecoratorAliasesToAllowMultipleDecoratorsOfSameType(Zend_Form_DisplayGroupTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:282

9) testSetOptionsSetsArrayOfStringDecorators(Zend_Form_DisplayGroupTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:461

10) testSetOptionsSetsArrayOfArrayDecorators(Zend_Form_DisplayGroupTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:477

11) testSetOptionsSetsArrayOfAssocArrayDecorators(Zend_Form_DisplayGroupTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\DisplayGroupTest.php:504

12) testIsValidInsertsNotEmptyValidatorWhenElementIsRequiredByDefault(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:233

13) testCanAddSingleValidatorAsString(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:574

14) testCanRetrieveSingleValidatorRegisteredAsValidatorObjectUsingShortName(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:608

15) testCanAddMultipleValidators(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:618

16) testCanRemoveValidator(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:730

17) testCanClearAllValidators(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:618
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:738

18) testCanAddSingleFilterAsString(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1257
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:845

19) testCanRetrieveSingleFilterRegisteredAsFilterObjectUsingShortName(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1257
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:876

20) testCanAddMultipleFilters(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1257
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:884

21) testCanRemoveFilter(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1257
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:899

22) testCanClearAllFilters(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1257
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:884
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:907

23) testViewHelperDecoratorRegisteredByDefault(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:943

24) testCanAddSingleDecoratorAsString(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:963

25) testCanRetrieveSingleDecoratorRegisteredAsDecoratorObjectUsingShortName(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:991

26) testCanAddMultipleDecorators(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1006

27) testRemovingUnregisteredDecoratorReturnsFalse(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1490
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1014

28) testCanRemoveDecorator(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:943
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1019

29) testCanClearAllDecorators(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1006
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1026

30) testCanAddDecoratorAliasesToAllowMultipleDecoratorsOfSameType(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1042

31) testRenderElementRendersErrorsWhenProvided(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1089

32) testSetOptionsSetsArrayOfStringValidators(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1190

33) testSetOptionsSetsArrayOfArrayValidators(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1204

34) testSetOptionsSetsArrayOfAssociativeArrayValidators(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1228

35) testSetOptionsSetsArrayOfStringFilters(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1257
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1241

36) testSetOptionsSetsArrayOfArrayFilters(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1257
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1255

37) testSetOptionsSetsArrayOfAssociativeArrayFilters(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1257
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1275

38) testSetOptionsSetsArrayOfStringDecorators(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1286

39) testSetOptionsSetsArrayOfArrayDecorators(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1302

40) testSetOptionsSetsArrayOfAssocArrayDecorators(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1330

41) testValueIsFilteredPriorToValidation(Zend_Form_ElementTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\ElementTest.php:1428

42) testButtonElementUsesButtonHelperInViewHelperDecoratorByDefault(Zend_Form_Element_ButtonTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\ButtonTest.php:81

43) testTranslatedLabelIsRendered(Zend_Form_Element_ButtonTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\ButtonTest.php:10
2

44) testCheckboxElementUsesCheckboxHelperInViewHelperDecoratorByDefault(Zend_Form_Element_CheckboxTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\CheckboxTest.php:
64

45) testValidatorTokenReceivesSessionHashWhenPresent(Zend_Form_Element_HashTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\HashTest.php:144

46) testHiddenElementUsesHiddenHelperInViewHelperDecoratorByDefault(Zend_Form_Element_HiddenTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\HiddenTest.php:64

47) testImageElementUsesImageDecoratorByDefault(Zend_Form_Element_ImageTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\ImageTest.php:64

48) testMultiCheckboxElementUsesMultiCheckboxHelperInViewHelperDecoratorByDefault(Zend_Form_Element_MultiCheckboxTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\MultiCheckboxTest
.php:78

49) testMultiselectElementUsesSelectHelperInViewHelperDecoratorByDefault(Zend_Form_Element_MultiselectTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\MultiselectTest.p
hp:78

50) testPasswordElementUsesPasswordHelperInViewHelperDecoratorByDefault(Zend_Form_Element_PasswordTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\PasswordTest.php:
70

51) testRadioElementUsesRadioHelperInViewHelperDecoratorByDefault(Zend_Form_Element_RadioTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\RadioTest.php:82

52) testResetElementUsesResetHelperInViewHelperDecoratorByDefault(Zend_Form_Element_ResetTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\ResetTest.php:69

53) testSelectElementUsesSelectHelperInViewHelperDecoratorByDefault(Zend_Form_Element_SelectTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\SelectTest.php:72

54) testSubmitElementUsesViewHelperDecoratorByDefault(Zend_Form_Element_SubmitTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\SubmitTest.php:73

55) testTranslatedLabelIsRendered(Zend_Form_Element_SubmitTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\SubmitTest.php:10
1

56) testTextareaElementUsesTextareaHelperInViewHelperDecoratorByDefault(Zend_Form_Element_TextareaTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\TextareaTest.php:
64

57) testTextElementUsesTextHelperInViewHelperDecoratorByDefault(Zend_Form_Element_TextTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\Element\TextTest.php:64

58) testSetOptionsSetsArrayOfStringDecorators(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:177

59) testSetOptionsSetsArrayOfArrayDecorators(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:193

60) testSetOptionsSetsArrayOfAssocArrayDecorators(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:220

61) testCanValidateFullFormContainingOnlyElements(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1363

62) testValidationTakesElementRequiredFlagsIntoAccount(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1660
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1383

63) testCanValidatePartialFormContainingOnlyElements(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1705
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1398

64) testFullDataArrayUsedToValidateSubFormByDefault(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1660
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1670
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1430

65) testDataKeyWithSameNameAsSubFormIsUsedForValidatingSubForm(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1660
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1666
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1475

66) testCanValidatePartialFormContainingSubForms(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1705
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1721
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1567

67) testCanValidatePartialNestedFormsWithElementsBelongingToArrays(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1705
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1637

68) testCanRetrieveErrorCodesFromAllElementsAfterFailedValidation(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1363
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1711

69) testCanRetrieveErrorCodesFromSingleElementAfterFailedValidation(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1363
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1719

70) testCanRetrieveErrorMessagesFromAllElementsAfterFailedValidation(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1363
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1729

71) testCanRetrieveErrorMessagesFromSingleElementAfterFailedValidation(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1363
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1737

72) testErrorCodesFromSubFormReturnedInSeparateArray(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1660
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1670
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1430
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1747

73) testCanRetrieveErrorCodesFromSingleSubFormAfterFailedValidation(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1660
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1670
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1430
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1757

74) testErrorMessagesFromSubFormReturnedInSeparateArray(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1660
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1670
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1430
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1767

75) testCanRetrieveErrorMessagesFromSingleSubFormAfterFailedValidation(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1660
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1670
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1430
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1787

76) testErrorMessagesAreLocalizedWhenTranslateAdapterPresent(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1660
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1833

77) testErrorMessagesFromPartialValidationAreLocalizedWhenTranslateAdapterPresent(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1705
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1884

78) testErrorMessagesFromProcessAjaxAreLocalizedWhenTranslateAdapterPresent(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1009
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1082
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1705
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1743
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1928

79) testFormDecoratorRegisteredByDefault(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1981

80) testCanAddSingleDecoratorAsString(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1991

81) testCanRetrieveSingleDecoratorRegisteredAsDecoratorObjectUsingShortName(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2019

82) testCanAddMultipleDecorators(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2034

83) testRemoveDecoratorReturnsFalseForUnregisteredDecorators(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:2026
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2042

84) testCanRemoveDecorator(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1981
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2047

85) testCanClearAllDecorators(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2034
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2054

86) testCanAddDecoratorAliasesToAllowMultipleDecoratorsOfSameType(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2070

87) testCanSetAllElementDecoratorsAtOnce(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2436

88) testCanSetAllElementFiltersAtOnce(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1257
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2455

89) testCustomGlobalElementPrefixPathUsedInNewlyCreatedElements(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\Element.php:1462
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2491

90) testCanSetAllDisplayGroupDecoratorsAtOnce(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form\DisplayGroup.php:662
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2559

91) testCanSetAllSubFormDecoratorsAtOnce(Zend_Form_FormTest)
substr_compare(): The start position cannot exceed initial string length
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\library\Zend\Form.php:1998
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:2591

Failures:

11) testProcessAjaxReturnsJsonTrueForValidForm(Zend_Form_FormTest)
Failed asserting that  is true.
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1675

12) testProcessAjaxReturnsJsonTrueForValidPartialForm(Zend_Form_FormTest)
Failed asserting that  is true.
c:\Documents and Settings\dfelton\My Documents\SVN Remote\Zend Framework\trunk\tests\Zend\Form\FormTest.php:1683

Comments

On WinXP, PHP 5.2.5, PHPUnit 3.2.15, current trunk (r8860) almost verything seems to be OK:


There were 2 incomplete tests:

1) testPersistDataStoresDataInSession(Zend_Form_FormTest)
Zend_Form does not implement session storage at this time
I:\xampp\php\PEAR\Zend15\tests\Zend\Form\FormTest.php:1738

2) testHiddenElementsGroupedWhenRendered(Zend_Form_FormTest)
Scheduling for future release
I:\xampp\php\PEAR\Zend15\tests\Zend\Form\FormTest.php:2297

OK, but incomplete or skipped tests!
Tests: 588, Incomplete: 2.

Martin -- those two incomplete tests are fine -- as you'll notice from the messages, they are placeholders for future functionality.

Darby, Ralph: have you been able to trace the errors Darby reported on Windows to a specific PHP version?

I can say only that it occurs on 5.1.4 and not 5.2.5, but I don't know about 5.1.6, for example. I'll try and see if I can get 5.1.6 working on my other wampserver installation and report my results.

I have tested on 5.1.6, but I do not get the problematic results. I can say now that I've only reproduced the problem on 5.1.4 on Windows.

Resolved with SVN r9185 and r9186.

Updating for the 1.6.0 release.