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

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

http://diffkit.googlecode.com/
Plain Text | 30 lines | 25 code | 5 blank | 0 comment | 0 complexity | 2bdcaf74738aa032d637f6effcbce7c0 MD5 | raw file
 1test20 README
 2=========
 3
 4Description
 5----------
 6Demos issue 5. The target DB tables do not have PK defined at the SQL level. User
 7has specified keyColumnNames in the plan file. DKDBSource must reorder the rows 
 8appropriately for the key definition in the plan file to assure that there is only
 91 row diff.
10
11
12Assumptions
13-----------
14- lhs & rhs are DB tables
15- DB tables do not have PK defined
16- plan file supplies lhs table name and rhs table name
17- plan file supplies ConnectionInfo to H2 DB
18- lhs and rhs tables have identical structure
19- plan file supplies key for ordering the rows
20- MagicPlan reverse engineers TableModels from the database
21- MagicPlan generates default TableComparison by aligning lhs column to rhs column based on name
22- MagicPlan generates SQL SELECT using plan supplied keyColumnNames for the ORDER BY clause
23- MagicPlan uses EqualsDiffor across the board
24- MagicPlan defaults to looking for ROW and COLUMN type Diffs
25- MagicPlan sets max diffs to Long.MAX
26
27
28Expectations
29-----------
30- 1 row diff