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

http://diffkit.googlecode.com/ · Plain Text · 26 lines · 22 code · 4 blank · 0 comment · 0 complexity · 1d24cbfc4f8cec2567f2bef96431790e MD5 · raw file

  1. test21 README
  2. =========
  3. Description
  4. ----------
  5. Test of diffKind and maxDiffs properties in MagicPlan. Plan limits
  6. diffs to ROW_DIFF diffs only, and maxDiffs of 2. If BOTH kinds of diffs were
  7. reported, there would be 4 COLUMN_DIFFs, in addition to the 2 ROW_DIFFs. But the
  8. diffKind property filters those out. If maxDiff was not specified, it would
  9. default to a huge number (Long.MAX), and all 3 row diffs would be reported. But
  10. since maxDiffs is specified to the MagicPlan, only the first 2 ROW_DIFFs are
  11. reported.
  12. Assumptions
  13. -----------
  14. - lhs & rhs are File tables
  15. - lhs vs. rhs has both row and column diffs
  16. - MagicPlan figures everything out
  17. - only report ROW diffs
  18. - report maxDiffs = 2
  19. Expectations
  20. -----------
  21. - no column diffs in expected, even though column diffs exist between sources
  22. - two row diffs, even though 3 exist