1..27
# ->formatRow()
ok 1 - ->formatRow() formats a field in a row
# ->formatErrorRow()
ok 2 - ->formatErrorRow() formats an array of errors in a row
# ->unnestErrors()
ok 3 - ->unnestErrors() returns an array of formatted errors
ok 4 - ->unnestErrors() unnests errors
# ->getRowFormat() ->setRowFormat()
ok 5 - ->getRowFormat() ->setRowFormat()
# ->getErrorRowFormat() ->setErrorRowFormat()
ok 6 - ->getErrorRowFormat() ->setErrorRowFormat()
# ->getErrorListFormatInARow() ->setErrorListFormatInARow()
ok 7 - ->getErrorListFormatInARow() ->setErrorListFormatInARow()
# ->getErrorRowFormatInARow() ->setErrorRowFormatInARow()
ok 8 - ->getErrorRowFormatInARow() ->setErrorRowFormatInARow()
# ->getNamedErrorRowFormatInARow() ->setNamedErrorRowFormatInARow()
ok 9 - ->getNamedErrorRowFormatInARow() ->setNamedErrorRowFormatInARow()
# ->getDecoratorFormat() ->setDecoratorFormat()
ok 10 - ->getDecoratorFormat() ->setDecoratorFormat()
# ::setTranslationCallable() ::getTranslationCallable()
ok 11 - get18nCallable() retrieves i18n callable correctly
ok 12 - get18nCallable() retrieves i18n sfCallable correctly
ok 13 - setTranslationCallable() throws InvalidException if i18n callable is not a valid callable
# ->translate()
ok 14 - translate() call i18n sfCallable as expected
ok 15 - translate() call i18n callable as expected
# ->generateLabel() ->generateLabelName() ->setLabel() ->setLabels()
not ok 16 - ->generateLabelName() generates a label value from a label name
# Failed test (./sfWidgetFormSchemaFormatterTest.php at line 129)
# got: '%sFirst name'
# expected: 'First name'
not ok 17 - ->setLabels() changes all current labels
# Failed test (./sfWidgetFormSchemaFormatterTest.php at line 132)
# got: '%sThe first name'
# expected: 'The first name'
not ok 18 - ->setLabel() sets a label value
# Failed test (./sfWidgetFormSchemaFormatterTest.php at line 135)
# got: '%sA first name'
# expected: 'A first name'
ok 19 - ->generateLabel() returns an empty string if the label is false
not ok 20 - ->generateLabelName() returns a label tag
# Failed test (./sfWidgetFormSchemaFormatterTest.php at line 141)
# got: ''
# expected: ''
not ok 21 - ->generateLabelName() returns a label tag with optional HTML attributes
# Failed test (./sfWidgetFormSchemaFormatterTest.php at line 142)
# got: ''
# expected: ''
not ok 22 - ->generateLabelName() returns a label tag with specified for-id
# Failed test (./sfWidgetFormSchemaFormatterTest.php at line 143)
# got: ''
# expected: ''
not ok 23 - ->generateLabelName() returns a label tag
# Failed test (./sfWidgetFormSchemaFormatterTest.php at line 146)
# got: ''
# expected: ''
not ok 24 - ->generateLabelName() returns a i18ned label tag
# Failed test (./sfWidgetFormSchemaFormatterTest.php at line 148)
# got: ''
# expected: ''
ok 25 - setTranslationCatalogue() has set the i18n catalogue correctly
# ->setTranslationCatalogue() ->getTranslationCatalogue()
ok 26 - setTranslationCatalogue() throws an exception when catalogue name is incorrectly typed
ok 27 - translate() passes back the catalogue to the translation callable
Looks like you failed 8 tests of 27.