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

http://diffkit.googlecode.com/ · Plain Text · 30 lines · 23 code · 7 blank · 0 comment · 0 complexity · 738118b3d66b8867165feaa8919d3f68 MD5 · raw file

  1. test18 README
  2. =========
  3. Description
  4. ----------
  5. Compare across different databases. Compare two DB tables using the most automatic
  6. default provided by the MagicPlan. Only the two table names and the ConnectionInfo are
  7. provided in the plan file. Everything else is figured out by MagicPlan.
  8. Assumptions
  9. -----------
  10. - lhs is in one database, rhs is in a different database
  11. - lhs vs. rhs has both row and column diffs
  12. - plan file supplies lhs table name and rhs table name
  13. - plan file supplies lhs and rhs ConnectionInfo to H2 DB
  14. - lhs and rhs tables have identical structure
  15. - MagicPlan reverse engineers TableModels from the database
  16. - MagicPlan generates default TableComparison by aligning lhs column to rhs column based on name
  17. - MagicPlan uses EqualsDiffor across the board
  18. - MagicPlan defaults to looking for ROW and COLUMN type Diffs
  19. - MagicPlan sets max diffs to Long.MAX
  20. Expectations
  21. -----------
  22. - 2 column diffs
  23. - 4 row diffs