|
1 /* |
|
2 * Copyright (c) 2004-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 "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CPOSPSYCRCAPABILITYTEST_H |
|
21 #define CPOSPSYCRCAPABILITYTEST_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "EPos_CPosPSYTestBase.h" |
|
25 #include "EPos_CPosPSYRequester.h" |
|
26 |
|
27 // CLASS DECLARATION |
|
28 /** |
|
29 * Class for PSY Central Repository Capability validation tests |
|
30 */ |
|
31 class CPosPSYCRCapabilityTest : public CPosPSYTestBase |
|
32 { |
|
33 public: // Constructors and destructor |
|
34 |
|
35 /** |
|
36 * Two-phased constructor. |
|
37 */ |
|
38 static CPosPSYCRCapabilityTest* NewL(); |
|
39 |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 ~CPosPSYCRCapabilityTest(); |
|
44 |
|
45 public: // Functions from base classes |
|
46 |
|
47 /** |
|
48 * From CPosPSYTestBase GetName |
|
49 * @param aName The name of the test |
|
50 */ |
|
51 void GetName( |
|
52 /* OUT */ TDes& aName |
|
53 ) const; |
|
54 |
|
55 /** |
|
56 * From CPosPSYTestBase StartTest function for starting execution of the test case |
|
57 * @param aPSYInfo the information about the psy to be tested |
|
58 * @param aStatus status flag from calling object |
|
59 * @param aTestParameters test parameters specifying number |
|
60 * of location requests to be done etc. |
|
61 */ |
|
62 void StartTest( |
|
63 /* IN */ const TPosPSYInfo& aPSYInfo, |
|
64 /* IN/OUT */ TRequestStatus& aStatus, |
|
65 /* IN */ const TPosPSYTestParameters& aTestParameters |
|
66 ); |
|
67 |
|
68 void CancelTest(); |
|
69 |
|
70 private: |
|
71 |
|
72 /** |
|
73 * C++ default constructor. |
|
74 */ |
|
75 CPosPSYCRCapabilityTest(); |
|
76 |
|
77 /** |
|
78 * By default EPOC constructor is private. |
|
79 */ |
|
80 void ConstructL(); |
|
81 |
|
82 /** |
|
83 * Executes all tests of the test case |
|
84 */ |
|
85 void ExecuteTestL(); |
|
86 |
|
87 // By default, prohibit copy constructor |
|
88 CPosPSYCRCapabilityTest( const CPosPSYCRCapabilityTest& ); |
|
89 |
|
90 // Prohibit assigment operator |
|
91 CPosPSYCRCapabilityTest& operator= ( const CPosPSYCRCapabilityTest& ); |
|
92 |
|
93 private: // Data |
|
94 |
|
95 }; |
|
96 |
|
97 #endif // CPOSPSYPARAMETERTEST_H |
|
98 |
|
99 // End of File |