24
|
1 |
// Copyright (c) 2002-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 |
#include "Te_EtelSatTestStepBase.h"
|
|
17 |
#include "TE_EtelSatpcmds1c.h"
|
|
18 |
|
|
19 |
CTestSatPCmds1c::CTestSatPCmds1c()
|
|
20 |
/** Each test step initialises it's own name
|
|
21 |
*/
|
|
22 |
{
|
|
23 |
// store the name of this test case
|
|
24 |
// this is the name that is used by the script file
|
|
25 |
SetTestStepName(_L("TestSatPCmds1c"));
|
|
26 |
}
|
|
27 |
|
|
28 |
enum TVerdict CTestSatPCmds1c::doTestStepL()
|
|
29 |
{
|
|
30 |
INFO_PRINTF1(_L("***********************************************"));
|
|
31 |
INFO_PRINTF1(_L("RSat Proactive Commands Functionality suite - 2"));
|
|
32 |
INFO_PRINTF1(_L("***********************************************"));
|
|
33 |
|
|
34 |
TInt ret=phone.Open(iTelServer,DSATTSY_PHONE_NAME);
|
|
35 |
TEST(ret==KErrNone);
|
|
36 |
|
|
37 |
ret=sat.Open(phone);
|
|
38 |
TEST(ret==KErrNone);
|
|
39 |
|
|
40 |
// Send DTMF with V1
|
|
41 |
RSat::TSendDtmfV1* sendDtmf = new (ELeave) RSat::TSendDtmfV1;
|
|
42 |
CleanupStack::PushL(sendDtmf);
|
|
43 |
RSat::TSendDtmfV1Pckg* sendDtmfPckg = new (ELeave) RSat::TSendDtmfV1Pckg(*sendDtmf);
|
|
44 |
CleanupStack::PushL(sendDtmfPckg);
|
|
45 |
|
|
46 |
sat.NotifySendDtmfPCmd(reqStatus,*sendDtmfPckg);
|
|
47 |
User::WaitForRequest(reqStatus);
|
|
48 |
TEST(reqStatus.Int()==KErrNone);
|
|
49 |
|
|
50 |
TEST(sendDtmf->PCmdNumber()==DSATTSY_SEND_DTMF_NUMBER);
|
|
51 |
|
|
52 |
TEST(sendDtmf->iAlphaId.iStatus==DSATTSY_ALPHA_ID1_STATUS);
|
|
53 |
TEST(sendDtmf->iAlphaId.iAlphaId==DSATTSY_ALPHA_ID1);
|
|
54 |
TEST(sendDtmf->iDtmfString==DSATTSY_DTMF_STRING);
|
|
55 |
TEST(sendDtmf->iIconId.iIdentifier==DSATTSY_ICON_ID1);
|
|
56 |
TEST(sendDtmf->iIconId.iQualifier==DSATTSY_ICON_QUALIFIER1);
|
|
57 |
INFO_PRINTF2(_L("Test %d - RSat::NotifySendDtmfPCmd with RSat::TSendDtmfV1 passed"),iTestCount++);
|
|
58 |
|
|
59 |
// Send DTMF Cancel with V1
|
|
60 |
sat.NotifySendDtmfPCmd(reqStatus,*sendDtmfPckg);
|
|
61 |
sat.CancelAsyncRequest(ESatNotifySendDtmfPCmd);
|
|
62 |
|
|
63 |
User::WaitForRequest(reqStatus);
|
|
64 |
TEST(reqStatus.Int()==KErrCancel);
|
|
65 |
INFO_PRINTF2(_L("Test %d - RSat::NotifySendDtmfPCmdCancel with RSat::TSendDtmfV1 passed"),iTestCount++);
|
|
66 |
|
|
67 |
// Send DTMF with V5
|
|
68 |
RSat::TSendDtmfV5* sendDtmfV5 = new (ELeave) RSat::TSendDtmfV5;
|
|
69 |
CleanupStack::PushL(sendDtmfV5);
|
|
70 |
RSat::TSendDtmfV5Pckg* sendDtmfV5Pckg = new (ELeave) RSat::TSendDtmfV5Pckg(*sendDtmfV5);
|
|
71 |
CleanupStack::PushL(sendDtmfV5Pckg);
|
|
72 |
|
|
73 |
TEST(sendDtmfV5->ExtensionId() == RSat::KSatV5);
|
|
74 |
TEST(sendDtmfV5->iTextAttribute.iStatus == RSat::ETextAttributeNotSet);
|
|
75 |
|
|
76 |
sat.NotifySendDtmfPCmd(reqStatus,*sendDtmfV5Pckg);
|
|
77 |
User::WaitForRequest(reqStatus);
|
|
78 |
TEST(reqStatus.Int()==KErrNone);
|
|
79 |
|
|
80 |
TEST(sendDtmfV5->PCmdNumber()==DSATTSY_SEND_DTMF_NUMBER);
|
|
81 |
|
|
82 |
TEST(sendDtmfV5->iAlphaId.iStatus==DSATTSY_ALPHA_ID1_STATUS);
|
|
83 |
TEST(sendDtmfV5->iAlphaId.iAlphaId==DSATTSY_ALPHA_ID1);
|
|
84 |
TEST(sendDtmfV5->iDtmfString==DSATTSY_DTMF_STRING);
|
|
85 |
TEST(sendDtmfV5->iIconId.iIdentifier==DSATTSY_ICON_ID1);
|
|
86 |
TEST(sendDtmfV5->iIconId.iQualifier==DSATTSY_ICON_QUALIFIER1);
|
|
87 |
// V5 parameters
|
|
88 |
RSat::TTextAttribute textAttribute;
|
|
89 |
textAttribute.iStatus = DSATTSY_TEXT_ATTRIBUTE_STATUS;
|
|
90 |
const TUint8 textAttributeData[DSATTSY_TEXT_ATTRIBUTE_DATA_LENGTH] = DSATTSY_TEXT_ATTRIBUTE_DATA;
|
|
91 |
textAttribute.iTextAttributeData.Append(textAttributeData, DSATTSY_TEXT_ATTRIBUTE_DATA_LENGTH);
|
|
92 |
|
|
93 |
TEST(sendDtmfV5->iTextAttribute.iStatus == textAttribute.iStatus);
|
|
94 |
TEST(sendDtmfV5->iTextAttribute.iTextAttributeData == textAttribute.iTextAttributeData);
|
|
95 |
|
|
96 |
INFO_PRINTF2(_L("Test %d - RSat::NotifySendDtmfPCmd with RSat::TSendDtmfV5 passed"),iTestCount++);
|
|
97 |
|
|
98 |
// Send DTMF Cancel with V5
|
|
99 |
sat.NotifySendDtmfPCmd(reqStatus,*sendDtmfV5Pckg);
|
|
100 |
sat.CancelAsyncRequest(ESatNotifySendDtmfPCmd);
|
|
101 |
|
|
102 |
User::WaitForRequest(reqStatus);
|
|
103 |
TEST(reqStatus.Int()==KErrCancel);
|
|
104 |
INFO_PRINTF2(_L("Test %d - RSat::NotifySendDtmfPCmdCancel with RSat::TSendDtmfV5 passed"),iTestCount++);
|
|
105 |
|
|
106 |
// Send Dtmf Terminal Rsp
|
|
107 |
sat.NotifySendDtmfPCmd(reqStatus,*sendDtmfPckg);
|
|
108 |
User::WaitForRequest(reqStatus);
|
|
109 |
TEST(reqStatus.Int()==KErrNone);
|
|
110 |
|
|
111 |
RSat::TSendDtmfRspV1* sendDtmfRsp = new (ELeave) RSat::TSendDtmfRspV1;
|
|
112 |
CleanupStack::PushL(sendDtmfRsp);
|
|
113 |
RSat::TSendDtmfRspV1Pckg* sendDtmfRspPckg = new (ELeave) RSat::TSendDtmfRspV1Pckg(*sendDtmfRsp);
|
|
114 |
CleanupStack::PushL(sendDtmfRspPckg);
|
|
115 |
|
|
116 |
sendDtmfRsp->SetPCmdNumber(sendDtmf->PCmdNumber());
|
|
117 |
sendDtmfRsp->iGeneralResult=DSATTSY_PCMD_RESULT_SUCCESS;
|
|
118 |
sendDtmfRsp->iInfoType=DSATTSY_PCMD_RSP_NO_INFO;
|
|
119 |
sendDtmfRsp->iAdditionalInfo=DSATTSY_NULL_BUF;
|
|
120 |
|
|
121 |
sat.TerminalRsp(reqStatus,RSat::ESendDtmf,*sendDtmfRspPckg);
|
|
122 |
User::WaitForRequest(reqStatus);
|
|
123 |
TEST(reqStatus.Int()==KErrNone);
|
|
124 |
INFO_PRINTF2(_L("Test %d - RSat::TerminalRsp - Send DTMF - passed"),iTestCount++);
|
|
125 |
|
|
126 |
CleanupStack::PopAndDestroy(6, sendDtmf);
|
|
127 |
|
|
128 |
// Perform Card APDU
|
|
129 |
RSat::TPerformCardApduV2* performCardApdu = new (ELeave) RSat::TPerformCardApduV2;
|
|
130 |
CleanupStack::PushL(performCardApdu);
|
|
131 |
RSat::TPerformCardApduV2Pckg* performCardApduPckg = new (ELeave) RSat::TPerformCardApduV2Pckg(*performCardApdu);
|
|
132 |
CleanupStack::PushL(performCardApduPckg);
|
|
133 |
|
|
134 |
sat.NotifyPerformCardApduPCmd(reqStatus,*performCardApduPckg);
|
|
135 |
User::WaitForRequest(reqStatus);
|
|
136 |
TEST(reqStatus.Int()==KErrNone);
|
|
137 |
|
|
138 |
TEST(performCardApdu->PCmdNumber()==DSATTSY_PERFORM_CARD_APDU_NUMBER);
|
|
139 |
|
|
140 |
TEST(performCardApdu->iDestination==DSATTSY_CARD_READER_1);
|
|
141 |
TEST(performCardApdu->iCApdu.iCla==DSATTSY_CLA);
|
|
142 |
TEST(performCardApdu->iCApdu.iIns==DSATTSY_INS);
|
|
143 |
TEST(performCardApdu->iCApdu.iLc==DSATTSY_LC);
|
|
144 |
TEST(performCardApdu->iCApdu.iLe==DSATTSY_LE);
|
|
145 |
TEST(performCardApdu->iCApdu.iP1==DSATTSY_P1);
|
|
146 |
TEST(performCardApdu->iCApdu.iP2==DSATTSY_P2);
|
|
147 |
TEST(performCardApdu->iCApdu.iData==DSATTSY_CAPDU);
|
|
148 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyPerformCardApduPCmd passed"),iTestCount++);
|
|
149 |
|
|
150 |
// Perform Card APDU Cancel
|
|
151 |
sat.NotifyPerformCardApduPCmd(reqStatus,*performCardApduPckg);
|
|
152 |
sat.CancelAsyncRequest(ESatNotifyPerformCardApduPCmd);
|
|
153 |
|
|
154 |
User::WaitForRequest(reqStatus);
|
|
155 |
TEST(reqStatus.Int()==KErrCancel);
|
|
156 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyPerformCardApduCancel passed"),iTestCount++);
|
|
157 |
|
|
158 |
// Perform Card APDU Terminal Rsp
|
|
159 |
sat.NotifyPerformCardApduPCmd(reqStatus,*performCardApduPckg);
|
|
160 |
User::WaitForRequest(reqStatus);
|
|
161 |
TEST(reqStatus.Int()==KErrNone);
|
|
162 |
|
|
163 |
RSat::TPerformCardApduRspV2* performCardApduRsp = new (ELeave) RSat::TPerformCardApduRspV2;
|
|
164 |
CleanupStack::PushL(performCardApduRsp);
|
|
165 |
RSat::TPerformCardApduRspV2Pckg* performCardApduRspPckg = new (ELeave) RSat::TPerformCardApduRspV2Pckg(*performCardApduRsp);
|
|
166 |
CleanupStack::PushL(performCardApduRspPckg);
|
|
167 |
|
|
168 |
performCardApduRsp->SetPCmdNumber(performCardApdu->PCmdNumber());
|
|
169 |
performCardApduRsp->iGeneralResult=DSATTSY_PCMD_RESULT_SUCCESS;
|
|
170 |
performCardApduRsp->iInfoType=DSATTSY_PCMD_RSP_NO_INFO;
|
|
171 |
performCardApduRsp->iAdditionalInfo=DSATTSY_NULL_BUF;
|
|
172 |
|
|
173 |
sat.TerminalRsp(reqStatus,RSat::EPerformCardApdu,*performCardApduRspPckg);
|
|
174 |
User::WaitForRequest(reqStatus);
|
|
175 |
TEST(reqStatus.Int()==KErrNone);
|
|
176 |
INFO_PRINTF2(_L("Test %d - RSat::TerminalRsp - Perform Card APDU - passed"),iTestCount++);
|
|
177 |
|
|
178 |
CleanupStack::PopAndDestroy(4, performCardApdu);
|
|
179 |
|
|
180 |
ExtendedTest1(reqStatus);
|
|
181 |
|
|
182 |
sat.Close();
|
|
183 |
phone.Close();
|
|
184 |
|
|
185 |
return TestStepResult();
|
|
186 |
}
|
|
187 |
|
|
188 |
// Further tests, seperated to prevent stack overflow
|
|
189 |
void CTestSatPCmds1c::ExtendedTest1(TRequestStatus& reqStatus)
|
|
190 |
{
|
|
191 |
// Notify Power Off Card
|
|
192 |
RSat::TPowerOffCardV2 powerOffCard;
|
|
193 |
RSat::TPowerOffCardV2Pckg powerOffCardPckg(powerOffCard);
|
|
194 |
|
|
195 |
sat.NotifyPowerOffCardPCmd(reqStatus,powerOffCardPckg);
|
|
196 |
User::WaitForRequest(reqStatus);
|
|
197 |
TEST(reqStatus.Int()==KErrNone);
|
|
198 |
|
|
199 |
TEST(powerOffCard.PCmdNumber()==DSATTSY_POWER_OFF_CARD_NUMBER);
|
|
200 |
TEST(powerOffCard.iDestination==DSATTSY_CARD_READER_1);
|
|
201 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyPowerOffCardPCmd passed"),iTestCount++);
|
|
202 |
|
|
203 |
// Power Off Card Cancel
|
|
204 |
sat.NotifyPowerOffCardPCmd(reqStatus,powerOffCardPckg);
|
|
205 |
sat.CancelAsyncRequest(ESatNotifyPowerOffCardPCmd);
|
|
206 |
|
|
207 |
User::WaitForRequest(reqStatus);
|
|
208 |
TEST(reqStatus.Int()==KErrCancel);
|
|
209 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyPowerOffCardPCmdCancel passed"),iTestCount++);
|
|
210 |
|
|
211 |
// Power Off Card Terminal Rsp
|
|
212 |
sat.NotifyPowerOffCardPCmd(reqStatus,powerOffCardPckg);
|
|
213 |
User::WaitForRequest(reqStatus);
|
|
214 |
TEST(reqStatus.Int()==KErrNone);
|
|
215 |
|
|
216 |
RSat::TPowerOffCardRspV2 powerOffCardRsp;
|
|
217 |
RSat::TPowerOffCardRspV2Pckg powerOffCardRspPckg(powerOffCardRsp);
|
|
218 |
|
|
219 |
powerOffCardRsp.SetPCmdNumber(powerOffCard.PCmdNumber());
|
|
220 |
powerOffCardRsp.iGeneralResult=DSATTSY_PCMD_RESULT_SUCCESS;
|
|
221 |
powerOffCardRsp.iInfoType=DSATTSY_PCMD_RSP_NO_INFO;
|
|
222 |
powerOffCardRsp.iAdditionalInfo=DSATTSY_NULL_BUF;
|
|
223 |
|
|
224 |
sat.TerminalRsp(reqStatus,RSat::EPowerOffCard,powerOffCardRspPckg);
|
|
225 |
User::WaitForRequest(reqStatus);
|
|
226 |
TEST(reqStatus.Int()==KErrNone);
|
|
227 |
INFO_PRINTF2(_L("Test %d - RSat::TerminalRsp - Power Off Card - passed"),iTestCount++);
|
|
228 |
|
|
229 |
// Power On Card
|
|
230 |
RSat::TPowerOnCardV2 powerOnCard;
|
|
231 |
RSat::TPowerOnCardV2Pckg powerOnCardPckg(powerOnCard);
|
|
232 |
|
|
233 |
sat.NotifyPowerOnCardPCmd(reqStatus,powerOnCardPckg);
|
|
234 |
User::WaitForRequest(reqStatus);
|
|
235 |
TEST(reqStatus.Int()==KErrNone);
|
|
236 |
|
|
237 |
TEST(powerOnCard.PCmdNumber()==DSATTSY_POWER_ON_CARD_NUMBER);
|
|
238 |
TEST(powerOnCard.iDestination==DSATTSY_CARD_READER_1);
|
|
239 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyPowerOnCardPCmd passed"),iTestCount++);
|
|
240 |
|
|
241 |
// Power On Card Cancel
|
|
242 |
sat.NotifyPowerOnCardPCmd(reqStatus,powerOnCardPckg);
|
|
243 |
sat.CancelAsyncRequest(ESatNotifyPowerOnCardPCmd);
|
|
244 |
|
|
245 |
User::WaitForRequest(reqStatus);
|
|
246 |
TEST(reqStatus.Int()==KErrCancel);
|
|
247 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyPowerOnCardPCmdCancel passed"),iTestCount++);
|
|
248 |
|
|
249 |
// Power On Card Terminal Rsp
|
|
250 |
sat.NotifyPowerOnCardPCmd(reqStatus,powerOnCardPckg);
|
|
251 |
User::WaitForRequest(reqStatus);
|
|
252 |
TEST(reqStatus.Int()==KErrNone);
|
|
253 |
|
|
254 |
RSat::TPowerOnCardRspV2 powerOnCardRsp;
|
|
255 |
RSat::TPowerOnCardRspV2Pckg powerOnCardRspPckg(powerOnCardRsp);
|
|
256 |
|
|
257 |
powerOnCardRsp.SetPCmdNumber(powerOnCard.PCmdNumber());
|
|
258 |
powerOnCardRsp.iGeneralResult=DSATTSY_PCMD_RESULT_SUCCESS;
|
|
259 |
powerOnCardRsp.iInfoType=DSATTSY_PCMD_RSP_NO_INFO;
|
|
260 |
powerOnCardRsp.iAdditionalInfo=DSATTSY_NULL_BUF;
|
|
261 |
|
|
262 |
sat.TerminalRsp(reqStatus,RSat::EPowerOnCard,powerOnCardRspPckg);
|
|
263 |
User::WaitForRequest(reqStatus);
|
|
264 |
TEST(reqStatus.Int()==KErrNone);
|
|
265 |
INFO_PRINTF2(_L("Test %d - RSat::TerminalRsp - Power On Card - passed"),iTestCount++);
|
|
266 |
|
|
267 |
// Get Reader Status
|
|
268 |
RSat::TGetReaderStatusV2 getReaderStatus;
|
|
269 |
RSat::TGetReaderStatusV2Pckg getReaderStatusPckg(getReaderStatus);
|
|
270 |
|
|
271 |
sat.NotifyGetReaderStatusPCmd(reqStatus,getReaderStatusPckg);
|
|
272 |
User::WaitForRequest(reqStatus);
|
|
273 |
TEST(reqStatus.Int()==KErrNone);
|
|
274 |
|
|
275 |
TEST(getReaderStatus.PCmdNumber()==DSATTSY_GET_READER_STATUS_NUMBER);
|
|
276 |
TEST(getReaderStatus.iDestination==DSATTSY_CARD_READER_1);
|
|
277 |
TEST(getReaderStatus.iMode==DSATTSY_GET_READER_STATUS_MODE);
|
|
278 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyGetReaderStatusPCmd passed"),iTestCount++);
|
|
279 |
|
|
280 |
// Get Reader Status Cancel
|
|
281 |
sat.NotifyGetReaderStatusPCmd(reqStatus,getReaderStatusPckg);
|
|
282 |
sat.CancelAsyncRequest(ESatNotifyGetReaderStatusPCmd);
|
|
283 |
|
|
284 |
User::WaitForRequest(reqStatus);
|
|
285 |
TEST(reqStatus.Int()==KErrCancel);
|
|
286 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyGetReaderStatusPCmdCancel passed"),iTestCount++);
|
|
287 |
|
|
288 |
// Get Reader Status Terminal Rsp
|
|
289 |
sat.NotifyGetReaderStatusPCmd(reqStatus,getReaderStatusPckg);
|
|
290 |
User::WaitForRequest(reqStatus);
|
|
291 |
TEST(reqStatus.Int()==KErrNone);
|
|
292 |
|
|
293 |
RSat::TGetReaderStatusRspV2 getReaderStatusRsp;
|
|
294 |
RSat::TGetReaderStatusRspV2Pckg getReaderStatusRspPckg(getReaderStatusRsp);
|
|
295 |
|
|
296 |
getReaderStatusRsp.SetPCmdNumber(getReaderStatus.PCmdNumber());
|
|
297 |
getReaderStatusRsp.iGeneralResult=DSATTSY_PCMD_RESULT_SUCCESS;
|
|
298 |
getReaderStatusRsp.iInfoType=DSATTSY_PCMD_RSP_NO_INFO;
|
|
299 |
getReaderStatusRsp.iAdditionalInfo=DSATTSY_NULL_BUF;
|
|
300 |
getReaderStatusRsp.iMode=DSATTSY_GET_READER_STATUS_MODE;
|
|
301 |
|
|
302 |
sat.TerminalRsp(reqStatus,RSat::EGetReaderStatus,getReaderStatusRspPckg);
|
|
303 |
User::WaitForRequest(reqStatus);
|
|
304 |
TEST(reqStatus.Int()==KErrNone);
|
|
305 |
INFO_PRINTF2(_L("Test %d - RSat::TerminalRsp - Get Reader Status - passed"),iTestCount++);
|
|
306 |
|
|
307 |
ExtendedTest2L(reqStatus);
|
|
308 |
}
|
|
309 |
|
|
310 |
void CTestSatPCmds1c::ExtendedTest2L(TRequestStatus& reqStatus)
|
|
311 |
{
|
|
312 |
// Run At Command with V2
|
|
313 |
RSat::TRunAtCommandV2* runAtCommand = new (ELeave) RSat::TRunAtCommandV2;
|
|
314 |
CleanupStack::PushL(runAtCommand);
|
|
315 |
RSat::TRunAtCommandV2Pckg* runAtCommandPckg = new (ELeave) RSat::TRunAtCommandV2Pckg(*runAtCommand);
|
|
316 |
CleanupStack::PushL(runAtCommandPckg);
|
|
317 |
|
|
318 |
sat.NotifyRunAtCommandPCmd(reqStatus,*runAtCommandPckg);
|
|
319 |
User::WaitForRequest(reqStatus);
|
|
320 |
TEST(reqStatus.Int()==KErrNone);
|
|
321 |
|
|
322 |
TEST(runAtCommand->PCmdNumber()==DSATTSY_RUN_AT_COMMAND_NUMBER);
|
|
323 |
TEST(runAtCommand->iAlphaId.iStatus==DSATTSY_ALPHA_ID1_STATUS);
|
|
324 |
TEST(runAtCommand->iAlphaId.iAlphaId==DSATTSY_ALPHA_ID1);
|
|
325 |
TEST(runAtCommand->iAtCommand==DSATTSY_AT_COMMAND);
|
|
326 |
TEST(runAtCommand->iIconId.iIdentifier==DSATTSY_ICON_ID1);
|
|
327 |
TEST(runAtCommand->iIconId.iQualifier==DSATTSY_ICON_QUALIFIER1);
|
|
328 |
|
|
329 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyRunAtCommandPCmd with RSat::TRunAtCommandV2 passed"),iTestCount++);
|
|
330 |
|
|
331 |
// Run At Command Cancel with V2
|
|
332 |
sat.NotifyRunAtCommandPCmd(reqStatus,*runAtCommandPckg);
|
|
333 |
sat.CancelAsyncRequest(ESatNotifyRunAtCommandPCmd);
|
|
334 |
|
|
335 |
User::WaitForRequest(reqStatus);
|
|
336 |
TEST(reqStatus.Int()==KErrCancel);
|
|
337 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyRunAtCommandPCmdCancel with RSat::TRunAtCommandV2 passed"),iTestCount++);
|
|
338 |
|
|
339 |
// Run At Command with V5
|
|
340 |
RSat::TRunAtCommandV5* runAtCommandV5 = new (ELeave) RSat::TRunAtCommandV5;
|
|
341 |
CleanupStack::PushL(runAtCommandV5);
|
|
342 |
RSat::TRunAtCommandV5Pckg* runAtCommandV5Pckg = new (ELeave) RSat::TRunAtCommandV5Pckg(*runAtCommandV5);
|
|
343 |
CleanupStack::PushL(runAtCommandV5Pckg);
|
|
344 |
|
|
345 |
TEST(runAtCommandV5->ExtensionId() == RSat::KSatV5);
|
|
346 |
TEST(runAtCommandV5->iTextAttribute.iStatus == RSat::ETextAttributeNotSet);
|
|
347 |
|
|
348 |
sat.NotifyRunAtCommandPCmd(reqStatus,*runAtCommandV5Pckg);
|
|
349 |
User::WaitForRequest(reqStatus);
|
|
350 |
TEST(reqStatus.Int()==KErrNone);
|
|
351 |
|
|
352 |
TEST(runAtCommandV5->PCmdNumber()==DSATTSY_RUN_AT_COMMAND_NUMBER);
|
|
353 |
TEST(runAtCommandV5->iAlphaId.iStatus==DSATTSY_ALPHA_ID1_STATUS);
|
|
354 |
TEST(runAtCommandV5->iAlphaId.iAlphaId==DSATTSY_ALPHA_ID1);
|
|
355 |
TEST(runAtCommandV5->iAtCommand==DSATTSY_AT_COMMAND);
|
|
356 |
TEST(runAtCommandV5->iIconId.iIdentifier==DSATTSY_ICON_ID1);
|
|
357 |
TEST(runAtCommandV5->iIconId.iQualifier==DSATTSY_ICON_QUALIFIER1);
|
|
358 |
// Version 5 parameters
|
|
359 |
RSat::TTextAttribute textAttribute;
|
|
360 |
textAttribute.iStatus = DSATTSY_TEXT_ATTRIBUTE_STATUS;
|
|
361 |
const TUint8 textAttributeData[DSATTSY_TEXT_ATTRIBUTE_DATA_LENGTH] = DSATTSY_TEXT_ATTRIBUTE_DATA;
|
|
362 |
textAttribute.iTextAttributeData.Append(textAttributeData, DSATTSY_TEXT_ATTRIBUTE_DATA_LENGTH);
|
|
363 |
|
|
364 |
TEST(runAtCommandV5->iTextAttribute.iStatus == textAttribute.iStatus);
|
|
365 |
TEST(runAtCommandV5->iTextAttribute.iTextAttributeData == textAttribute.iTextAttributeData);
|
|
366 |
|
|
367 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyRunAtCommandPCmd with RSat::TRunAtCommandV5 passed"),iTestCount++);
|
|
368 |
|
|
369 |
// Run At Command Cancel with V2
|
|
370 |
sat.NotifyRunAtCommandPCmd(reqStatus,*runAtCommandV5Pckg);
|
|
371 |
sat.CancelAsyncRequest(ESatNotifyRunAtCommandPCmd);
|
|
372 |
|
|
373 |
User::WaitForRequest(reqStatus);
|
|
374 |
TEST(reqStatus.Int()==KErrCancel);
|
|
375 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyRunAtCommandPCmdCancel with RSat::TRunAtCommandV5 passed"),iTestCount++);
|
|
376 |
|
|
377 |
// Run At Command Terminal Rsp
|
|
378 |
sat.NotifyRunAtCommandPCmd(reqStatus,*runAtCommandPckg);
|
|
379 |
User::WaitForRequest(reqStatus);
|
|
380 |
TEST(reqStatus.Int()==KErrNone);
|
|
381 |
|
|
382 |
RSat::TRunAtCommandRspV2* runAtCommandRsp = new (ELeave) RSat::TRunAtCommandRspV2;
|
|
383 |
CleanupStack::PushL(runAtCommandRsp);
|
|
384 |
RSat::TRunAtCommandRspV2Pckg* runAtCommandRspPckg = new (ELeave) RSat::TRunAtCommandRspV2Pckg(*runAtCommandRsp);
|
|
385 |
CleanupStack::PushL(runAtCommandRspPckg);
|
|
386 |
|
|
387 |
runAtCommandRsp->SetPCmdNumber(runAtCommand->PCmdNumber());
|
|
388 |
runAtCommandRsp->iGeneralResult=DSATTSY_PCMD_RESULT_SUCCESS;
|
|
389 |
runAtCommandRsp->iInfoType=DSATTSY_PCMD_RSP_NO_INFO;
|
|
390 |
runAtCommandRsp->iAdditionalInfo=DSATTSY_NULL_BUF;
|
|
391 |
|
|
392 |
sat.TerminalRsp(reqStatus,RSat::ERunAtCommand,*runAtCommandRspPckg);
|
|
393 |
User::WaitForRequest(reqStatus);
|
|
394 |
TEST(reqStatus.Int()==KErrNone);
|
|
395 |
INFO_PRINTF2(_L("Test %d - RSat::TerminalRsp - Run AT Command - passed"),iTestCount++);
|
|
396 |
|
|
397 |
CleanupStack::PopAndDestroy(6, runAtCommand);
|
|
398 |
|
|
399 |
// Language Notification
|
|
400 |
RSat::TLanguageNotificationV2 languageNotification;
|
|
401 |
RSat::TLanguageNotificationV2Pckg languageNotificationPckg(languageNotification);
|
|
402 |
|
|
403 |
sat.NotifyLanguageNotificationPCmd(reqStatus,languageNotificationPckg);
|
|
404 |
User::WaitForRequest(reqStatus);
|
|
405 |
TEST(reqStatus.Int()==KErrNone);
|
|
406 |
|
|
407 |
TEST(languageNotification.PCmdNumber()==DSATTSY_LANGUAGE_NOTIFICATION_NUMBER);
|
|
408 |
TEST(languageNotification.iNotificationType==DSATTSY_SPECIFIC_LANGUAGE);
|
|
409 |
TEST(languageNotification.iLanguage==DSATTSY_FRENCH);
|
|
410 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyLanguageNotificationPCmd passed"),iTestCount++);
|
|
411 |
|
|
412 |
// Language Notification Cancel
|
|
413 |
sat.NotifyLanguageNotificationPCmd(reqStatus,languageNotificationPckg);
|
|
414 |
sat.CancelAsyncRequest(ESatNotifyLanguageNotificationPCmd);
|
|
415 |
|
|
416 |
User::WaitForRequest(reqStatus);
|
|
417 |
TEST(reqStatus.Int()==KErrCancel);
|
|
418 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyLanguageNotificationPCmdCancel passed"),iTestCount++);
|
|
419 |
|
|
420 |
// Language Notification Terminal Rsp
|
|
421 |
sat.NotifyLanguageNotificationPCmd(reqStatus,languageNotificationPckg);
|
|
422 |
User::WaitForRequest(reqStatus);
|
|
423 |
TEST(reqStatus.Int()==KErrNone);
|
|
424 |
|
|
425 |
RSat::TLanguageNotificationRspV2 languageNotificationRsp;
|
|
426 |
RSat::TLanguageNotificationRspV2Pckg languageNotificationRspPckg(languageNotificationRsp);
|
|
427 |
|
|
428 |
languageNotificationRsp.SetPCmdNumber(languageNotification.PCmdNumber());
|
|
429 |
languageNotificationRsp.iGeneralResult=DSATTSY_PCMD_RESULT_SUCCESS;
|
|
430 |
languageNotificationRsp.iInfoType=DSATTSY_PCMD_RSP_NO_INFO;
|
|
431 |
languageNotificationRsp.iAdditionalInfo=DSATTSY_NULL_BUF;
|
|
432 |
|
|
433 |
sat.TerminalRsp(reqStatus,RSat::ELanguageNotification,languageNotificationRspPckg);
|
|
434 |
User::WaitForRequest(reqStatus);
|
|
435 |
TEST(reqStatus.Int()==KErrNone);
|
|
436 |
INFO_PRINTF2(_L("Test %d - RSat::TerminalRsp - Language Notification - passed"),iTestCount++);
|
|
437 |
|
|
438 |
ExtendedTest3L(reqStatus);
|
|
439 |
}
|
|
440 |
|
|
441 |
// Further tests, seperated to prevent stack overflow
|
|
442 |
void CTestSatPCmds1c::ExtendedTest3L(TRequestStatus& reqStatus)
|
|
443 |
{
|
|
444 |
//
|
|
445 |
// Launch Browser
|
|
446 |
//
|
|
447 |
|
|
448 |
// Test version 2 command
|
|
449 |
RSat::TLaunchBrowserV2* launchBrowser = new (ELeave) RSat::TLaunchBrowserV2;
|
|
450 |
CleanupStack::PushL(launchBrowser);
|
|
451 |
RSat::TLaunchBrowserV2Pckg* launchBrowserPckg = new (ELeave) RSat::TLaunchBrowserV2Pckg(*launchBrowser);
|
|
452 |
CleanupStack::PushL(launchBrowserPckg);
|
|
453 |
|
|
454 |
TestLaunchBrowser(launchBrowserPckg);
|
|
455 |
|
|
456 |
CleanupStack::PopAndDestroy(2, launchBrowser);
|
|
457 |
|
|
458 |
// Continue tests
|
|
459 |
ExtendedTest4L(reqStatus);
|
|
460 |
}
|
|
461 |
|
|
462 |
// Further tests, seperated to prevent stack overflow
|
|
463 |
void CTestSatPCmds1c::ExtendedTest4L(TRequestStatus& reqStatus)
|
|
464 |
{
|
|
465 |
// Test version 5 command
|
|
466 |
RSat::TLaunchBrowserV5* launchBrowserV5 = new (ELeave) RSat::TLaunchBrowserV5;
|
|
467 |
CleanupStack::PushL(launchBrowserV5);
|
|
468 |
RSat::TLaunchBrowserV5Pckg* launchBrowserV5Pckg = new (ELeave) RSat::TLaunchBrowserV5Pckg(*launchBrowserV5);
|
|
469 |
CleanupStack::PushL(launchBrowserV5Pckg);
|
|
470 |
|
|
471 |
TEST(launchBrowserV5->ExtensionId() == RSat::KSatV5);
|
|
472 |
TEST(launchBrowserV5->iTextAttribute.iStatus == RSat::ETextAttributeNotSet);
|
|
473 |
TestLaunchBrowser(launchBrowserV5Pckg);
|
|
474 |
|
|
475 |
// Launch Browser Terminal Rsp
|
|
476 |
RSat::TLaunchBrowserV2* launchBrowser = new (ELeave) RSat::TLaunchBrowserV2;
|
|
477 |
CleanupStack::PushL(launchBrowser);
|
|
478 |
RSat::TLaunchBrowserV2Pckg* launchBrowserPckg = new (ELeave) RSat::TLaunchBrowserV2Pckg(*launchBrowser);
|
|
479 |
CleanupStack::PushL(launchBrowserPckg);
|
|
480 |
|
|
481 |
sat.NotifyLaunchBrowserPCmd(reqStatus,*launchBrowserPckg);
|
|
482 |
User::WaitForRequest(reqStatus);
|
|
483 |
TEST(reqStatus.Int()==KErrNone);
|
|
484 |
|
|
485 |
RSat::TLaunchBrowserRspV2* launchBrowserRsp = new (ELeave) RSat::TLaunchBrowserRspV2;
|
|
486 |
CleanupStack::PushL(launchBrowserRsp);
|
|
487 |
RSat::TLaunchBrowserRspV2Pckg* launchBrowserRspPckg = new (ELeave) RSat::TLaunchBrowserRspV2Pckg(*launchBrowserRsp);
|
|
488 |
CleanupStack::PushL(launchBrowserRspPckg);
|
|
489 |
|
|
490 |
launchBrowserRsp->SetPCmdNumber(launchBrowser->PCmdNumber());
|
|
491 |
launchBrowserRsp->iGeneralResult=DSATTSY_PCMD_RESULT_SUCCESS;
|
|
492 |
launchBrowserRsp->iInfoType=DSATTSY_PCMD_RSP_NO_INFO;
|
|
493 |
launchBrowserRsp->iAdditionalInfo=DSATTSY_NULL_BUF;
|
|
494 |
|
|
495 |
sat.TerminalRsp(reqStatus,RSat::ELaunchBrowser,*launchBrowserRspPckg);
|
|
496 |
User::WaitForRequest(reqStatus);
|
|
497 |
TEST(reqStatus.Int()==KErrNone);
|
|
498 |
INFO_PRINTF2(_L("Test %d - RSat::TerminalRsp - Launch Browser - passed"),iTestCount++);
|
|
499 |
|
|
500 |
CleanupStack::PopAndDestroy(6, launchBrowserV5);
|
|
501 |
|
|
502 |
// Continue tests
|
|
503 |
ExtendedTest5(reqStatus);
|
|
504 |
}
|
|
505 |
|
|
506 |
// Further tests, seperated to prevent stack overflow
|
|
507 |
void CTestSatPCmds1c::ExtendedTest5(TRequestStatus& reqStatus)
|
|
508 |
{
|
|
509 |
//
|
|
510 |
// Get Provisioning File Ref
|
|
511 |
//
|
|
512 |
|
|
513 |
RSat::TProvisioningFileRef fileRef;
|
|
514 |
TBuf8<256> retFile;
|
|
515 |
|
|
516 |
// Get with valid file ref
|
|
517 |
|
|
518 |
fileRef = DSATTSY_FILE_REF_DATA_1;
|
|
519 |
|
|
520 |
sat.GetProvisioningRefFile(reqStatus, fileRef, retFile);
|
|
521 |
User::WaitForRequest(reqStatus);
|
|
522 |
|
|
523 |
TEST(reqStatus.Int()==KErrNone);
|
|
524 |
TEST(retFile == DSATTSY_FILE1);
|
|
525 |
|
|
526 |
INFO_PRINTF2(_L("Test %d - RSat::GetProvisioningRefFile(valid file) passed"),iTestCount++);
|
|
527 |
|
|
528 |
sat.GetProvisioningRefFile(reqStatus, fileRef, retFile);
|
|
529 |
sat.CancelAsyncRequest(ESatGetProvisioningRefFile);
|
|
530 |
User::WaitForRequest(reqStatus);
|
|
531 |
|
|
532 |
TEST(reqStatus.Int()==KErrCancel);
|
|
533 |
|
|
534 |
INFO_PRINTF2(_L("Test %d - RSat::GetProvisioningRefFileCancel Cancel passed"),iTestCount++);
|
|
535 |
|
|
536 |
// Get with invalid file ref
|
|
537 |
|
|
538 |
fileRef = DSATTSY_INVALID_REF_FILE;
|
|
539 |
|
|
540 |
sat.GetProvisioningRefFile(reqStatus, fileRef, retFile);
|
|
541 |
User::WaitForRequest(reqStatus);
|
|
542 |
|
|
543 |
TEST(reqStatus.Int()==KErrNotFound);
|
|
544 |
|
|
545 |
INFO_PRINTF2(_L("Test %d - RSat::GetProvisioningRefFile(invalid file) passed"),iTestCount++);
|
|
546 |
|
|
547 |
sat.GetProvisioningRefFile(reqStatus, fileRef, retFile);
|
|
548 |
sat.CancelAsyncRequest(ESatGetProvisioningRefFile);
|
|
549 |
User::WaitForRequest(reqStatus);
|
|
550 |
|
|
551 |
TEST(reqStatus.Int()==KErrCancel);
|
|
552 |
|
|
553 |
INFO_PRINTF2(_L("Test %d - RSat::GetProvisioningRefFileCancel Cancel passed"),iTestCount++);
|
|
554 |
}
|
|
555 |
|
|
556 |
void CTestSatPCmds1c::TestLaunchBrowser(TDes8* aLaunchBrowserPCmdPckg)
|
|
557 |
{
|
|
558 |
RSat::TLaunchBrowserV2Pckg* launchBrowserPckg = (RSat::TLaunchBrowserV2Pckg*)aLaunchBrowserPCmdPckg;
|
|
559 |
RSat::TLaunchBrowserV2& launchBrowser = (*launchBrowserPckg)();
|
|
560 |
|
|
561 |
RSat::TProvisioningFileRef file;
|
|
562 |
|
|
563 |
// Perform 5 tests, check comment for each test to see the expected result for that test
|
|
564 |
for (TInt browserTest = 0; browserTest < 5; ++browserTest) // Note start:end indices
|
|
565 |
{
|
|
566 |
sat.NotifyLaunchBrowserPCmd(reqStatus,*launchBrowserPckg);
|
|
567 |
User::WaitForRequest(reqStatus);
|
|
568 |
TEST(reqStatus.Int()==KErrNone);
|
|
569 |
|
|
570 |
TEST(launchBrowser.PCmdNumber() == DSATTSY_LAUNCH_BROWSER_NUMBER);
|
|
571 |
TEST(launchBrowser.iBrowserSel == DSATTSY_BROWSER_SELECTION_MODE);
|
|
572 |
TEST(launchBrowser.iBrowserId == DSATTSY_BROWSER_ID);
|
|
573 |
TEST(launchBrowser.iUrl == DSATTSY_URL);
|
|
574 |
TEST(launchBrowser.iBearerList == DSATTSY_BEARER_LIST);
|
|
575 |
TEST(launchBrowser.iText == DSATTSY_PROXY_NAME);
|
|
576 |
TEST(launchBrowser.iAlphaId.iStatus == DSATTSY_ALPHA_ID1_STATUS);
|
|
577 |
TEST(launchBrowser.iAlphaId.iAlphaId == DSATTSY_ALPHA_ID1);
|
|
578 |
TEST(launchBrowser.iIconId.iIdentifier == DSATTSY_ICON_ID1);
|
|
579 |
TEST(launchBrowser.iIconId.iQualifier == DSATTSY_ICON_QUALIFIER1);
|
|
580 |
|
|
581 |
if (launchBrowser.ExtensionId() == RSat::KSatV5)
|
|
582 |
{
|
|
583 |
RSat::TLaunchBrowserV5Pckg* aV5PCmdPckg = (RSat::TLaunchBrowserV5Pckg*)aLaunchBrowserPCmdPckg;
|
|
584 |
RSat::TLaunchBrowserV5& launchBrowserV5 = (*aV5PCmdPckg)();
|
|
585 |
|
|
586 |
RSat::TTextAttribute textAttribute;
|
|
587 |
textAttribute.iStatus = DSATTSY_TEXT_ATTRIBUTE_STATUS;
|
|
588 |
const TUint8 textAttributeData[DSATTSY_TEXT_ATTRIBUTE_DATA_LENGTH] = DSATTSY_TEXT_ATTRIBUTE_DATA;
|
|
589 |
textAttribute.iTextAttributeData.Append(textAttributeData, DSATTSY_TEXT_ATTRIBUTE_DATA_LENGTH);
|
|
590 |
|
|
591 |
TEST(launchBrowserV5.iTextAttribute.iStatus == textAttribute.iStatus);
|
|
592 |
TEST(launchBrowserV5.iTextAttribute.iTextAttributeData == textAttribute.iTextAttributeData);
|
|
593 |
}
|
|
594 |
|
|
595 |
// Provisioning file ref checks
|
|
596 |
|
|
597 |
switch (browserTest)
|
|
598 |
{
|
|
599 |
case 0:
|
|
600 |
// expect 1 file ref of 1 byte length
|
|
601 |
TEST(launchBrowser.NumberOfFileRef() == DSATTSY_REF_COUNT_1);
|
|
602 |
TEST(launchBrowser.GetFileRef(1, file) == KErrNone);
|
|
603 |
TEST(file == DSATTSY_FILE_REF_DATA_1);
|
|
604 |
break;
|
|
605 |
|
|
606 |
case 1:
|
|
607 |
// expect 1 file ref of 128 bytes length
|
|
608 |
TEST(launchBrowser.NumberOfFileRef() == DSATTSY_REF_COUNT_2);
|
|
609 |
TEST(launchBrowser.GetFileRef(1, file) == KErrNone);
|
|
610 |
TEST(file == DSATTSY_FILE_REF_DATA_128);
|
|
611 |
break;
|
|
612 |
|
|
613 |
case 2:
|
|
614 |
// expect 2 file refs, each of 1 byte length
|
|
615 |
TEST(launchBrowser.NumberOfFileRef() == DSATTSY_REF_COUNT_3);
|
|
616 |
TEST(launchBrowser.GetFileRef(1, file) == KErrNone);
|
|
617 |
TEST(file == DSATTSY_FILE_REF_DATA_1);
|
|
618 |
TEST(launchBrowser.GetFileRef(2, file) == KErrNone);
|
|
619 |
TEST(file == DSATTSY_FILE_REF_DATA_1);
|
|
620 |
break;
|
|
621 |
|
|
622 |
case 3:
|
|
623 |
// 1 ref of 128 bytes, test TSY attempts to add 2 refs but 2nd too large so should be rejected
|
|
624 |
TEST(launchBrowser.NumberOfFileRef() == DSATTSY_REF_COUNT_4);
|
|
625 |
TEST(launchBrowser.GetFileRef(1, file) == KErrNone);
|
|
626 |
TEST(file == DSATTSY_FILE_REF_DATA_128);
|
|
627 |
break;
|
|
628 |
|
|
629 |
case 4:
|
|
630 |
// 2 refs of 128 bytes & 1 byte
|
|
631 |
TEST(launchBrowser.NumberOfFileRef() == DSATTSY_REF_COUNT_5);
|
|
632 |
TEST(launchBrowser.GetFileRef(1, file) == KErrNone);
|
|
633 |
TEST(file == DSATTSY_FILE_REF_DATA_128);
|
|
634 |
TEST(launchBrowser.GetFileRef(2, file) == KErrNone);
|
|
635 |
TEST(file == DSATTSY_FILE_REF_DATA_1);
|
|
636 |
// Ask for out-of-range file ref - greater than last index
|
|
637 |
TEST(launchBrowser.GetFileRef(3, file) == KErrNotFound);
|
|
638 |
// Ask for out-of-range file ref - bigger than max ref
|
|
639 |
TEST(launchBrowser.GetFileRef(255, file) == KErrNotFound);
|
|
640 |
break;
|
|
641 |
}
|
|
642 |
|
|
643 |
launchBrowser.ResetFileRef();
|
|
644 |
|
|
645 |
if (launchBrowser.ExtensionId() == RSat::KSatV2)
|
|
646 |
{
|
|
647 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyLaunchBrowserPCmd with RSat::TLaunchBrowserV2 passed"),iTestCount++);
|
|
648 |
}
|
|
649 |
else if (launchBrowser.ExtensionId() == RSat::KSatV5)
|
|
650 |
{
|
|
651 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyLaunchBrowserPCmd with RSat::TLaunchBrowserV5 passed"),iTestCount++);
|
|
652 |
}
|
|
653 |
|
|
654 |
// Launch Browser Cancel
|
|
655 |
sat.NotifyLaunchBrowserPCmd(reqStatus,*launchBrowserPckg);
|
|
656 |
sat.CancelAsyncRequest(ESatNotifyLaunchBrowserPCmd);
|
|
657 |
|
|
658 |
User::WaitForRequest(reqStatus);
|
|
659 |
TEST(reqStatus.Int()==KErrCancel);
|
|
660 |
|
|
661 |
if (launchBrowser.ExtensionId() == RSat::KSatV2)
|
|
662 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyLaunchBrowserPCmdCancel with RSat::TLaunchBrowserV2 passed"),iTestCount++);
|
|
663 |
else if (launchBrowser.ExtensionId() == RSat::KSatV5)
|
|
664 |
INFO_PRINTF2(_L("Test %d - RSat::NotifyLaunchBrowserPCmdCancel with RSat::TLaunchBrowserV5 passed"),iTestCount++);
|
|
665 |
|
|
666 |
}
|
|
667 |
}
|