1 /* |
|
2 * Copyright (c) 2007 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: Ctestmapimgconpluginapi class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef TESTMAPIMGCONPLUGINAPI_H |
|
21 #define TESTMAPIMGCONPLUGINAPI_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <StifLogger.h> |
|
25 #include <TestScripterInternal.h> |
|
26 #include <StifTestModule.h> |
|
27 |
|
28 |
|
29 |
|
30 // Logging path |
|
31 _LIT( KtestmapimgconpluginapiLogPath, "\\logs\\testframework\\testmapimgconpluginapi\\" ); |
|
32 // Log file |
|
33 _LIT( KtestmapimgconpluginapiLogFile, "testmapimgconpluginapi.txt" ); |
|
34 _LIT( KtestmapimgconpluginapiLogFileWithTitle, "testmapimgconpluginapi_[%S].txt" ); |
|
35 |
|
36 |
|
37 // FORWARD DECLARATIONS |
|
38 class Ctestmapimgconpluginapi; |
|
39 |
|
40 |
|
41 /** |
|
42 * Ctestmapimgconpluginapi test class for STIF Test Framework TestScripter. |
|
43 * |
|
44 * @lib ?library |
|
45 * @since s60 v5.0 |
|
46 */ |
|
47 NONSHARABLE_CLASS(Ctestmapimgconpluginapi) : public CScriptBase |
|
48 { |
|
49 public: // Constructors and destructor |
|
50 |
|
51 /** |
|
52 * Two-phased constructor. |
|
53 */ |
|
54 static Ctestmapimgconpluginapi* NewL( CTestModuleIf& aTestModuleIf ); |
|
55 |
|
56 /** |
|
57 * Destructor. |
|
58 */ |
|
59 virtual ~Ctestmapimgconpluginapi(); |
|
60 |
|
61 public: // Functions from base classes |
|
62 |
|
63 /** |
|
64 * From CScriptBase Runs a script line. |
|
65 * @param aItem Script line containing method name and parameters |
|
66 * @return Symbian OS error code |
|
67 */ |
|
68 virtual TInt RunMethodL( CStifItemParser& aItem ); |
|
69 |
|
70 |
|
71 private: |
|
72 |
|
73 /** |
|
74 * C++ default constructor. |
|
75 */ |
|
76 Ctestmapimgconpluginapi( CTestModuleIf& aTestModuleIf ); |
|
77 |
|
78 /** |
|
79 * By default Symbian 2nd phase constructor is private. |
|
80 */ |
|
81 void ConstructL(); |
|
82 |
|
83 /** |
|
84 * Frees all resources allocated from test methods. |
|
85 */ |
|
86 void Delete(); |
|
87 |
|
88 /** |
|
89 * Test methods are listed below. |
|
90 */ |
|
91 |
|
92 /** |
|
93 * This test case will test MapImageParams method of CMnCoordinateConverterBase |
|
94 * class. |
|
95 * @param aItem Script line containing parameters. |
|
96 * @return Symbian OS error code. |
|
97 */ |
|
98 TInt CMnCoordinateConverterBase_MapImageParams( CStifItemParser& aItem ); |
|
99 |
|
100 /** |
|
101 * This test case will test GetImageCoordinate method of CMnCoordinateConverterBase |
|
102 * class. |
|
103 * @param aItem Script line containing parameters. |
|
104 * @return Symbian OS error code. |
|
105 */ |
|
106 TInt CMnCoordinateConverterBase_GetImageCoordinate( CStifItemParser& aItem ); |
|
107 |
|
108 /** |
|
109 * This test case will test GetWorldCoordinate method of CMnCoordinateConverterBase |
|
110 * class. |
|
111 * @param aItem Script line containing parameters. |
|
112 * @return Symbian OS error code. |
|
113 */ |
|
114 TInt CMnCoordinateConverterBase_GetWorldCoordinate( CStifItemParser& aItem ); |
|
115 |
|
116 |
|
117 |
|
118 |
|
119 }; |
|
120 |
|
121 #endif // TESTMAPIMGCONPLUGINAPI_H |
|
122 |
|
123 // End of File |
|