Menu

#223 FailureHandler is not propagated to data comparison stage

v2.3.*
closed-fixed
Bug (232)
5
2014-04-20
2009-01-08
No

This is for v.2.4.2

When calling
assertEquals(IDataSet, IDataSet, FailureHandler)
data differences produces an exception regardless to presence of configured FailureHandler

cause :

DbUnitAssert line 244 :
call is being made to assertTable(ITable, ITable) thus losing FailureHandler

proposed fix :

change line 244 to
assertEquals(expectedDataSet.getTable(name), actualDataSet.getTable(name), failureHandler);

Discussion

  • matthias g

    matthias g - 2009-01-08
    • status: open --> closed-fixed
     
  • matthias g

    matthias g - 2009-01-08

    Hi there,

    I committed the bugfix to svn trunk rev. 937 for the upcoming 2.4.3 release. Thanks for this quick-win bug report.

    regards,
    mat

     

Log in to post a comment.