Warning, /sdk/kdiff3/test/testdata/README is written in an unsupported language. File is not indexed.

0001 Adding test cases
0002 -----------------
0003 
0004 Each test case consists of 4 files: three files with input data and one
0005 file that contains the expected vertical alignment chosen by kdiff3.
0006 
0007 Test data files should follow this naming convention:
0008  *_base.*
0009  *_contrib1.*
0010  *_contrib2.*
0011  *_expected_result.*
0012 
0013 The test automatically detects files that follow this convention and executes the
0014 test on these sets of files in alphabetical order.
0015 
0016 
0017 Specifying expected alignment
0018 -----------------------------
0019 
0020 Each line in the alignment file corresponds to a line in the diff view of
0021 kdiff3 and consists of the three line numbers from files A, B and C that are
0022 put on that line in the diff view.
0023 
0024 So for instance if file A contains two lines, file B is empty and file C
0025 contains one line that is the same as the second line in A, kdiff3 may align
0026 them like this in the diff view:
0027 
0028 A:                   B:                 C:
0029 something                               
0030 something else                          something else
0031 
0032 An alignment file for this alignment would look like this:
0033 1 -1 -1
0034 2 -1  1
0035 
0036 As you can see -1 is used to indicate that a line in the diff view does not
0037 contain a line from the input file.
0038 
0039 
0040 --
0041 Maurice van der Pot
0042 griffon26@kfk4ever.com
0043