|
1 /* |
|
2 * Copyright (c) 2001-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_TP218_H__ |
|
21 #define __CT_LBS_CLIENT_POS_TP218_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "ctlbsportedstepbase.h" |
|
25 |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Test procedure 218 |
|
33 * |
|
34 */ |
|
35 class CT_LbsClientPosTp218 :public CT_LbsPortedStepBase |
|
36 { |
|
37 public: // Constructors and destructor |
|
38 |
|
39 /** |
|
40 * C++ default constructor. |
|
41 */ |
|
42 CT_LbsClientPosTp218(CT_LbsServer& aParent); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 ~CT_LbsClientPosTp218(); |
|
48 |
|
49 public: // Functions from base classes |
|
50 |
|
51 /** |
|
52 * From CT_LbsPortedStepBase |
|
53 * Deinitializes the test. |
|
54 */ |
|
55 void CloseTest(); |
|
56 |
|
57 /** |
|
58 * From CT_LbsPortedStepBase |
|
59 * Runs the test in the module |
|
60 */ |
|
61 void StartL(); |
|
62 |
|
63 private: // New functions |
|
64 |
|
65 /** |
|
66 * Leaves if aCondition is false. |
|
67 * @param aCondition something that should be true |
|
68 */ |
|
69 void AssertTrueL(TBool aCondition, const TDesC& aErrorMsg, TInt aErrorCode); |
|
70 |
|
71 /** |
|
72 * Compares two TPositionInfoBase objects |
|
73 * @return returns true if equal, otherwise false |
|
74 */ |
|
75 TBool ComparePositionL(TPositionInfo aPosInfo1, TPositionInfo aPosInfo2); |
|
76 |
|
77 /* |
|
78 * Setup the choosen default Psy |
|
79 */ |
|
80 void SetupDefaultPsyL(const TUid aPsyUid); |
|
81 |
|
82 private: |
|
83 |
|
84 RPositioner iPositioner1; |
|
85 RPositioner iPositioner2; |
|
86 |
|
87 }; |
|
88 |
|
89 #endif // __CT_LBS_CLIENT_POS_TP218_H__ |
|
90 |
|
91 // End of File |