Menu

#187 XlsTable used on DiffCollectiongFailureHandler does not return table Name

2.5.2
closed-fixed
None
5
2015-04-25
2015-03-19
SixProject
No

When i use DiffCollectingFailureHandler and toString diffList, i have not the table Name.

Exemple: org.dbunit.assertion.Difference[expectedTable=org.dbunit.dataset.excel.XlsTable@47f58c74, actualTable=org.dbunit.dataset.excel.XlsTable@49d83894, rowIndex=345, columnName=RESULTATS, expectedValue=Echec match, actualValue=Match sans mise à jour]

IS it possible to define toString method on XlsTable to show table Name?

Discussion

  • Jeff Jensen

    Jeff Jensen - 2015-03-19

    Ticket moved from /p/dbunit/bugs/366/

    Can't be converted:

    • _fixed_release: (not fixed)
    • _milestone: v2.5.*
     
  • Jeff Jensen

    Jeff Jensen - 2015-03-19

    Make the change with tests, attach a patch or do a pull request, I'll review and apply if it's clean.

     
  • Jeff Jensen

    Jeff Jensen - 2015-03-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -When i use DiffCollectiongFailureHandler and toString diffList, i have not the column Name.
    +When i use DiffCollectiongFailureHandler and toString diffList, i have not the table Name.
    
     Exemple: org.dbunit.assertion.Difference[expectedTable=org.dbunit.dataset.excel.XlsTable@47f58c74, actualTable=org.dbunit.dataset.excel.XlsTable@49d83894, rowIndex=345, columnName=RESULTATS, expectedValue=Echec match, actualValue=Match sans mise à jour]
    
    • Release: v2.5.* --> (future)
     
  • Jeff Jensen

    Jeff Jensen - 2015-04-25
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -When i use DiffCollectiongFailureHandler and toString diffList, i have not the table Name.
    +When i use DiffCollectingFailureHandler and toString diffList, i have not the table Name.
    
     Exemple: org.dbunit.assertion.Difference[expectedTable=org.dbunit.dataset.excel.XlsTable@47f58c74, actualTable=org.dbunit.dataset.excel.XlsTable@49d83894, rowIndex=345, columnName=RESULTATS, expectedValue=Echec match, actualValue=Match sans mise à jour]
    
    • status: open --> closed-fixed
    • assigned_to: Jeff Jensen
    • Release: (future) --> 2.5.1
     
  • Jeff Jensen

    Jeff Jensen - 2015-04-25
    • Release: 2.5.1 --> 2.5.2
     

Log in to post a comment.