Tried hard to find a plausible excuse for not running the unit tests
before committing... Alas, my lack of imagination forces me to admit the
horrible truth. I forgot. My bad.

I fixed it using the least unsatisfying solution to my eyes.

Thanks for your vigilance,
Vincent


On 22/03/12 18:32, Glenn Adams wrote:
> Testsuite: org.apache.fop.fo.properties.CommonAccessibilityHolderTestCase
> Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.011 sec
> 
> Testcase: bindMustSetRoleAndSourceDoc took 0.01 sec
>         Caused an ERROR
> 
> Cannot mock/spy class
> org.apache.fop.fo.properties.CommonBorderPaddingBackground
> Mockito cannot mock/spy following:
>   - final classes
>   - anonymous classes
>   - primitive types
> org.mockito.exceptions.base.MockitoException:
> Cannot mock/spy class
> org.apache.fop.fo.properties.CommonBorderPaddingBackground
> Mockito cannot mock/spy following:
>   - final classes
>   - anonymous classes
>   - primitive types
>         at
> org.apache.fop.fo.properties.PropertyListMocks.mockCommonBorderPaddingBackgroundProps(PropertyListMocks.java:85)
>         at
> org.apache.fop.fo.properties.CommonAccessibilityHolderTestCase.mockPropertyList(CommonAccessibilityHolderTestCase.java:110)
>         at
> org.apache.fop.fo.properties.CommonAccessibilityHolderTestCase.bindMustSetRoleAndSourceDoc(CommonAccessibilityHolderTestCase.java:93)
> 

Reply via email to