|
1 /* |
|
2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Symbian Foundation License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __CT_LBS_CLIENT_POS_TP271_H__ |
|
21 #define __CT_LBS_CLIENT_POS_TP271_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "ctlbsportedstepbase.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Test procedure 271 |
|
30 */ |
|
31 class CT_LbsClientPosTp271 : public CT_LbsPortedStepBase |
|
32 { |
|
33 public: // Constructors and destructor |
|
34 |
|
35 /** |
|
36 * C++ default constructor. |
|
37 */ |
|
38 CT_LbsClientPosTp271(CT_LbsServer& aParent); |
|
39 |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 ~CT_LbsClientPosTp271(); |
|
44 |
|
45 public: // Functions from base classes |
|
46 |
|
47 /** |
|
48 * From CT_LbsPortedStepBase |
|
49 * Runs the test in the module |
|
50 */ |
|
51 void StartL(); |
|
52 |
|
53 /** |
|
54 * From CT_LbsPortedStepBase |
|
55 * Always called, even if the test leaves |
|
56 */ |
|
57 void CloseTest(); |
|
58 |
|
59 private: // Functions |
|
60 |
|
61 void SetupProxyPSYsL(); |
|
62 |
|
63 void AssertTrueSecL(TBool aCondition, const TDesC& aErrorMsg, TInt aErrorCode=KErrGeneral); |
|
64 |
|
65 void VerifyPsyStartedTrackingL(TPositionModuleId& aUid); |
|
66 |
|
67 void VerifyPsyStoppedTrackingL(TPositionModuleId& aUid, TRequestStatus& aStatus); |
|
68 |
|
69 void VerifyPsyStoppedTrackingL(TPositionModuleId& aUid); |
|
70 |
|
71 private: // data |
|
72 |
|
73 TPositionModuleStatusEvent iModuleEvent; |
|
74 |
|
75 TRequestStatus iEventStatus; |
|
76 }; |
|
77 |
|
78 #endif // __CT_LBS_CLIENT_POS_TP271_H__ |
|
79 |
|
80 // End of File |