author | ivan.fildichev@opencode.com |
Thu, 18 Nov 2010 15:42:16 +0200 | |
branch | opencode |
changeset 88 | 5e27cc612ac7 |
parent 24 | 6638e7f4bd8f |
permissions | -rw-r--r-- |
24 | 1 |
// Copyright (c) 2006-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 |
||
16 |
LOAD_SUITE Te_EtelMM |
|
17 |
||
18 |
//!@file |
|
19 |
//!@SYMTestSuiteName TEL-ETELMM-LCS |
|
20 |
//!@SYMScriptTestEnvironment DUMMY TSY is used as a stub to simulate network behaviour. This test script requires a H4 hardware board for testing on ARMV5 |
|
21 |
||
22 |
START_TESTCASE TEL-ETELMM-LCS-2040 |
|
23 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2040 |
|
24 |
//!@SYMREQ REQ6239 |
|
25 |
//!@SYMTestPriority Critical |
|
26 |
//!@SYMTestCaseDesc Successful MT-LR and Measurement Control request |
|
27 |
//!@SYMTestActions Register to be notified of incoming MT-LR request and measurement control using NotifyMTLR() and NotifyMeasurementControl() respectively. Response sent back from client using SendMtlrResponse(). Computed measurement data is sent using SendMeasurementReport() |
|
28 |
//!@SYMTestExpectedResults Client is notified of incoming location requests. MT-LR request received successfully and Measurement control holds complete data filled by TSY |
|
29 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyLocationAllowed |
|
30 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
31 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementControl |
|
32 |
RUN_TEST_STEP 10 Te_EtelMM SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementReport |
|
33 |
END_TESTCASE TEL-ETELMM-LCS-2040 |
|
34 |
||
35 |
||
36 |
START_TESTCASE TEL-ETELMM-LCS-2041 |
|
37 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2041 |
|
38 |
//!@SYMREQ REQ6239 |
|
39 |
//!@SYMTestPriority Critical |
|
40 |
//!@SYMTestCaseDesc Issue MT-LR request for notification type ENotifyAndVerify_LocationAllowedIfNoResponse and Client grants permission |
|
41 |
//!@SYMTestActions Register to be notified of incoming MT-LR request using NotifyMTLR(). Client authorizes the request. Response is sent back from client using SendMtlrResponse(). |
|
42 |
//!@SYMTestExpectedResults Client is notified of incoming location requests. Notification type is ENotifyAndVerify_LocationAllowedIfNoResponse. MTLR response is EPermissionGranted |
|
43 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyAndVerifyLocationAllowedIfNoResponse |
|
44 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
45 |
END_TESTCASE TEL-ETELMM-LCS-2041 |
|
46 |
||
47 |
||
48 |
START_TESTCASE TEL-ETELMM-LCS-2042 |
|
49 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2042 |
|
50 |
//!@SYMREQ REQ6239 |
|
51 |
//!@SYMTestPriority Critical |
|
52 |
//!@SYMTestCaseDesc Issue MT-LR request for notification type ENotifyAndVerify_LocationNotAllowedIfNoResponse Client denies permission |
|
53 |
//!@SYMTestActions Register to be notified of incoming MT-LR request using NotifyMTLR(). Client denies the request. Response is sent back from client using SendMtlrResponse(). |
|
54 |
//!@SYMTestExpectedResults Client is notified of incoming location requests. Notification type is ENotifyAndVerify_LocationNotAllowedIfNoResponse. MTLR response is EPermissionDenied |
|
55 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyAndVerifyLocationNotAllowedIfNoResponse |
|
56 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionDenied |
|
57 |
END_TESTCASE TEL-ETELMM-LCS-2042 |
|
58 |
||
59 |
||
60 |
START_TESTCASE TEL-ETELMM-LCS-2043 |
|
61 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2043 |
|
62 |
//!@SYMREQ REQ6239 |
|
63 |
//!@SYMTestPriority Critical |
|
64 |
//!@SYMTestCaseDesc Issue MT-LR request and check if permission is not allowed |
|
65 |
//!@SYMTestActions Register to be notified of incoming MT-LR request using NotifyMTLR(). TSY completes the notification with Permission not allowed and privacy override. Response sent back in SendMTLRResponse() |
|
66 |
//!@SYMTestExpectedResults Client is notified of incoming location requests. MTLR response is EPermissionGranted |
|
67 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini LocationNotAllowed |
|
68 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
69 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini LocationPrivacyOverride |
|
70 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
71 |
END_TESTCASE TEL-ETELMM-LCS-2043 |
|
72 |
||
73 |
||
74 |
START_TESTCASE TEL-ETELMM-LCS-2044 |
|
75 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2044 |
|
76 |
//!@SYMREQ REQ6239 |
|
77 |
//!@SYMTestPriority Critical |
|
78 |
//!@SYMTestCaseDesc Unsuccessful MT-LR with invalid external client id |
|
79 |
//!@SYMTestActions Register to be notified of incoming MT-LR request using NotifyMTLR(). Invalid client ID set. SendMtlrResponse returns an error code. Repost the notification request again using NotifyMTLR() |
|
80 |
//!@SYMTestExpectedResults Client is notified of incoming location requests and MTLR error response is EUnexpectedDataValue |
|
81 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini MtlrInvalidClientId |
|
82 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
83 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyLocationAllowed |
|
84 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
85 |
END_TESTCASE TEL-ETELMM-LCS-2044 |
|
86 |
||
87 |
||
88 |
START_TESTCASE TEL-ETELMM-LCS-2045 |
|
89 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2045 |
|
90 |
//!@SYMREQ REQ6239 |
|
91 |
//!@SYMTestPriority Critical |
|
92 |
//!@SYMTestCaseDesc Unsuccessful MT-LR with measurement control failure |
|
93 |
//!@SYMTestActions Register to be notified of incoming MT-LR request and measurement control using NotifyMTLR() and NotifyMeasurementControl() respectively. Response sent back from client using SendMtlrResponse(). Send incorrect/missing measurement control details to client. The client fails to compute the location measurements and SendMeasurementControlFailure() sends respective error |
|
94 |
//!@SYMTestExpectedResults Client is notified of incoming requests. MTLR response is PermissionGranted. Encountered control failure EAsn1ViolationOrEncoding is sent to TSY |
|
95 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyLocationAllowed |
|
96 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
97 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini MeasurementControlFailure |
|
98 |
RUN_TEST_STEP 10 Te_EtelMM SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini MeasurementReportFailure |
|
99 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementControl |
|
100 |
RUN_TEST_STEP 10 Te_EtelMM SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementReport |
|
101 |
END_TESTCASE TEL-ETELMM-LCS-2045 |
|
102 |
||
103 |
||
104 |
START_TESTCASE TEL-ETELMM-LCS-2046 |
|
105 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2046 |
|
106 |
//!@SYMREQ REQ6239 |
|
107 |
//!@SYMTestPriority Critical |
|
108 |
//!@SYMTestCaseDesc Cancel a MT-LR request |
|
109 |
//!@SYMTestActions Register to be notified of incoming Location service requests. Client cancels the requests using CancelAsyncRequest(). Result sent back to the TSY using SendMeasurementReport() |
|
110 |
//!@SYMTestExpectedResults All requests cancelled successfully returning KErrCancel |
|
111 |
RUN_TEST_STEP 10 Te_EtelMM CancelLbsRequests z:\testdata\configs\TE_mmLocationServices.ini CancelAllRequests |
|
112 |
END_TESTCASE TEL-ETELMM-LCS-2046 |
|
113 |
||
114 |
||
115 |
START_TESTCASE TEL-ETELMM-LCS-2047 |
|
116 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2047 |
|
117 |
//!@SYMREQ REQ6239 |
|
118 |
//!@SYMTestPriority Critical |
|
119 |
//!@SYMTestCaseDesc Successful MO-LR - UE requests its own location |
|
120 |
//!@SYMTestActions Domain is set to PacketSwitched using SetLcsDomain(). Register to be notified of incoming measurement control request and MOLR request using NotifyMeasurementControl() and SendMolr(). Client computes and returns measurement results to TSY using SendMeasurementReport(). |
|
121 |
//!@SYMTestExpectedResults Client is notified of incoming measurement control and MOLR requests. Measurement request completes successfully and Molr request completes successfully with KErrNone |
|
122 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementControl |
|
123 |
RUN_TEST_STEP 10 Te_EtelMM SendMolr z:\testdata\configs\TE_mmLocationServices.ini PacketSwitchedDomain |
|
124 |
RUN_TEST_STEP 10 Te_EtelMM SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementReport |
|
125 |
END_TESTCASE TEL-ETELMM-LCS-2047 |
|
126 |
||
127 |
||
128 |
START_TESTCASE TEL-ETELMM-LCS-2048 |
|
129 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2048 |
|
130 |
//!@SYMREQ REQ6239 |
|
131 |
//!@SYMTestPriority Critical |
|
132 |
//!@SYMTestCaseDesc Successful MO-LR's using Circuit Switch Domain- Send location information to external client |
|
133 |
//!@SYMTestActions Domain is set to CircuitSwitched using SetLcsDomain(). Register to be notified of incoming measurement control request and MOLR request using NotifyMeasurementControl() and SendMolr(). Client computes and returns measurement results to TSY using SendMeasurementReport(). |
|
134 |
//!@SYMTestExpectedResults Client is notified of incoming measurement control and MOLR requests. Measurement request completes successfully and Molr request completes successfully with KErrNone |
|
135 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementControl |
|
136 |
RUN_TEST_STEP 10 Te_EtelMM SendMolr z:\testdata\configs\TE_mmLocationServices.ini CircuitSwitchedDomain |
|
137 |
RUN_TEST_STEP 10 Te_EtelMM SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementReport |
|
138 |
END_TESTCASE TEL-ETELMM-LCS-2048 |
|
139 |
||
140 |
||
141 |
START_TESTCASE TEL-ETELMM-LCS-2049 |
|
142 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2049 |
|
143 |
//!@SYMREQ REQ6239 |
|
144 |
//!@SYMTestPriority Critical |
|
145 |
//!@SYMTestCaseDesc Unsuccessful MO-LR - with invalid data |
|
146 |
//!@SYMTestActions Register to be notified of incoming MOLR request using SendMolr(). Invalid client ID is passed. MOLR completes with error in the return result. |
|
147 |
//!@SYMTestExpectedResults Client is notified of incoming location requests and request completed with error EMolrUnexpectedDataValue |
|
148 |
RUN_TEST_STEP 10 Te_EtelMM SendMolr z:\testdata\configs\TE_mmLocationServices.ini InvalidMolrID |
|
149 |
END_TESTCASE TEL-ETELMM-LCS-2049 |
|
150 |
||
151 |
||
152 |
START_TESTCASE TEL-ETELMM-LCS-2050 |
|
153 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2050 |
|
154 |
//!@SYMREQ REQ6239 |
|
155 |
//!@SYMTestPriority Critical |
|
156 |
//!@SYMTestCaseDesc Unsuccessfull MTLR - incomplete measurement control data |
|
157 |
//!@SYMTestActions Register to be notified of incoming MT-LR request and Register to be notified of incoming Measurement control request. Send Measurment report containing incomplete data. Re-post measurement control requesting for missing data. Send Measurement report containing complete data |
|
158 |
//!@SYMTestExpectedResults Client is notified of incoming location requests. Measurement control holds complete data |
|
159 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyLocationAllowed |
|
160 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
161 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini IncompleteMeasurementControl |
|
162 |
RUN_TEST_STEP 10 Te_EtelMM SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini IncompleteMeasurementReport |
|
163 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementControl |
|
164 |
RUN_TEST_STEP 10 Te_EtelMM SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementReport |
|
165 |
END_TESTCASE TEL-ETELMM-LCS-2050 |
|
166 |
||
167 |
||
168 |
START_TESTCASE TEL-ETELMM-LCS-2051 |
|
169 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2051 |
|
170 |
//!@SYMREQ REQ6239 |
|
171 |
//!@SYMTestPriority Critical |
|
172 |
//!@SYMTestCaseDesc Issue MTLR request - Client denies permission |
|
173 |
//!@SYMTestActions Register to be notified of incoming MT-LR request. Register to be notified of incoming Measurement control request. Client denies permission. MTLR Response sent. Send Measurement report containing error element |
|
174 |
//!@SYMTestExpectedResults Client is notified of incoming location requests. MTLR and MeasurementControl requests completes succesfully. MTLR response is EPermission Denied. Measurement Report contain error ERequestDeniedByUser |
|
175 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyLocationAllowed |
|
176 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionDenied |
|
177 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementControl |
|
178 |
RUN_TEST_STEP 10 Te_EtelMM SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini MeasurementReportDeniedByUser |
|
179 |
END_TESTCASE TEL-ETELMM-LCS-2051 |
|
180 |
||
181 |
||
182 |
START_TESTCASE TEL-ETELMM-LCS-2052 |
|
183 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2052 |
|
184 |
//!@SYMREQ REQ6239 |
|
185 |
//!@SYMTestPriority Critical |
|
186 |
//!@SYMTestCaseDesc Issue MT-LR request for notification type ENotifyAndVerify_LocationAllowedIfNoResponse and Client denies Permission |
|
187 |
//!@SYMTestActions Register to be notified of incoming MT-LR request using NotifyMTLR(). Client denies the request. Response is sent back from client using SendMtlrResponse(). |
|
188 |
//!@SYMTestExpectedResults Client is notified of incoming location requests. Notification type is ENotifyAndVerify_LocationAllowedIfNoResponse. MTLR response is EPermissionDenied |
|
189 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyAndVerifyLocationAllowedIfNoResponse |
|
190 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionDenied |
|
191 |
END_TESTCASE TEL-ETELMM-LCS-2052 |
|
192 |
||
193 |
||
194 |
START_TESTCASE TEL-ETELMM-LCS-2053 |
|
195 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2053 |
|
196 |
//!@SYMREQ REQ6239 |
|
197 |
//!@SYMTestPriority Critical |
|
198 |
//!@SYMTestCaseDesc Issue MT-LR request for notification type ENotifyAndVerify_LocationNotAllowedIfNoResponse and Client grants permission |
|
199 |
//!@SYMTestActions Register to be notified of incoming MT-LR request using NotifyMTLR(). Client authorize the request. Response is sent back from client using SendMtlrResponse(). |
|
200 |
//!@SYMTestExpectedResults Client is notified of incoming location requests. Notification type is ENotifyAndVerify_LocationNotAllowedIfNoResponse. MTLR response is either EPermissionGranted |
|
201 |
RUN_TEST_STEP 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyAndVerifyLocationNotAllowedIfNoResponse |
|
202 |
RUN_TEST_STEP 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
203 |
END_TESTCASE TEL-ETELMM-LCS-2053 |
|
204 |
||
205 |
||
206 |
START_TESTCASE TEL-ETELMM-LCS-2054 |
|
207 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2054 |
|
208 |
//!@SYMREQ REQ6242 |
|
209 |
//!@SYMTestCaseDesc To check even under low memory condition of default Etel process heap,the APIs using reserved heap doesn’t fail |
|
210 |
//!@SYMTestPriority Critical |
|
211 |
//!@SYMTestActions Call SetEmergencyClient API to preallocate the heap memory for handling Emergency Mobile Terminated Location service request, then call __DbgFailNext macro with a parameter telling in which allocation of default process heap memory it has to fail and then call the LBS notification APIs NotifyMtlr. |
|
212 |
//!@SYMTestExpectedResults SetEmergencyClient API preallocate heap memory and NotifyMtlr API pass successfully |
|
213 |
//!@SYMTestType CT |
|
214 |
RUN_TEST_STEP 10 Te_EtelMM TestMMSetEmgClientLcsReqPreallocHeap |
|
215 |
END_TESTCASE TEL-ETELMM-LCS-2054 |
|
216 |
||
217 |
||
218 |
START_TESTCASE TEL-ETELMM-LCS-2055 |
|
219 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2055 |
|
220 |
//!@SYMREQ REQ6242 |
|
221 |
//!@SYMTestCaseDesc Combination test -SetEmergencyClient API (with LCS request) and SetPriorityClient API. |
|
222 |
//!@SYMTestPriority Critical |
|
223 |
//!@SYMTestActions Call SetEmergencyClient API (which preallocate the heap memory for handling Emergency Mobile Terminated Location service request) followed by SetPriorityClient API, then call __DbgFailNext macro and LBS notification API NotifyMtlr. |
|
224 |
//!@SYMTestExpectedResults SetEmergencyClient and SetPriorityClient API preallocate heap memory and NotifyMtlr API pass successfully |
|
225 |
//!@SYMTestType CT |
|
226 |
RUN_TEST_STEP 10 Te_EtelMM TestMMSetEmgClientLcsReqAndSetPrClient |
|
227 |
END_TESTCASE TEL-ETELMM-LCS-2055 |
|
228 |
||
229 |
||
230 |
START_TESTCASE TEL-ETELMM-LCS-2056 |
|
231 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2056 |
|
232 |
//!@SYMREQ REQ6242 |
|
233 |
//!@SYMTestCaseDesc Ensure preallocated heap is sufficient for the Location Based Services |
|
234 |
//!@SYMTestPriority Critical |
|
235 |
//!@SYMTestActions Call SetEmergencyClient API (which preallocate the heap memory for handling Emergency Voice call request) followed by SetPriorityClient API, then call __DbgFailNext macro and LBS notification APIs NotifyMtlr, NotifyMeasurementcontrol, SendMtlrResponse, MeasurementReport. |
|
236 |
//!@SYMTestExpectedResults SetEmergencyClient API preallocate heap memory and the APIS NotifyMtlr,SendMtlrResponse,NotifyMeasurementControl,SendMeasurementReport API pass sucessfully |
|
237 |
//!@SYMTestType CT |
|
238 |
RUN_TEST_STEP 10 Te_EtelMM TestMMSetEmgClientHeapSuffForLBS |
|
239 |
END_TESTCASE TEL-ETELMM-LCS-2056 |
|
240 |
||
241 |
||
242 |
START_TESTCASE TEL-ETELMM-LCS-2057 |
|
243 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2057 |
|
244 |
//!@SYMREQ REQ6242 |
|
245 |
//!@SYMTestCaseDesc Call to LBS APIs with out LBS Open API. |
|
246 |
//!@SYMTestPriority Critical |
|
247 |
//!@SYMTestActions With out LBS open API call the other APIS NotifyMtlr,SendMtlrResponse,NotifyMeasurementControl,SendMeasurementReport. |
|
248 |
//!@SYMTestExpectedResults All the LBS APIs NotifyMtlr,SendMtlrResponse,NotifyMeasurementControl,SendMeasurementReport API fails |
|
249 |
//!@SYMTestType CT |
|
250 |
RUN_TEST_STEP !PanicCode=8 !PanicString=Etel 10 Te_EtelMM NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyLocationAllowedWithoutOpenCall |
|
251 |
RUN_TEST_STEP !PanicCode=8 !PanicString=Etel 10 Te_EtelMM SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGrantedWithoutOpenCall |
|
252 |
RUN_TEST_STEP !PanicCode=8 !PanicString=Etel 10 Te_EtelMM NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementControlWithoutOpenCall |
|
253 |
RUN_TEST_STEP !PanicCode=8 !PanicString=Etel 10 Te_EtelMM SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementReportWithoutOpenCall |
|
254 |
END_TESTCASE TEL-ETELMM-LCS-2057 |
|
255 |
||
256 |
START_TESTCASE TEL-ETELMM-LCS-2061 |
|
257 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2061 |
|
258 |
//!@SYMREQ REQ10754 |
|
259 |
//!@SYMTestPriority Critical |
|
260 |
//!@SYMTestCaseDesc Issue request for notification of UE Positioning Data reset message received from the network. |
|
261 |
//!@SYMTestActions Register a Notify on a UePositioning reset. |
|
262 |
//!@SYMTestExpectedResults Client is notified of incoming UE Positioning data reset request. Positioning technology is KUePosTechnologyAGPS. |
|
263 |
RUN_TEST_STEP 10 Te_EtelMM TestNotifyUePositioningReset |
|
264 |
END_TESTCASE TEL-ETELMM-LCS-2061 |
|
265 |
||
266 |
||
267 |
START_TESTCASE TEL-ETELMM-LCS-2058 |
|
268 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2058 |
|
269 |
//!@SYMREQ REQ6239 |
|
270 |
//!@SYMTestCaseDesc Call to LBS Open API with different SID. |
|
271 |
//!@SYMTestPriority Critical |
|
272 |
//!@SYMTestActions Call the LBS Open API with Different SID then call the LBS APIs NotifyMtlr,NotifyMeasurementcontrol,SendMtlrResponse, MeasurementReport. |
|
273 |
//!@SYMTestExpectedResults Open API has to fail,and all the LBS APIs NotifyMtlr,NotifyMeasurementcontrol, SendMtlrResponse, MeasurementReport fail. |
|
274 |
//!@SYMTestType CT |
|
275 |
PRINT -------- Testing LBS Open API with different SID,SID set to 123456 |
|
276 |
RUN_PROGRAM -1 setcap.exe Te_EtelMM.exe 00000000 -SID 1234567 Te_EtelMM_cap3.exe |
|
277 |
PRINT -------- SID set to 123456 |
|
278 |
LOAD_SUITE Te_EtelMM_cap3 |
|
279 |
||
280 |
RUN_TEST_STEP !PanicCode=8 !PanicString=Etel 10 Te_EtelMM_cap3 NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyLocationAllowed |
|
281 |
RUN_TEST_STEP !PanicCode=8 !PanicString=Etel 10 Te_EtelMM_cap3 SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
282 |
RUN_TEST_STEP !PanicCode=8 !PanicString=Etel 10 Te_EtelMM_cap3 NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementControl |
|
283 |
RUN_TEST_STEP !PanicCode=8 !PanicString=Etel 10 Te_EtelMM_cap3 SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementReport |
|
284 |
END_TESTCASE TEL-ETELMM-LCS-2058 |
|
285 |
||
286 |
||
287 |
START_TESTCASE TEL-ETELMM-LCS-2059 |
|
288 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2059 |
|
289 |
//!@SYMREQ REQ6239 |
|
290 |
//!@SYMTestCaseDesc Call to LBS Open API with same SID. |
|
291 |
//!@SYMTestPriority Critical |
|
292 |
//!@SYMTestActions Call the LBS Open API with same SID then call the LBS APIs NotifyMtlr,NotifyMeasurementcontrol,SendMtlrResponse, MeasurementReport. |
|
293 |
//!@SYMTestExpectedResults Open API has to Pass,and all the LBS APIs NotifyMtlr,NotifyMeasurementcontrol, SendMtlrResponse, MeasurementReport has to pass. |
|
294 |
//!@SYMTestType CT |
|
295 |
PRINT -------- Testing LBS Open API with required SID |
|
296 |
RUN_PROGRAM -1 setcap.exe Te_EtelMM.exe 00000000 Te_EtelMM_cap11.exe |
|
297 |
PRINT -------- SID now set to 0x10281806 |
|
298 |
LOAD_SUITE Te_EtelMM_cap11 |
|
299 |
||
300 |
RUN_TEST_STEP 10 Te_EtelMM_cap11 NotifyMtlr z:\testdata\configs\TE_mmLocationServices.ini NotifyLocationAllowed |
|
301 |
RUN_TEST_STEP 10 Te_EtelMM_cap11 SendMtlrResponse z:\testdata\configs\TE_mmLocationServices.ini MtlrPermissionGranted |
|
302 |
RUN_TEST_STEP 10 Te_EtelMM_cap11 NotifyMeasurementControl z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementControl |
|
303 |
RUN_TEST_STEP 10 Te_EtelMM_cap11 SendMeasurementReport z:\testdata\configs\TE_mmLocationServices.ini CompleteMeasurementReport |
|
304 |
END_TESTCASE TEL-ETELMM-LCS-2059 |
|
305 |
||
306 |
START_TESTCASE TEL-ETELMM-LCS-2060 |
|
307 |
//!@SYMTestCaseID TEL-ETELMM-LCS-2060 |
|
308 |
//!@SYMPREQ REQ6242 |
|
309 |
//!@SYMTestCaseDesc Combination test - SetPriorityClientV2 API and SetEmergencyClient API. |
|
310 |
//!@SYMTestPriority High |
|
311 |
//!@SYMTestActions Call SetPriorityClientV2 API followed by SetEmergencyClient API(which preallocate the heap memory for handling Emergency Voice request), then call __DbgFailNext macro with a parameter telling in which allocation of memory it has to fail and then call NotifyMtlr API. |
|
312 |
//!@SYMTestExpectedResults As NotifyMtlr API using reserved heap it has to pass in OOM condition. |
|
313 |
//!@SYMTestType CT |
|
314 |
RUN_TEST_STEP 300 Te_EtelMM TestMMSetPrClientV2AndSetEmgClientLcsReq |
|
315 |
||
0
3553901f7fa8
Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
316 |
END_TESTCASE TEL-ETELMM-LCS-2060 |