PageRenderTime 17ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://diffkit.googlecode.com/
Plain Text | 27 lines | 22 code | 5 blank | 0 comment | 0 complexity | 4f2056522224acaf64eb09374b05f560 MD5 | raw file
 1test15 README
 2=========
 3
 4Description
 5----------
 6Test global numberTolerance and toleranceMap. MagicPlan will ensure that no numeric diffs of magnitude
 7less than 3 will be considered (numberTolerance =2), and that any diffs in COLUMN3 and COLUMN4 that 
 8are not greater than 4 (toleranceMap; 4=COLUMN3,COLUMN4) will be ignored.
 9
10
11Assumptions
12-----------
13- lhs & rhs are DB tables
14- lhs vs. rhs has column and row diffs
15- plan file supplies lhs table name and rhs table name
16- plan file supplies ConnectionInfo to H2 DB
17- lhs and rhs tables have identical structure
18- MagicPlan reverse engineers TableModels from the database
19- MagicPlan generates default TableComparison by aligning lhs column to rhs column based on name
20- MagicPlan builds TableComparison to globally tolerate diffs of 2 or less in any numeric columns
21- MagicPlan overrides the global tolerance for COLUMN3 and COLUMN4, setting it to 4 instead of 2
22
23
24Expectations
25-----------
26- 2 row diffs
27- 4 column diffs, all in COLUMN4, because all other diffs (in COLUMN2 and COLUMN3) are within tolerance.