|
1 /* |
|
2 * Copyright (c) 2004 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 * ?description_line |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CPOSTp159_H |
|
21 #define CPOSTp159_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "FT_CLandmarkTestProcedureBase.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 class CPosLandmarkParser; |
|
28 class CPosLandmarkEncoder; |
|
29 /** |
|
30 * Test procedure 159 |
|
31 */ |
|
32 class CPosTp159 :public CLandmarkTestProcedureBase |
|
33 { |
|
34 public: // Constructors and destructor |
|
35 |
|
36 /** |
|
37 * C++ default constructor. |
|
38 */ |
|
39 |
|
40 CPosTp159(TInt tpno, CStifLogger* aLog) : CLandmarkTestProcedureBase(tpno, aLog) {}; |
|
41 /** |
|
42 * Destructor. |
|
43 */ |
|
44 ~CPosTp159() {}; |
|
45 |
|
46 |
|
47 public: // Functions from base classes |
|
48 |
|
49 void CloseTest(); |
|
50 |
|
51 /** |
|
52 * From CLandmarkTestProcedureBase |
|
53 * Runs the test in the module |
|
54 */ |
|
55 void StartL(); |
|
56 |
|
57 private: |
|
58 |
|
59 /** |
|
60 * |
|
61 * @aFile the file name |
|
62 */ |
|
63 void PrintParsedDataFromEncoderL( |
|
64 const TDesC& aFile, |
|
65 const TDesC8& aBuffer, |
|
66 TInt aExpectedStatusCode, |
|
67 const TDesC8& aMimeType); |
|
68 |
|
69 |
|
70 |
|
71 /** |
|
72 * Trace to trace file |
|
73 */ |
|
74 void TraceL(const TDesC& msg); |
|
75 |
|
76 private: |
|
77 CPosLandmarkParser* iLandmarkParser; |
|
78 |
|
79 CPosLandmarkEncoder* iLandmarkEncoder; |
|
80 |
|
81 RPointerArray<CPosLandmark> iLandmarks; |
|
82 |
|
83 TInt iErrorsFound; |
|
84 |
|
85 CBufBase* iEncoderBuffer; |
|
86 |
|
87 CPosLmCategoryManager* iCategoryManager; |
|
88 |
|
89 }; |
|
90 |
|
91 #endif // CPOSTp159_H |
|
92 |
|
93 // End of File |