forked from VSoftTechnologies/Delphi-Mocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSample1.dpr
More file actions
39 lines (34 loc) · 1.13 KB
/
Sample1.dpr
File metadata and controls
39 lines (34 loc) · 1.13 KB
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
program Sample1;
{$APPTYPE CONSOLE}
{$R *.res}
uses
SysUtils,
Delphi.Mocks in 'Delphi.Mocks.pas',
Sample1Main in 'Sample1Main.pas',
Delphi.Mocks.Behavior in 'Delphi.Mocks.Behavior.pas',
Delphi.Mocks.Helpers in 'Delphi.Mocks.Helpers.pas',
Delphi.Mocks.InterfaceProxy in 'Delphi.Mocks.InterfaceProxy.pas',
Delphi.Mocks.Interfaces in 'Delphi.Mocks.Interfaces.pas',
Delphi.Mocks.MethodData in 'Delphi.Mocks.MethodData.pas',
Delphi.Mocks.Utils in 'Delphi.Mocks.Utils.pas',
Delphi.Mocks.VirtualInterface in 'Delphi.Mocks.VirtualInterface.pas',
Delphi.Mocks.When in 'Delphi.Mocks.When.pas',
Delphi.Mocks.Expectation in 'Delphi.Mocks.Expectation.pas',
Delphi.Mocks.ObjectProxy in 'Delphi.Mocks.ObjectProxy.pas',
Delphi.Mocks.ProxyBase in 'Delphi.Mocks.ProxyBase.pas',
Delphi.Mocks.VirtualMethodInterceptor in 'Delphi.Mocks.VirtualMethodInterceptor.pas',
Delphi.Mocks.ReturnTypePatch in 'Delphi.Mocks.ReturnTypePatch.pas';
begin
try
TesTObjectMock;
Writeln('--------------');
Test;
ReadLn;
except
on E: Exception do
begin
Writeln(E.ClassName, ': ', E.Message);
ReadLn;
end;
end;
end.