This repository was archived by the owner on Dec 13, 2020. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathGitForDelphi.dpr
47 lines (40 loc) · 1.32 KB
/
GitForDelphi.dpr
1
2
3
4
5
6
7
8
9
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
35
36
37
38
39
40
41
42
43
44
45
46
program GitForDelphi;
{
Delphi DUnit Test Project
-------------------------
This project contains the DUnit test framework and the GUI/Console test runners.
Add "CONSOLE_TESTRUNNER" to the conditional defines entry in the project options
to use the console test runner. Otherwise the GUI test runner will be used by
default.
}
{$IFDEF CONSOLE_TESTRUNNER}
{$APPTYPE CONSOLE}
{$ENDIF}
uses
Forms,
TestFramework,
GUITestRunner,
TextTestRunner,
uTestsFromLibGit2 in'TestsFromLibGit2\uTestsFromLibGit2.pas',
uTestGitRecords in'uTestGitRecords.pas',
t04_commit in'TestsFromLibGit2\t04_commit.pas',
t05_revwalk in'TestsFromLibGit2\t05_revwalk.pas',
t06_index in'TestsFromLibGit2\t06_index.pas',
t08_tag in'TestsFromLibGit2\t08_tag.pas',
t09_tree in'TestsFromLibGit2\t09_tree.pas',
uTestHelpers in'uTestHelpers.pas',
t10_refs in'TestsFromLibGit2\t10_refs.pas',
uGitForDelphi in'..\uGitForDelphi.pas',
t15_config in'TestsFromLibGit2\t15_config.pas',
t18_status in'TestsFromLibGit2\t18_status.pas',
status in'TestsFromLibGit2\clar\status.pas',
uClar in'TestsFromLibGit2\clar\uClar.pas',
network in'TestsFromLibGit2\clar\network.pas';
{$R *.RES}
begin
Application.Initialize;
if IsConsole then
TextTestRunner.RunRegisteredTests
else
GUITestRunner.RunRegisteredTests;
end.