297
|
1 |
// Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
|
0
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of the License "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 |
|
|
17 |
#include <e32def.h>
|
|
18 |
#include <e32cmn.h>
|
|
19 |
#include <e32base.h>
|
|
20 |
#include <f32file.h>
|
|
21 |
#include <e32cons.h>
|
|
22 |
#include <e32debug.h>
|
|
23 |
#define __E32TEST_EXTENSION__
|
|
24 |
#include <e32test.h>
|
|
25 |
#include <e32property.h>
|
|
26 |
|
|
27 |
#include "cblockdevicetester.h"
|
|
28 |
#include "cmsdrive.h"
|
|
29 |
#include "tmsprintdrive.h"
|
|
30 |
#include "ttestutils.h"
|
|
31 |
|
|
32 |
extern CMsDrive* msDrive;
|
|
33 |
|
|
34 |
RTest test(_L("T_MSBOT"));
|
|
35 |
RFs fsSession;
|
|
36 |
|
|
37 |
|
|
38 |
class RMassStoragePublisher
|
|
39 |
{
|
|
40 |
public:
|
|
41 |
enum TPropertyKeys
|
|
42 |
{
|
|
43 |
KBotResetProperty = 1,
|
|
44 |
KStallProperty = 2
|
|
45 |
};
|
|
46 |
|
|
47 |
RMassStoragePublisher(TPropertyKeys aKey);
|
|
48 |
~RMassStoragePublisher();
|
|
49 |
|
|
50 |
TInt Count();
|
|
51 |
TSecureId Sid() const;
|
|
52 |
|
|
53 |
private:
|
|
54 |
TPropertyKeys iKey;
|
|
55 |
};
|
|
56 |
|
|
57 |
TSecureId RMassStoragePublisher::Sid() const
|
|
58 |
{
|
|
59 |
RProcess process;
|
|
60 |
return process.SecureId();
|
|
61 |
}
|
|
62 |
|
|
63 |
RMassStoragePublisher::RMassStoragePublisher(TPropertyKeys aKey)
|
|
64 |
: iKey(aKey)
|
|
65 |
{
|
|
66 |
_LIT_SECURITY_POLICY_PASS(KHostMassStoragePolicy);
|
|
67 |
TInt res = RProperty::Define(iKey,
|
|
68 |
RProperty::EInt,
|
|
69 |
KHostMassStoragePolicy,
|
|
70 |
KHostMassStoragePolicy);
|
|
71 |
|
|
72 |
test(res == KErrNone);
|
|
73 |
// reset the property flag
|
|
74 |
res = RProperty::Set(Sid(), iKey, 0);
|
|
75 |
}
|
|
76 |
|
|
77 |
|
|
78 |
RMassStoragePublisher::~RMassStoragePublisher()
|
|
79 |
{
|
|
80 |
TInt res = RProperty::Delete(iKey);
|
|
81 |
test(res == KErrNone || res == KErrNotFound);
|
|
82 |
}
|
|
83 |
|
|
84 |
|
|
85 |
TInt RMassStoragePublisher::Count()
|
|
86 |
{
|
|
87 |
TInt value;
|
|
88 |
TInt res = RProperty::Get(Sid(), iKey, value);
|
|
89 |
test_KErrNone(res);
|
|
90 |
RDebug::Printf("RMassStoragePublisher[%d] res=%d value=%d", iKey, res, value);
|
|
91 |
return value;
|
|
92 |
}
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
/*
|
|
97 |
class TTestMsBlock
|
|
98 |
{
|
|
99 |
public:
|
|
100 |
void tFileAccess();
|
|
101 |
void tBlockAccess();
|
|
102 |
void tRawAccess();
|
|
103 |
void tLastLbaAccessL();
|
|
104 |
};
|
|
105 |
*/
|
|
106 |
|
|
107 |
class CTestBot: public CBase
|
|
108 |
{
|
|
109 |
public:
|
|
110 |
static CTestBot* NewL();
|
|
111 |
~CTestBot();
|
|
112 |
private:
|
|
113 |
void ConstructL();
|
|
114 |
CTestBot();
|
|
115 |
|
|
116 |
public:
|
|
117 |
void tTagMismatch();
|
|
118 |
void tInvalidSignature();
|
|
119 |
// No Data
|
|
120 |
void tNoDataStallCsw();
|
|
121 |
void tNoDataPhaseError();
|
|
122 |
// Data OUT
|
|
123 |
void tDoStallCsw();
|
|
124 |
void tDoStallData();
|
|
125 |
void tDoPhaseError();
|
|
126 |
void tDoResidue();
|
|
127 |
// Data In
|
|
128 |
void tDiStallCsw();
|
|
129 |
void tDiStallData();
|
|
130 |
void tDiPhaseError();
|
|
131 |
void tDiResidue();
|
|
132 |
|
|
133 |
private:
|
|
134 |
void CswResetRecovery(CBotTester::TTestCase aTestCase, const TDesC& aTestName);
|
|
135 |
void NoDataResetRecovery(CBotTester::TTestCase aTestCase, const TDesC& aTestName);
|
|
136 |
void NoDataClearStall(CBotTester::TTestCase aTestCase, const TDesC& aTestName);
|
|
137 |
|
|
138 |
void DataOutClearStall(CBotTester::TTestCase aTestCase, const TDesC& aTestName);
|
|
139 |
void DataInClearStall(CBotTester::TTestCase aTestCase, const TDesC& aTestName);
|
|
140 |
|
|
141 |
private:
|
|
142 |
CBotTester* iBotTester;
|
|
143 |
};
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 |
_LIT(KBotTest, "Bulk Only Transfer Protocol Test");
|
|
149 |
_LIT(KTagMismatch, "TagMismatch");
|
|
150 |
_LIT(KInvalidSignature, "InvalidSignature");
|
|
151 |
_LIT(KNoDataStallCsw, "NoDataStallCsw");
|
|
152 |
_LIT(KNoDataPhaseError, "NoDataPhaseError");
|
|
153 |
_LIT(KDoStallCsw, "DoStallCsw");
|
|
154 |
_LIT(KDoStallData, "DoStallData");
|
|
155 |
_LIT(KDoPhaseError, "DoPhaseError");
|
|
156 |
_LIT(KDoResidue, "DoResidue");
|
|
157 |
_LIT(KDiStallCsw, "DiStallCsw");
|
|
158 |
_LIT(KDiStallData, "DiStallData");
|
|
159 |
_LIT(KDiPhaseError, "DiPhaseError");
|
|
160 |
_LIT(KDiResidue, "DiResidue");
|
|
161 |
|
|
162 |
|
|
163 |
|
|
164 |
CTestBot* CTestBot::NewL()
|
|
165 |
{
|
297
|
166 |
CTestBot* r = new (ELeave) CTestBot();
|
|
167 |
CleanupStack::PushL(r);
|
0
|
168 |
|
297
|
169 |
r->ConstructL();
|
|
170 |
CleanupStack::Pop();
|
|
171 |
return r;
|
0
|
172 |
}
|
|
173 |
|
|
174 |
|
|
175 |
void CTestBot::ConstructL()
|
|
176 |
{
|
|
177 |
TInt driveNumber = msDrive->DriveNumber();
|
|
178 |
iBotTester = CBotTester::NewL(driveNumber);
|
|
179 |
}
|
|
180 |
|
|
181 |
|
|
182 |
CTestBot::CTestBot()
|
|
183 |
{
|
|
184 |
}
|
|
185 |
|
|
186 |
|
|
187 |
|
|
188 |
CTestBot::~CTestBot()
|
|
189 |
{
|
|
190 |
delete iBotTester;
|
|
191 |
}
|
|
192 |
|
|
193 |
/**
|
|
194 |
USB Mass Storage Class Bulk-Only Transport
|
|
195 |
6.5 Host Error Handling
|
|
196 |
6.6.1 CBW Not Valid
|
|
197 |
5.3.3.1 Phase Error
|
|
198 |
|
|
199 |
@param aTestCase
|
|
200 |
@param testName
|
|
201 |
*/
|
|
202 |
void CTestBot::CswResetRecovery(CBotTester::TTestCase aTestCase, const TDesC& aTestName)
|
|
203 |
{
|
|
204 |
TInt res;
|
|
205 |
test.Start(aTestName);
|
|
206 |
|
|
207 |
RMassStoragePublisher msPublisher(RMassStoragePublisher::KBotResetProperty);
|
|
208 |
|
|
209 |
// Set test case in client
|
|
210 |
res = iBotTester->SetTest(aTestCase);
|
|
211 |
test_KErrNone(res);
|
|
212 |
// Enable test condition. File transfer is successful as the file server
|
|
213 |
// retries in the event of a transfer error.
|
|
214 |
test.Printf(_L("Writing file\n"));//
|
|
215 |
res = iBotTester->WriteEnableFile();
|
|
216 |
test_KErrNone(res);
|
|
217 |
|
|
218 |
if (aTestCase == CBotTester::ETestCaseDiPhaseError)
|
|
219 |
{
|
|
220 |
test.Printf(_L("Reading file\n"));
|
|
221 |
res = iBotTester->ReadEnableFile();
|
|
222 |
}
|
|
223 |
|
|
224 |
// Check that Host did a BOT Reset Recovery
|
|
225 |
TInt botReset = msPublisher.Count();
|
|
226 |
test(botReset==1);
|
|
227 |
test.Printf(_L("Host performed Reset Recovery.\n"));
|
|
228 |
test.End();
|
|
229 |
}
|
|
230 |
|
|
231 |
|
|
232 |
void CTestBot::NoDataResetRecovery(CBotTester::TTestCase aTestCase, const TDesC& aTestName)
|
|
233 |
{
|
|
234 |
TInt res;
|
|
235 |
test.Start(aTestName);
|
|
236 |
|
|
237 |
RMassStoragePublisher msPublisher(RMassStoragePublisher::KBotResetProperty);
|
|
238 |
|
|
239 |
// Set test case in client
|
|
240 |
res = iBotTester->SetTest(aTestCase);
|
|
241 |
test_KErrNone(res);
|
|
242 |
|
|
243 |
// Enable test condition.
|
|
244 |
res = iBotTester->WriteEnableFile();
|
|
245 |
test_KErrNone(res);
|
|
246 |
|
|
247 |
// Wait for the host to send TEST UNIT READY. The client is configured to
|
|
248 |
// respond with a Phase Error. Host should perform RESET RECOVERY
|
|
249 |
|
|
250 |
// Check that Host did a BOT Reset Recovery
|
|
251 |
User::After(1000*1000*30);
|
|
252 |
TInt count = msPublisher.Count();
|
|
253 |
test(count == 1);
|
|
254 |
test.End();
|
|
255 |
}
|
|
256 |
|
|
257 |
|
|
258 |
void CTestBot::NoDataClearStall(CBotTester::TTestCase aTestCase, const TDesC& aTestName)
|
|
259 |
{
|
|
260 |
TInt res;
|
|
261 |
test.Start(aTestName);
|
|
262 |
|
|
263 |
RMassStoragePublisher msPublisher(RMassStoragePublisher::KStallProperty);
|
|
264 |
|
|
265 |
// Set test case in client
|
|
266 |
res = iBotTester->SetTest(aTestCase);
|
|
267 |
test_KErrNone(res);
|
|
268 |
|
|
269 |
// Enable test condition.
|
|
270 |
res = iBotTester->WriteEnableFile();
|
|
271 |
test_KErrNone(res);
|
|
272 |
|
|
273 |
// Wait for the host to send TEST UNIT READY. The client is configured to
|
|
274 |
// stall this request. Host should clear stall condition and attempt to
|
|
275 |
// receive CSW again.
|
|
276 |
|
|
277 |
/*
|
|
278 |
// Cause host to send TEST UNIT READY with a client SENSE ERROR condition
|
|
279 |
res = iBotTester->WriteSenseErrorFile();
|
|
280 |
test_KErrNone(res);
|
|
281 |
|
|
282 |
// read a file
|
|
283 |
res = iBotTester->ReadTestFile();
|
|
284 |
// KErrAbort returned due to Media Error
|
|
285 |
test(KErrNotReady == res);
|
|
286 |
*/
|
|
287 |
|
|
288 |
// Check that host cleared the Stall condition
|
|
289 |
User::After(1000*1000*30);
|
|
290 |
TInt i = msPublisher.Count();
|
|
291 |
test(i == 1);
|
|
292 |
test.End();
|
|
293 |
}
|
|
294 |
|
|
295 |
|
|
296 |
void CTestBot::DataOutClearStall(CBotTester::TTestCase aTestCase, const TDesC& aTestName)
|
|
297 |
{
|
|
298 |
TInt res;
|
|
299 |
test.Start(aTestName);
|
|
300 |
|
|
301 |
RMassStoragePublisher msPublisher(RMassStoragePublisher::KStallProperty);
|
|
302 |
|
|
303 |
// Set test case in client
|
|
304 |
res = iBotTester->SetTest(aTestCase);
|
|
305 |
test_KErrNone(res);
|
|
306 |
// Enable test condition. File transfer is successful as the file server
|
|
307 |
// retries in the event of a transfer error.
|
|
308 |
res = iBotTester->WriteEnableFile();
|
|
309 |
test_KErrNone(res);
|
|
310 |
|
|
311 |
if (aTestCase == CBotTester::ETestCaseDoStallData)
|
|
312 |
{
|
|
313 |
TLba lba = 0x5;
|
|
314 |
TLba blocks = 0x4;
|
|
315 |
test.Printf(_L("Writing data LBA=0x%x Blocks=0x%x\n"), lba, blocks);
|
|
316 |
res = iBotTester->UpdateBlock(lba, blocks);
|
|
317 |
res = iBotTester->UpdateBlock(lba, blocks);
|
|
318 |
res = iBotTester->UpdateBlock(lba, blocks);
|
|
319 |
res = iBotTester->UpdateBlock(lba, blocks);
|
|
320 |
res = iBotTester->UpdateBlock(lba, blocks);
|
|
321 |
res = iBotTester->UpdateBlock(lba, blocks);
|
|
322 |
res = iBotTester->UpdateBlock(lba, blocks);
|
|
323 |
res = iBotTester->UpdateBlock(lba, blocks);
|
|
324 |
res = iBotTester->UpdateBlock(lba, blocks);
|
|
325 |
}
|
|
326 |
|
|
327 |
// Check that Host cleared the Stall condition
|
|
328 |
TInt i = msPublisher.Count();
|
|
329 |
test(i == 1);
|
|
330 |
test.End();
|
|
331 |
}
|
|
332 |
|
|
333 |
|
|
334 |
void CTestBot::DataInClearStall(CBotTester::TTestCase aTestCase, const TDesC& aTestName)
|
|
335 |
{
|
|
336 |
TInt res;
|
|
337 |
test.Start(aTestName);
|
|
338 |
|
|
339 |
RMassStoragePublisher msPublisher(RMassStoragePublisher::KStallProperty);
|
|
340 |
|
|
341 |
// Set test case in client
|
|
342 |
res = iBotTester->SetTest(aTestCase);
|
|
343 |
test_KErrNone(res);
|
|
344 |
// Enable test condition. File transfer is successful as the file server
|
|
345 |
// retries in the event of a transfer error.
|
|
346 |
res = iBotTester->WriteEnableFile();
|
|
347 |
test_KErrNone(res);
|
|
348 |
|
|
349 |
test.Next(_L("Read file and check Data-In stall\n"));
|
|
350 |
if (aTestCase == CBotTester::ETestCaseDiStallCsw)
|
|
351 |
{
|
|
352 |
res = iBotTester->ReadEnableFile();
|
|
353 |
test.Printf(_L("File read returned %d.\n"), res);
|
|
354 |
test_KErrNone(res);
|
|
355 |
}
|
|
356 |
else if (aTestCase == CBotTester::ETestCaseDiStallData)
|
|
357 |
{
|
|
358 |
res = iBotTester->ReadEnableFile();
|
|
359 |
test.Printf(_L("File read returned %d.\n"), res);
|
|
360 |
test_KErrNone(res);
|
|
361 |
}
|
|
362 |
|
|
363 |
// Check that Test client actually stalled. Note that the next CSW is
|
|
364 |
// invalid and the host will also perform Reset Recovery
|
|
365 |
TInt botStall = msPublisher.Count();
|
|
366 |
test(botStall==1);
|
|
367 |
|
|
368 |
test.Next(_L("Check next read is successful\n"));
|
|
369 |
res = iBotTester->ReadEnableFile();
|
|
370 |
test.Printf(_L("File read returned %d.\n"), res);
|
|
371 |
test_KErrNone(res);
|
|
372 |
|
|
373 |
test.Printf(_L("Host cleared stall on Bulk-In pipe.\n"));
|
|
374 |
test.End();
|
|
375 |
}
|
|
376 |
|
|
377 |
|
|
378 |
/**
|
|
379 |
Tag Mismatch:
|
|
380 |
1. CSW tag does not match CBW tag
|
|
381 |
2. CSW is not valid
|
|
382 |
3. Host shall perform a Reset Recovery
|
|
383 |
*/
|
|
384 |
void CTestBot::tTagMismatch()
|
|
385 |
{
|
|
386 |
CswResetRecovery(CBotTester::ETestCaseTagMismatch, KTagMismatch);
|
|
387 |
}
|
|
388 |
|
|
389 |
|
|
390 |
/**
|
|
391 |
Invalid Signature:
|
|
392 |
1. CSW Signature is not equal to 53425355h.
|
|
393 |
2. CSW is not valid.
|
|
394 |
3. Host shall perform a Reset Recovery.
|
|
395 |
*/
|
|
396 |
void CTestBot::tInvalidSignature()
|
|
397 |
{
|
|
398 |
CswResetRecovery(CBotTester::ETestCaseInvalidSignature, KInvalidSignature);
|
|
399 |
}
|
|
400 |
|
|
401 |
|
|
402 |
/**
|
|
403 |
Hn CSW stall condition
|
|
404 |
1. Host expects no data transfer and CSW is stalled.
|
|
405 |
2. Host shall clear the Bulk-In pipe.
|
|
406 |
3. Host shall attempt to receive the CSW again.
|
|
407 |
*/
|
|
408 |
void CTestBot::tNoDataStallCsw()
|
|
409 |
{
|
|
410 |
NoDataClearStall(CBotTester::ETestCaseNoDataStallCsw, KNoDataStallCsw);
|
|
411 |
}
|
|
412 |
|
|
413 |
/**
|
|
414 |
Hn CSW Phase Error status
|
|
415 |
1. Host expect no data transfer and CSW status = 02h (Phase Error.
|
|
416 |
2. Host shall peroform a reset recovery.
|
|
417 |
*/
|
|
418 |
void CTestBot::tNoDataPhaseError()
|
|
419 |
{
|
|
420 |
NoDataResetRecovery(CBotTester::ETestCaseNoDataPhaseError, KNoDataPhaseError);
|
|
421 |
}
|
|
422 |
|
|
423 |
|
|
424 |
void CTestBot::tDoStallCsw()
|
|
425 |
{
|
|
426 |
DataOutClearStall(CBotTester::ETestCaseDoStallCsw, KDoStallCsw);
|
|
427 |
}
|
|
428 |
|
|
429 |
|
|
430 |
void CTestBot::tDoStallData()
|
|
431 |
{
|
|
432 |
DataOutClearStall(CBotTester::ETestCaseDoStallData, KDoStallData);
|
|
433 |
}
|
|
434 |
|
|
435 |
|
|
436 |
void CTestBot::tDoPhaseError()
|
|
437 |
{
|
|
438 |
CswResetRecovery(CBotTester::ETestCaseDoPhaseError, KDoPhaseError);
|
|
439 |
}
|
|
440 |
|
|
441 |
|
|
442 |
void CTestBot::tDoResidue()
|
|
443 |
{
|
|
444 |
TInt res;
|
|
445 |
test.Start(KDoResidue);
|
|
446 |
res = iBotTester->SetTest(CBotTester::ETestCaseDoResidue);
|
|
447 |
test_KErrNone(res);
|
|
448 |
res = iBotTester->WriteEnableFile();
|
|
449 |
test_KErrNone(res);
|
|
450 |
|
|
451 |
res = iBotTester->WriteEnableFile();
|
|
452 |
test_KErrNone(res);
|
|
453 |
|
|
454 |
res = iBotTester->WriteEnableFile();
|
|
455 |
test_KErrNone(res);
|
|
456 |
|
|
457 |
res = iBotTester->WriteEnableFile();
|
|
458 |
test_KErrNone(res);
|
|
459 |
|
|
460 |
res = iBotTester->WriteEnableFile();
|
|
461 |
test_KErrNone(res);
|
|
462 |
|
|
463 |
test.End();
|
|
464 |
}
|
|
465 |
|
|
466 |
|
|
467 |
void CTestBot::tDiStallCsw()
|
|
468 |
{
|
|
469 |
DataInClearStall(CBotTester::ETestCaseDiStallCsw, KDiStallCsw);
|
|
470 |
}
|
|
471 |
|
|
472 |
|
|
473 |
void CTestBot::tDiStallData()
|
|
474 |
{
|
|
475 |
DataInClearStall(CBotTester::ETestCaseDiStallData, KDiStallData);
|
|
476 |
}
|
|
477 |
|
|
478 |
|
|
479 |
void CTestBot::tDiPhaseError()
|
|
480 |
{
|
|
481 |
CswResetRecovery(CBotTester::ETestCaseDiPhaseError, KDiPhaseError);
|
|
482 |
}
|
|
483 |
|
|
484 |
|
|
485 |
void CTestBot::tDiResidue()
|
|
486 |
{
|
|
487 |
TInt res;
|
|
488 |
test.Start(KDiResidue);
|
|
489 |
|
|
490 |
// First write test file to drive
|
|
491 |
res = iBotTester->InitReadEnableFile();
|
|
492 |
test_KErrNone(res);
|
|
493 |
|
|
494 |
res = iBotTester->SetTest(CBotTester::ETestCaseDiResidue);
|
|
495 |
test_KErrNone(res);
|
|
496 |
|
|
497 |
res = iBotTester->WriteEnableFile();
|
|
498 |
test_KErrNone(res);
|
|
499 |
|
|
500 |
res = iBotTester->ReadEnableFile();
|
|
501 |
test_KErrNone(res);
|
|
502 |
|
|
503 |
res = iBotTester->ReadEnableFile();
|
|
504 |
test_KErrNone(res);
|
|
505 |
|
|
506 |
res = iBotTester->ReadEnableFile();
|
|
507 |
test_KErrNone(res);
|
|
508 |
|
|
509 |
res = iBotTester->ReadEnableFile();
|
|
510 |
test_KErrNone(res);
|
|
511 |
|
|
512 |
res = iBotTester->ReadEnableFile();
|
|
513 |
test_KErrNone(res);
|
|
514 |
|
|
515 |
res = iBotTester->ReadEnableFile();
|
|
516 |
test_KErrNone(res);
|
|
517 |
|
|
518 |
res = iBotTester->ReadEnableFile();
|
|
519 |
test_KErrNone(res);
|
|
520 |
|
|
521 |
res = iBotTester->ReadEnableFile();
|
|
522 |
test_KErrNone(res);
|
|
523 |
|
|
524 |
test.End();
|
|
525 |
}
|
|
526 |
|
|
527 |
|
|
528 |
void CallTestsL()
|
|
529 |
{
|
|
530 |
test.Start(KBotTest);
|
|
531 |
CTestBot* tBot = CTestBot::NewL();
|
|
532 |
|
|
533 |
test.Next(KTagMismatch);
|
|
534 |
tBot->tTagMismatch();
|
|
535 |
|
|
536 |
test.Next(KInvalidSignature);
|
|
537 |
tBot->tInvalidSignature();
|
|
538 |
|
|
539 |
test.Next(KNoDataStallCsw);
|
|
540 |
tBot->tNoDataStallCsw();
|
|
541 |
|
|
542 |
test.Next(KNoDataPhaseError);
|
|
543 |
tBot->tNoDataPhaseError();
|
|
544 |
|
|
545 |
test.Next(KDoStallCsw);
|
|
546 |
tBot->tDoStallCsw();
|
|
547 |
|
|
548 |
// test.Next(KDoStallData); // not working in test client
|
|
549 |
// tBot->tDoStallData();
|
|
550 |
|
|
551 |
test.Next(KDoPhaseError);
|
|
552 |
tBot->tDoPhaseError();
|
|
553 |
|
|
554 |
test.Next(KDiStallCsw);
|
|
555 |
tBot->tDiStallCsw();
|
|
556 |
|
|
557 |
test.Next(KDiStallData);
|
|
558 |
tBot->tDiStallData();
|
|
559 |
|
|
560 |
test.Next(KDiPhaseError);
|
|
561 |
tBot->tDiPhaseError();
|
|
562 |
|
|
563 |
test.Next(KDoResidue);
|
|
564 |
tBot->tDoResidue();
|
|
565 |
|
|
566 |
test.Next(KDiResidue);
|
|
567 |
tBot->tDiResidue();
|
|
568 |
|
|
569 |
delete tBot;
|
|
570 |
test.End();
|
|
571 |
}
|