This repository has been archived by the owner on Jul 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathSIP.dpr
164 lines (157 loc) · 6.86 KB
/
SIP.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
(c) 2004 Directorate of New Technologies, Royal National Institute for Deaf people (RNID)
The RNID licence covers this unit. Read the licence at:
http://www.ictrnid.org.uk/docs/gw/rnid_license.txt
This unit contains code written by:
* Frank Shearar
}
program SIP;
uses
Forms,
GuiTestRunner,
SysUtils,
TestFramework,
TextTestRunner,
audioclasses in 'src\audioclasses.pas',
ConfigUtils in 'src\ConfigUtils.pas',
IdAddressSpace in 'src\IdAddressSpace.pas',
IdBaseThread in 'src\IdBaseThread.pas',
IdConnectionBindings in 'src\IdConnectionBindings.pas',
IdDTMFPanel in 'src\IdDTMFPanel.pas',
IdIndyUtils in 'src\IdIndyUtils.pas',
IdInterfacedObject in 'src\IdInterfacedObject.pas',
IdNetworking in 'src\IdNetworking.pas',
IdNotification in 'src\IdNotification.pas',
IdObservable in 'src\IdObservable.pas',
IdRandom in 'src\IdRandom.pas',
IdRegisteredObject in 'src\IdRegisteredObject.pas',
IdRoutingTable in 'src\IdRoutingTable.pas',
IdRTP in 'src\IdRTP.pas',
IdRTPDiagnostics in 'src\IdRTPDiagnostics.pas',
IdRTPServer in 'src\IdRTPServer.pas',
IdSdp in 'src\IdSdp.pas',
IdSimpleParser in 'src\IdSimpleParser.pas',
IdSipAuthentication in 'src\IdSipAuthentication.pas',
IdSipCore in 'src\IdSipCore.pas',
IdSipDialog in 'src\IdSipDialog.pas',
IdSipDialogID in 'src\IdSipDialogID.pas',
IdSipDns in 'src\IdSipDns.pas',
IdSipIndyLocator in 'src\IdSipIndyLocator.pas',
IdSipInviteModule in 'src\IdSipInviteModule.pas',
IdSipLocation in 'src\IdSipLocation.pas',
IdSipLocator in 'src\IdSipLocator.pas',
IdSipMessage in 'src\IdSipMessage.pas',
IdSipInMemoryBindingDatabase in 'src\IdSipInMemoryBindingDatabase.pas',
IdSipMockCore in 'test\IdSipMockCore.pas',
IdSipMockDnsServer in 'test\IdSipMockDnsServer.pas',
IdSipMockLocator in 'test\IdSipMockLocator.pas',
IdSipMockTransactionDispatcher in 'test\IdSipMockTransactionDispatcher.pas',
IdSipMockTransport in 'test\IdSipMockTransport.pas',
IdSipOptionsModule in 'src\IdSipOptionsModule.pas',
IdSipProxy in 'src\IdSipProxy.pas',
IdSipProxyDescription in 'src\IdSipProxyDescription.pas',
IdSipRegistration in 'src\IdSipRegistration.pas',
IdSipSctpTransport in 'src\IdSipSctpTransport.pas',
IdSipStackInterface in 'src\IdSipStackInterface.pas',
IdSipSubscribeModule in 'src\IdSipSubscribeModule.pas',
IdSipTcpTransport in 'src\IdSipTcpTransport.pas',
IdSipTlsOverSctpTransport in 'src\IdSipTlsOverSctpTransport.pas',
IdSipTlsTransport in 'src\IdSipTlsTransport.pas',
IdSipTransaction in 'src\IdSipTransaction.pas',
IdSipTransport in 'src\IdSipTransport.pas',
IdSipTransportAddressSpace in 'src\IdSipTransportAddressSpace.pas',
IdSipTransportLogger in 'src\IdSipTransportLogger.pas',
IdSipUdpTransport in 'src\IdSipUdpTransport.pas',
IdSipUserAgent in 'src\IdSipUserAgent.pas',
IdSystem in 'src\IdSystem.pas',
IdThreadableTcpClient in 'src\IdThreadableTcpClient.pas',
IdTimerQueue in 'src\IdTimerQueue.pas',
IdUnicode in 'src\IdUnicode.pas',
MessageQueues in 'src\MessageQueues.pas',
PluggableLogging in 'src\PluggableLogging.pas',
RuntimeSafety in 'src\RuntimeSafety.pas',
SipConfigUtils in 'src\SipConfigUtils.pas',
StringDictionary in 'src\StringDictionary.pas',
TestFrameworkEx in 'test\TestFrameworkEx.pas',
TestFrameworkRtp in 'test\TestFrameworkRtp.pas',
TestFrameworkSdp in 'test\TestFrameworkSdp.pas',
TestFrameworkSip in 'test\TestFrameworkSip.pas',
TestFrameworkSipTransport in 'test\TestFrameworkSipTransport.pas',
TestFrameworkSipTU in 'test\TestFrameworkSipTU.pas',
TestFrameworkStackInterface in 'test\TestFrameworkStackInterface.pas',
TestFrameworkTimerQueue in 'test\TestFrameworkTimerQueue.pas',
TestMessages in 'test\TestMessages.pas',
TestConfigUtils in 'test\TestConfigUtils.pas',
TestIdAddressSpace in 'test\TestIdAddressSpace.pas',
TestIdConnectionBindings in 'test\TestIdConnectionBindings.pas',
TestIdIndyUtils in 'test\TestIdIndyUtils.pas',
TestIdNetworking in 'test\TestIdNetworking.pas',
TestIdNotification in 'test\TestIdNotification.pas',
TestIdObservable in 'test\TestIdObservable.pas',
TestIdRandom in 'test\TestIdRandom.pas',
TestIdRegisteredObject in 'test\TestIdRegisteredObject.pas',
TestIdRoutingTable in 'test\TestIdRoutingTable.pas',
TestIdRTP in 'test\TestIdRTP.pas',
TestIdRTPDiagnostics in 'test\TestIdRTPDiagnostics.pas',
TestIdRTPServer in 'test\TestIdRTPServer.pas',
TestIdSdp in 'test\TestIdSdp.pas',
TestIdSimpleParser in 'test\TestIdSimpleParser.pas',
TestIdSipAuthentication in 'test\TestIdSipAuthentication.pas',
TestSipConfigUtils in 'test\TestSipConfigUtils.pas',
TestIdSipCore in 'test\TestIdSipCore.pas',
TestIdSipDialog in 'test\TestIdSipDialog.pas',
TestIdSipDialogID in 'test\TestIdSipDialogID.pas',
TestIdSipDns in 'test\TestIdSipDns.pas',
TestIdSipHeaders in 'test\TestIdSipHeaders.pas',
TestIdSipIndyLocator in 'test\TestIdSipIndyLocator.pas',
TestIdSipInviteModule in 'test\TestIdSipInviteModule.pas',
TestIdSipLocation in 'test\TestIdSipLocation.pas',
TestIdSipLocator in 'test\TestIdSipLocator.pas',
TestIdSipMessage in 'test\TestIdSipMessage.pas',
TestIdSipOptionsModule in 'test\TestIdSipOptionsModule.pas',
TestIdSipParser in 'test\TestIdSipParser.pas',
TestIdSipProxy in 'test\TestIdSipProxy.pas',
TestIdSipProxyDescription in 'test\TestIdSipProxyDescription.pas',
TestIdSipRegistrar in 'test\TestIdSipRegistrar.pas',
TestIdSipRegistration in 'test\TestIdSipRegistration.pas',
TestIdSipStackInterface in 'test\TestIdSipStackInterface.pas',
TestIdSipSubscribeModule in 'test\TestIdSipSubscribeModule.pas',
TestIdSipSctpTransport in 'test\TestIdSipSctpTransport.pas',
TestIdSipTcpTransport in 'test\TestIdSipTcpTransport.pas',
TestIdSipTlsTransport in 'test\TestIdSipTlsTransport.pas',
TestIdSipTransaction in 'test\TestIdSipTransaction.pas',
TestIdSipTransport in 'test\TestIdSipTransport.pas',
TestIdSipTransportAddressSpace in 'test\TestIdSipTransportAddressSpace.pas',
TestIdSipTransportLogger in 'test\TestIdSipTransportLogger.pas',
TestIdSipUdpTransport in 'test\TestIdSipUdpTransport.pas',
TestIdSipUserAgent in 'test\TestIdSipUserAgent.pas',
TestIdSipUri in 'test\TestIdSipUri.pas',
TestIdSystem in 'test\TestIdSystem.pas',
TestIdThreadableTcpClient in 'test\TestIdThreadableTcpClient.pas',
TestIdTimerQueue in 'test\TestIdTimerQueue.pas',
TestIdUnicode in 'test\TestIdUnicode.pas',
TestStringDictionary in 'test\TestStringDictionary.pas';
{,
TestIdSipTlsServer in 'test\TestIdSipTlsServer.pas'}
//{$DEFINE SPIKE}
//{$DEFINE GUI}
{$IFNDEF GUI}
{$APPTYPE CONSOLE}
var
R: TTestResult;
{$ENDIF}
{$R *.res}
begin
{$IFDEF SPIKE}
Forms.Application.Initialize;
// Forms.Application.CreateForm(TrnidSpike, rnidSpike);
Forms.Application.Run;
{$ELSE}
{$IFDEF GUI}
GuiTestRunner.RunRegisteredTests;
{$ELSE}
R := TextTestRunner.RunRegisteredTests;
ExitCode := R.ErrorCount + R.FailureCount;
{$ENDIF}
{$ENDIF}
end.