Skip to content

Latest commit

 

History

History
executable file
·
94 lines (84 loc) · 2.32 KB

Test.h

File metadata and controls

executable file
·
94 lines (84 loc) · 2.32 KB
 
Jun 16, 2003
Jun 16, 2003
1
2
3
4
5
6
7
8
/* Test.h - This class creates test cases for various MojoMerge objects.
*
*/
#ifndef _TEST_H_
#define _TEST_H_
#include "Hunk.h"
Aug 29, 2003
Aug 29, 2003
9
#include "FolderHunk.h"
Jun 16, 2003
Jun 16, 2003
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
namespace MojoMerge
{
class Test
{
public:
/* TestGNUDiff_TwoWay
* Tests the two-way diff functionality in GNUDiff and sends the
* output results to the debug window
* Params
* none
* Returns
* First hunk of a hunk list, or NULL if no differences found.
*/
static Hunk *TestGNUDiff_TwoWay();
/* TestGNUDiff_ThreeWay
* Tests the three-way diff functionality in GNUDiff and sends the
* output results to the debug window
* Params
* none
* Returns
* First hunk of a hunk list, or NULL if no differences found.
*/
static Hunk *TestGNUDiff_ThreeWay();
Jul 26, 2003
Jul 26, 2003
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* TestLineBuffer
* Tests the functionality of the LineBuffer object
* Params
* none
* Returns
*/
static void TestLineBuffer();
/* TestMerge_TwoWay
* Tests the two-way merge functionality by merging the result of
* the TestGNUDiff_TwoWay
* Params
* none
* Returns
* none
*/
static void TestMerge_TwoWay();
/* TestStack
* Tests the Stack object
* Params
* none
* Returns
* none
*/
static void TestStack();
/* TestCompareFolders
* Tests the CompareFolders object
* Params
* none
* Returns
* none
*/
static void TestCompareFolders();
Aug 14, 2003
Aug 14, 2003
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/* TestCompareFilesUI
* Tests the CompareFilesUI object
*
* Params
* none
* Returns
* none
*/
static void TestCompareFilesUI();
/* TestCompareFilesUI3Way
* Tests the CompareFilesUI object with 3-way diff
* Params
* none
* Returns
* none
*/
static void TestCompareFilesUI3Way();
Jun 16, 2003
Jun 16, 2003
89
private:
Aug 29, 2003
Aug 29, 2003
90
static void PrintHunks(FolderHunk *FirstHunk, int Indent);
Jun 16, 2003
Jun 16, 2003
91
92
93
};
}
Sep 7, 2003
Sep 7, 2003
94
#endif