26 #include <StifTestModule.h> |
26 #include <StifTestModule.h> |
27 #include <TestclassAssert.h> |
27 #include <TestclassAssert.h> |
28 |
28 |
29 #include "glxcollectionmanagerao.h" |
29 #include "glxcollectionmanagerao.h" |
30 |
30 |
31 // CONSTANTS |
|
32 //const ?type ?constant_var = ?constant; |
|
33 |
|
34 // MACROS |
31 // MACROS |
35 //#define ?macro ?macro_def |
|
36 #define TEST_CLASS_VERSION_MAJOR 0 |
32 #define TEST_CLASS_VERSION_MAJOR 0 |
37 #define TEST_CLASS_VERSION_MINOR 0 |
33 #define TEST_CLASS_VERSION_MINOR 0 |
38 #define TEST_CLASS_VERSION_BUILD 0 |
34 #define TEST_CLASS_VERSION_BUILD 0 |
39 |
35 |
40 // Logging path |
36 // Logging path |
41 _LIT( Kut_collectionmanagerLogPath, "\\logs\\testframework\\ut_collectionmanager\\" ); |
37 _LIT( Kut_collectionmanagerLogPath, "\\logs\\testframework\\ut_collectionmanager\\" ); |
42 // Log file |
38 // Log file |
43 _LIT( Kut_collectionmanagerLogFile, "ut_collectionmanager.txt" ); |
39 _LIT( Kut_collectionmanagerLogFile, "ut_collectionmanager.txt" ); |
44 _LIT( Kut_collectionmanagerLogFileWithTitle, "ut_collectionmanager_[%S].txt" ); |
40 _LIT( Kut_collectionmanagerLogFileWithTitle, "ut_collectionmanager_[%S].txt" ); |
45 |
41 |
46 // FUNCTION PROTOTYPES |
|
47 //?type ?function_name(?arg_list); |
|
48 |
|
49 // FORWARD DECLARATIONS |
42 // FORWARD DECLARATIONS |
50 //class ?FORWARD_CLASSNAME; |
|
51 class Cut_collectionmanager; |
43 class Cut_collectionmanager; |
52 |
44 |
53 |
45 |
54 // DATA TYPES |
|
55 //enum ?declaration |
|
56 //typedef ?declaration |
|
57 //extern ?data_type; |
|
58 |
|
59 // CLASS DECLARATION |
46 // CLASS DECLARATION |
60 |
|
61 class CGlxCollectionManagerAO ; |
47 class CGlxCollectionManagerAO ; |
62 |
48 |
63 /** |
49 /** |
64 * Cut_collectionmanager test class for STIF Test Framework TestScripter. |
50 * Cut_collectionmanager test class for STIF Test Framework TestScripter. |
65 * ?other_description_lines |
51 * ?other_description_lines |
79 /** |
65 /** |
80 * Destructor. |
66 * Destructor. |
81 */ |
67 */ |
82 virtual ~Cut_collectionmanager(); |
68 virtual ~Cut_collectionmanager(); |
83 |
69 |
84 public: // New functions |
|
85 |
|
86 /** |
|
87 * ?member_description. |
|
88 * @since ?Series60_version |
|
89 * @param ?arg1 ?description |
|
90 * @return ?description |
|
91 */ |
|
92 //?type ?member_function( ?type ?arg1 ); |
|
93 |
|
94 public: // Functions from base classes |
70 public: // Functions from base classes |
95 |
71 |
96 /** |
72 /** |
97 * From CScriptBase Runs a script line. |
73 * From CScriptBase Runs a script line. |
98 * @since ?Series60_version |
74 * @since ?Series60_version |
99 * @param aItem Script line containing method name and parameters |
75 * @param aItem Script line containing method name and parameters |
100 * @return Symbian OS error code |
76 * @return Symbian OS error code |
101 */ |
77 */ |
102 virtual TInt RunMethodL( CStifItemParser& aItem ); |
78 virtual TInt RunMethodL( CStifItemParser& aItem ); |
103 |
|
104 protected: // New functions |
|
105 |
|
106 /** |
|
107 * ?member_description. |
|
108 * @since ?Series60_version |
|
109 * @param ?arg1 ?description |
|
110 * @return ?description |
|
111 */ |
|
112 //?type ?member_function( ?type ?arg1 ); |
|
113 |
|
114 protected: // Functions from base classes |
|
115 |
|
116 /** |
|
117 * From ?base_class ?member_description |
|
118 */ |
|
119 //?type ?member_function(); |
|
120 |
79 |
121 private: |
80 private: |
122 |
81 |
123 /** |
82 /** |
124 * C++ default constructor. |
83 * C++ default constructor. |
128 /** |
87 /** |
129 * By default Symbian 2nd phase constructor is private. |
88 * By default Symbian 2nd phase constructor is private. |
130 */ |
89 */ |
131 void ConstructL(); |
90 void ConstructL(); |
132 |
91 |
133 // Prohibit copy constructor if not deriving from CBase. |
|
134 // ?classname( const ?classname& ); |
|
135 // Prohibit assigment operator if not deriving from CBase. |
|
136 // ?classname& operator=( const ?classname& ); |
|
137 |
|
138 /** |
92 /** |
139 * Frees all resources allocated from test methods. |
93 * Frees all resources allocated from test methods. |
140 * @since ?Series60_version |
94 * @since ?Series60_version |
141 */ |
95 */ |
142 void Delete(); |
96 void Delete(); |
143 |
97 |
144 /** |
98 /** |
145 * Test methods are listed below. |
99 * Test methods are listed below. |
146 */ |
100 */ |
147 |
|
148 |
101 |
149 /** |
102 /** |
150 * Test case for CollectionManager object creation |
103 * Test case for CollectionManager object creation |
151 * @param aItem Script line containing parameters. |
104 * @param aItem Script line containing parameters. |
152 * @return Symbian OS error code |
105 * @return Symbian OS error code |
178 //ADD NEW METHOD DEC HERE |
131 //ADD NEW METHOD DEC HERE |
179 //[TestMethods] - Do not remove |
132 //[TestMethods] - Do not remove |
180 virtual TInt TestCollectionInfoL(); |
133 virtual TInt TestCollectionInfoL(); |
181 virtual TInt TestCancelL(); |
134 virtual TInt TestCancelL(); |
182 |
135 |
183 public: // Data |
|
184 // ?one_line_short_description_of_data |
|
185 //?data_declaration; |
|
186 |
|
187 protected: // Data |
|
188 // ?one_line_short_description_of_data |
|
189 //?data_declaration; |
|
190 |
|
191 private: // Data |
|
192 |
|
193 // ?one_line_short_description_of_data |
|
194 //?data_declaration; |
|
195 |
|
196 // CollectionManager Active Object used to create collections of images |
|
197 |
|
198 // Reserved pointer for future extension |
|
199 //TAny* iReserved; |
|
200 |
|
201 |
|
202 public: // Friend classes |
|
203 //?friend_class_declaration; |
|
204 |
|
205 protected: // Friend classes |
|
206 //?friend_class_declaration; |
|
207 private: // Friend classes |
136 private: // Friend classes |
208 //?friend_class_declaration; |
137 CGlxCollectionManagerAO* iAo; |
209 CGlxCollectionManagerAO* iAo ; |
138 CActiveSchedulerWait* iWait; |
210 CActiveSchedulerWait* iWait ; |
|
211 |
|
212 }; |
139 }; |
213 |
140 |
214 #endif // UT_COLLECTIONMANAGER_H |
141 #endif // UT_COLLECTIONMANAGER_H |
215 |
142 |
216 // End of File |
143 // End of File |