1..29 # ->getValue() ->getName() ->getWidget() ->getParent() ->getError() ->hasError() ok 1 - ->getWidget() returns the form field widget ok 2 - ->getName() returns the form field name ok 3 - ->getValue() returns the form field value ok 4 - ->getParent() returns the form field parent ok 5 - ->getError() returns the form field error ok 6 - ->hasError() returns true if the form field has some error ok 7 - ->hasError() returns false if the form field has no error # __toString() ok 8 - __toString() renders the form field with default HTML attributes # ->render() ok 9 - ->render() renders the form field # ->renderRow() not ok 10 - ->renderRow() renders a row # Failed test (./sfFormFieldTest.php at line 75) # got: ' ' # expected: ' ' not ok 11 - ->renderRow() can take an array of HTML attributes as its first argument # Failed test (./sfFormFieldTest.php at line 87) # got: ' ' # expected: ' ' not ok 12 - ->renderRow() can take a label name as its second argument # Failed test (./sfFormFieldTest.php at line 99) # got: ' ' # expected: ' ' not ok 13 - ->renderRow() can take a help message as its third argument # Failed test (./sfFormFieldTest.php at line 111) # got: '
help ' # expected: '
help ' not ok 14 - ->renderRow() renders a row when the widget has a parent # Failed test (./sfFormFieldTest.php at line 127) # got: ' ' # expected: ' ' ok 15 - ->renderRow() throws an LogicException if the form field has no parent # ->renderLabel() not ok 16 - ->renderLabel() renders the label as HTML # Failed test (./sfFormFieldTest.php at line 141) # got: '' # expected: '' not ok 17 - ->renderLabel() renders optional HTML attributes # Failed test (./sfFormFieldTest.php at line 142) # got: '' # expected: '' ok 18 - ->renderLabel() throws an LogicException if the form field has no parent # ->renderLabelName() not ok 19 - ->renderLabelName() renders the label name # Failed test (./sfFormFieldTest.php at line 155) # got: 'ArticleTitle' # expected: 'Title' ok 20 - ->renderLabelName() throws an LogicException if the form field has no parent # ->renderId() ok 21 - ->renderId() renders the id attribute of the field ok 22 - ->renderId() renders the id attribute of the field # ->isHidden() ok 23 - ->isHidden() is a proxy method to the isHidden() method of the widget # ->renderError() ok 24 - ->renderError() renders errors as HTML ok 25 - ->renderRow() renders errors as HTML when the widget has a parent ok 26 - ->renderRow() renders errors as HTML when the widget has a parent ok 27 - ->renderError() throws an LogicException if the form field has no parent not ok 28 - ->renderError() renders global errors as expected (global errors, hidden field errors, non existent field errors) # Failed test (./sfFormFieldTest.php at line 222) # got: ' ' # expected: ' ' ok 29 - ->render() uses the parent id format Looks like you failed 9 tests of 29.