PageRenderTime 19ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/tst/org/diffkit/diff/testcase/test36.README.txt

http://diffkit.googlecode.com/
Plain Text | 31 lines | 26 code | 5 blank | 0 comment | 0 complexity | c8eca01402ef920e53f2e198efe601f1 MD5 | raw file
  1. test36 README
  2. =========
  3. Description
  4. ----------
  5. Compare a SpreadSheet on the LHS vs. a DB Source on the RHS, using a MagicPlan.
  6. Demonstrates the use of ToleranceMap. Also highlights a bug in DiffKit data type
  7. coercion. COLUMN5 has the same type (to the extent that you can clearly type SS
  8. columns) in both the SS and the DB: Time. It's read from both sources a java.sql.Time,
  9. however there is some subtle difference in the way that the values are read that
  10. results in different Time (reported by getTime()) values. So COLUMN5 generates
  11. a diff in every row even though the values appear to be the same in the diff
  12. report file.
  13. Assumptions
  14. -----------
  15. - lhs is a SpreadSheet FILE table
  16. - rhs is DB table
  17. - MagicPlan supplies lhs spreadsheet file path
  18. - MagicPlan supplies rhs DB table name and ConnectionInfo
  19. - MagicPlan supplies file path for Sink
  20. - lhs and rhs tables have nearly identical structure
  21. - key is specified as COLUMN1, which is Type String in SS
  22. - MagicPlan specifies that a header row is present in the Spreadsheet.
  23. Expectations
  24. -----------
  25. - 7 ROW_DIFFs
  26. - 33 COLUMN_DIFFs