37
|
1 |
// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
|
|
15 |
//DialogOptionSelection (multiple options could be specified using delimeter ',') = Always/Never/SessionYes/SessionNo
|
|
16 |
//ExpectedDialogOptions (Optional) = Always/Never/SessionYes/SessionNo
|
|
17 |
//PlatSecPass = True/False
|
|
18 |
//ExpectedUpsDecision (Optional, multiple options could be specified using delimeter ',') = Yes/No/SessionYes/SessionNo
|
|
19 |
//PromptTriggerCount (Optional) = Expected number of times prompt would be triggered by test
|
|
20 |
//NoOfAuthoriseCalls = 1..N (N - Maximum number of iterations , 10 is the limit)
|
|
21 |
//AlwaysOpenNewSession (Each iteration open the session in the beiginning of the iteration and close at the end if set to True) = True/False
|
|
22 |
//UseSameSubSession (Optional, Each iteration uses same SubSession if set to True) = True/False
|
|
23 |
//UseSameSubSessionAfterClose (Optional, Each iteration uses same SubSession after closing it at the end of iteration) = True/False
|
|
24 |
//AlwaysOpenNewSubSession (Optional, Always open new SubSession for each iteration) = True/False
|
|
25 |
|
|
26 |
|
|
27 |
[ProtSidPlatSecFail]
|
|
28 |
ServiceId = 10281DD8
|
|
29 |
Destination = 0776655443
|
|
30 |
OpaqueData = NoOpaqueData
|
|
31 |
DialogOptionSelection = SessionYes
|
|
32 |
PlatSecPass = False
|
|
33 |
ExpectedUpsDecision = SessionYes
|
|
34 |
PromptTriggerCount = 1
|
|
35 |
|
|
36 |
[UnProtSidPlatSecPass]
|
|
37 |
ServiceId = 10281DD8
|
|
38 |
Destination = 0776655443
|
|
39 |
OpaqueData = NoOpaqueData
|
|
40 |
DialogOptionSelection = SessionYes
|
|
41 |
PlatSecPass = True
|
|
42 |
ExpectedUpsDecision = SessionYes
|
|
43 |
PromptTriggerCount = 1
|
|
44 |
|
|
45 |
[UnProtSidPlatSecFail]
|
|
46 |
ServiceId = 10281DD8
|
|
47 |
Destination = 0776655443
|
|
48 |
OpaqueData = NoOpaqueData
|
|
49 |
DialogOptionSelection = SessionYes
|
|
50 |
PlatSecPass = False
|
|
51 |
ExpectedUpsDecision = SessionYes
|
|
52 |
PromptTriggerCount = 1
|
|
53 |
|
|
54 |
[ProtSidPlatSecPass]
|
|
55 |
ServiceId = 10281DD8
|
|
56 |
Destination = 0776655443
|
|
57 |
OpaqueData = NoOpaqueData
|
|
58 |
DialogOptionSelection = SessionYes
|
|
59 |
PlatSecPass = True
|
|
60 |
ExpectedUpsDecision = Yes
|
|
61 |
PromptTriggerCount = 0
|
|
62 |
|
|
63 |
[ValidPromptResponse]
|
|
64 |
ServiceId = 10281DD8
|
|
65 |
Destination = 0776655443
|
|
66 |
OpaqueData = NoOpaqueData
|
|
67 |
DialogOptionSelection = SessionYes
|
|
68 |
PlatSecPass = False
|
|
69 |
ExpectedUpsDecision = SessionYes
|
|
70 |
PromptTriggerCount = 1
|
|
71 |
ExpectedDialogOptions = Always/Never/SessionYes/SessionNo
|
|
72 |
|
|
73 |
[ValidDestinationIPPrompted]
|
|
74 |
ServiceId = 10281DD8
|
|
75 |
Destination = 10.0.0.10
|
|
76 |
OpaqueData = NoOpaqueData
|
|
77 |
DialogOptionSelection = SessionYes
|
|
78 |
PlatSecPass = False
|
|
79 |
ExpectedUpsDecision = SessionYes
|
|
80 |
PromptTriggerCount = 1
|
|
81 |
|
|
82 |
[UserResponseSessionYes]
|
|
83 |
ServiceId = 10281DD8
|
|
84 |
Destination = 10.0.0.10
|
|
85 |
OpaqueData = NoOpaqueData
|
|
86 |
DialogOptionSelection = SessionYes
|
|
87 |
PlatSecPass = False
|
|
88 |
ExpectedUpsDecision = SessionYes
|
|
89 |
PromptTriggerCount = 1
|
|
90 |
|
|
91 |
[PromptAgainAfterSessionYes]
|
|
92 |
ServiceId = 10281DD8
|
|
93 |
Destination = 0789012345
|
|
94 |
OpaqueData = NoOpaqueData
|
|
95 |
DialogOptionSelection = SessionYes
|
|
96 |
PlatSecPass = False
|
|
97 |
ExpectedUpsDecision = SessionYes
|
|
98 |
PromptTriggerCount = 2
|
|
99 |
NoOfAuthoriseCalls = 2
|
|
100 |
|
|
101 |
[PromptAfterSessionYesWithNewSubSession]
|
|
102 |
ServiceId = 10281DD8
|
|
103 |
Destination = 0789012345
|
|
104 |
OpaqueData = NoOpaqueData
|
|
105 |
DialogOptionSelection = SessionYes
|
|
106 |
PlatSecPass = False
|
|
107 |
ExpectedUpsDecision = SessionYes
|
|
108 |
PromptTriggerCount = 2
|
|
109 |
NoOfAuthoriseCalls = 2
|
|
110 |
UseSameSubSessionAfterClose = True
|
|
111 |
|
|
112 |
[PromptAgainAfterSessionNo]
|
|
113 |
ServiceId = 10281DD8
|
|
114 |
Destination = 0789012345
|
|
115 |
OpaqueData = NoOpaqueData
|
|
116 |
DialogOptionSelection = SessionNo
|
|
117 |
PlatSecPass = False
|
|
118 |
ExpectedUpsDecision = SessionNo
|
|
119 |
PromptTriggerCount = 2
|
|
120 |
NoOfAuthoriseCalls = 2
|
|
121 |
|
|
122 |
[PromptAfterSessionNoWithNewSubSession]
|
|
123 |
ServiceId = 10281DD8
|
|
124 |
Destination = 0789012345
|
|
125 |
OpaqueData = NoOpaqueData
|
|
126 |
DialogOptionSelection = SessionNo
|
|
127 |
PlatSecPass = False
|
|
128 |
ExpectedUpsDecision = SessionNo
|
|
129 |
PromptTriggerCount = 2
|
|
130 |
NoOfAuthoriseCalls = 2
|
|
131 |
UseSameSubSessionAfterClose = True
|
|
132 |
|
|
133 |
[NoPromptAfterAlwaysResponse]
|
|
134 |
ServiceId = 10281DD8
|
|
135 |
Destination = 0789012345
|
|
136 |
OpaqueData = NoOpaqueData
|
|
137 |
DialogOptionSelection = Always
|
|
138 |
PlatSecPass = False
|
|
139 |
ExpectedUpsDecision = SessionYes
|
|
140 |
PromptTriggerCount = 1
|
|
141 |
NoOfAuthoriseCalls = 2
|
|
142 |
|
|
143 |
[NoPromptInNewSessionAfterAlways]
|
|
144 |
ServiceId = 10281DD8
|
|
145 |
Destination = 0789012345
|
|
146 |
OpaqueData = NoOpaqueData
|
|
147 |
DialogOptionSelection = Always
|
|
148 |
PlatSecPass = False
|
|
149 |
ExpectedUpsDecision = SessionYes
|
|
150 |
PromptTriggerCount = 1
|
|
151 |
NoOfAuthoriseCalls = 2
|
|
152 |
AlwaysOpenNewSession = True
|
|
153 |
UseSameSubSessionAfterClose = True
|
|
154 |
|
|
155 |
[NoPromptInSameSessionAfterNever]
|
|
156 |
ServiceId = 10281DD8
|
|
157 |
Destination = 0789012345
|
|
158 |
OpaqueData = NoOpaqueData
|
|
159 |
DialogOptionSelection = Never
|
|
160 |
PlatSecPass = False
|
|
161 |
ExpectedUpsDecision = SessionNo
|
|
162 |
PromptTriggerCount = 1
|
|
163 |
NoOfAuthoriseCalls = 2
|
|
164 |
|
|
165 |
[NoPromptInNewSessionAfterNever]
|
|
166 |
ServiceId = 10281DD8
|
|
167 |
Destination = 0789012345
|
|
168 |
OpaqueData = NoOpaqueData
|
|
169 |
DialogOptionSelection = Never
|
|
170 |
PlatSecPass = False
|
|
171 |
ExpectedUpsDecision = SessionNo
|
|
172 |
PromptTriggerCount = 1
|
|
173 |
NoOfAuthoriseCalls = 2
|
|
174 |
AlwaysOpenNewSession = True
|
|
175 |
UseSameSubSessionAfterClose = True
|
|
176 |
|
|
177 |
[UserResponseYes]
|
|
178 |
ServiceId = 10281DD8
|
|
179 |
Destination = 0789012345
|
|
180 |
OpaqueData = NoOpaqueData
|
|
181 |
DialogOptionSelection = SessionYes
|
|
182 |
PlatSecPass = False
|
|
183 |
ExpectedUpsDecision = SessionYes
|
|
184 |
PromptTriggerCount = 1
|
|
185 |
|
|
186 |
[UserResponseNo]
|
|
187 |
ServiceId = 10281DD8
|
|
188 |
Destination = 10.0.0.1
|
|
189 |
OpaqueData = NoOpaqueData
|
|
190 |
DialogOptionSelection = SessionNo
|
|
191 |
PlatSecPass = False
|
|
192 |
ExpectedUpsDecision = SessionNo
|
|
193 |
PromptTriggerCount = 1
|
|
194 |
|
|
195 |
[Client1UserResponseSessionYes]
|
|
196 |
ServiceId = 10281DD8
|
|
197 |
Destination = 20.0.0.1
|
|
198 |
OpaqueData = NoOpaqueData
|
|
199 |
DialogOptionSelection = SessionYes
|
|
200 |
PlatSecPass = False
|
|
201 |
ExpectedUpsDecision = SessionYes
|
|
202 |
|
|
203 |
[Client2UserResponseSessionNo]
|
|
204 |
ServiceId = 10281DD8
|
|
205 |
Destination = 20.0.0.2
|
|
206 |
OpaqueData = NoOpaqueData
|
|
207 |
DialogOptionSelection = SessionNo
|
|
208 |
PlatSecPass = False
|
|
209 |
ExpectedUpsDecision = SessionNo
|
|
210 |
|
|
211 |
[Client1UserResponseAlways]
|
|
212 |
ServiceId = 10281DD8
|
|
213 |
Destination = 20.0.0.1
|
|
214 |
OpaqueData = NoOpaqueData
|
|
215 |
DialogOptionSelection = Always
|
|
216 |
PlatSecPass = False
|
|
217 |
ExpectedUpsDecision = SessionYes
|
|
218 |
|
|
219 |
[Client2UserResponseNever]
|
|
220 |
ServiceId = 10281DD8
|
|
221 |
Destination = 20.0.0.2
|
|
222 |
OpaqueData = NoOpaqueData
|
|
223 |
DialogOptionSelection = Never
|
|
224 |
PlatSecPass = False
|
|
225 |
ExpectedUpsDecision = SessionNo
|
|
226 |
|
|
227 |
[Client2UserResponseSessionNo]
|
|
228 |
ServiceId = 10281DD8
|
|
229 |
Destination = 20.0.0.2
|
|
230 |
OpaqueData = NoOpaqueData
|
|
231 |
DialogOptionSelection = SessionNo
|
|
232 |
PlatSecPass = False
|
|
233 |
ExpectedUpsDecision = SessionNo
|
|
234 |
|
|
235 |
[MultipleSubSessionsWithAlways]
|
|
236 |
ServiceId = 10281DD8
|
|
237 |
Destination = 20.0.0.1
|
|
238 |
OpaqueData = NoOpaqueData
|
|
239 |
DialogOptionSelection = Always
|
|
240 |
PlatSecPass = False
|
|
241 |
ExpectedUpsDecision = SessionYes
|
|
242 |
PromptTriggerCount = 1
|
|
243 |
NoOfAuthoriseCalls = 2
|
|
244 |
AlwaysOpenNewSubSession = True
|
|
245 |
|
|
246 |
[MultipleSubSessionsWithSessionYes]
|
|
247 |
ServiceId = 10281DD8
|
|
248 |
Destination = 20.0.0.1
|
|
249 |
OpaqueData = NoOpaqueData
|
|
250 |
DialogOptionSelection = SessionYes,Always
|
|
251 |
PlatSecPass = False
|
|
252 |
ExpectedUpsDecision = SessionYes,SessionYes
|
|
253 |
PromptTriggerCount = 2
|
|
254 |
NoOfAuthoriseCalls = 2
|
|
255 |
AlwaysOpenNewSubSession = True
|
|
256 |
|
|
257 |
[CancelPromptCall]
|
|
258 |
ServiceId = 10281DD8
|
|
259 |
Destination = 20.0.0.1
|
|
260 |
OpaqueData = NoOpaqueData
|
|
261 |
DialogOptionSelection = SessionYes
|
|
262 |
PlatSecPass = False
|
|
263 |
CancelPromptCall = True
|
|
264 |
PromptTriggerCount = 0
|
|
265 |
|
|
266 |
[StorePromptTriggerCount]
|
|
267 |
StorePromptTriggerCount = True
|
|
268 |
|
|
269 |
[PromptCount_2]
|
|
270 |
PromptTriggerCount = 2
|
|
271 |
|
|
272 |
[PromptCount_3]
|
|
273 |
PromptTriggerCount = 3
|
|
274 |
|