|
1 /* |
|
2 * Copyright (c) 2002-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: SenServDesc test module. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef SENSERVDESCBCTEST_H |
|
20 #define SENSERVDESCBCTEST_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "StifTestModule.h" |
|
24 #include <StifLogger.h> |
|
25 |
|
26 |
|
27 #include "TestServiceDescription.h" |
|
28 #include <SenBaseAttribute.h> |
|
29 #include <SenBaseElement.h> |
|
30 #include <SenBaseFragment.h> |
|
31 //#include <SenConsumerPolicy.h> |
|
32 #include <SenCredential.h> |
|
33 #include <SenCredential2.h> |
|
34 #include <RSenDocument.h> |
|
35 #include <SenDomFragment.h> |
|
36 #include <SenFacet.h> |
|
37 #include <SenIdentityProvider.h> |
|
38 #include <SenIdentityProviderIdArray8.h> |
|
39 #include <SenNameSpace.h> |
|
40 //#include <SenPolicy.h> |
|
41 //#include <SenProviderPolicy.h> |
|
42 #include <SenServicePattern.h> |
|
43 #include <SenSoapEnvelope.h> |
|
44 #include <SenXmlReader.h> |
|
45 #include <SenXmlServiceDescription.h> |
|
46 #include <MSenIdentityProviderIdArray.h> |
|
47 #include <SenDateUtils.h> |
|
48 #include <SenXmlUtils.h> |
|
49 #include <SenXmlConstants.h> |
|
50 #include <e32debug.h> |
|
51 |
|
52 |
|
53 |
|
54 class CSenConsumerPolicy; |
|
55 class CSenBaseElement; |
|
56 class CSenBaseFragment; |
|
57 class CSenIdentityProvider; |
|
58 class CSenIdentityProviderIdArray8; |
|
59 class CSenSoapEnvelope; |
|
60 class CSenPolicy; |
|
61 class CSenCredential; |
|
62 class CSenCredential2; |
|
63 |
|
64 class CSenBaseAttribute; |
|
65 class CSenServicePattern; |
|
66 class CSenDomFragment; |
|
67 class CSenNamespace; |
|
68 class CSenFacet; |
|
69 class MSenIdentityProviderIdArray; |
|
70 class CSenXmlReader; |
|
71 class CSenXmlServiceDescription; |
|
72 class CSenProviderPolicy; |
|
73 class SenXmlUtils; |
|
74 class SenDateUtils; |
|
75 class TXmlEngElement; |
|
76 class RSenDocument; |
|
77 |
|
78 // CONSTANTS |
|
79 //const ?type ?constant_var = ?constant; |
|
80 |
|
81 // MACROS |
|
82 //#define ?macro ?macro_def |
|
83 |
|
84 |
|
85 namespace{ |
|
86 _LIT8(KText,"text"); |
|
87 _LIT8(KText2,"text2"); |
|
88 _LIT8(KXmlSpecific, "\"&<>"); |
|
89 } |
|
90 |
|
91 // Logging path |
|
92 _LIT( KSenServDescLogPath, "\\logs\\testframework\\SenServDesc\\" ); |
|
93 // Log file |
|
94 _LIT( KSenServDescLogFile, "SenServDesc.txt" ); |
|
95 |
|
96 |
|
97 #define GETPTR & |
|
98 #define ENTRY(str,func) {_S(str), GETPTR func,0,0,0} |
|
99 #define FUNCENTRY(func) {_S(#func), GETPTR func,0,0,0} |
|
100 #define OOM_ENTRY(str,func,a,b,c) {_S(str), GETPTR func,a,b,c} |
|
101 #define OOM_FUNCENTRY(func,a,b,c) {_S(#func), GETPTR func,a,b,c} |
|
102 |
|
103 // FUNCTION PROTOTYPES |
|
104 //?type ?function_name(?arg_list); |
|
105 |
|
106 // FORWARD DECLARATIONS |
|
107 //class ?FORWARD_CLASSNAME; |
|
108 class CSenServDesc; |
|
109 |
|
110 // DATA TYPES |
|
111 //enum ?declaration |
|
112 //typedef ?declaration |
|
113 //extern ?data_type; |
|
114 // A typedef for function that does the actual testing, |
|
115 // function is a type |
|
116 // TInt CSenServDesc::<NameOfFunction> ( TTestResult& aResult ) |
|
117 typedef TInt (CSenServDesc::* TestFunction)(TTestResult&); |
|
118 |
|
119 // CLASS DECLARATION |
|
120 |
|
121 /** |
|
122 * An internal structure containing a test case name and |
|
123 * the pointer to function doing the test |
|
124 * |
|
125 * @lib ?library |
|
126 * @since ?Series60_version |
|
127 */ |
|
128 class TCaseInfoInternal |
|
129 { |
|
130 public: |
|
131 const TText* iCaseName; |
|
132 TestFunction iMethod; |
|
133 TBool iIsOOMTest; |
|
134 TInt iFirstMemoryAllocation; |
|
135 TInt iLastMemoryAllocation; |
|
136 }; |
|
137 |
|
138 // CLASS DECLARATION |
|
139 |
|
140 /** |
|
141 * A structure containing a test case name and |
|
142 * the pointer to function doing the test |
|
143 * |
|
144 * @lib ?library |
|
145 * @since ?Series60_version |
|
146 */ |
|
147 class TCaseInfo |
|
148 { |
|
149 public: |
|
150 TPtrC iCaseName; |
|
151 TestFunction iMethod; |
|
152 TBool iIsOOMTest; |
|
153 TInt iFirstMemoryAllocation; |
|
154 TInt iLastMemoryAllocation; |
|
155 |
|
156 TCaseInfo( const TText* a ) : iCaseName( (TText*) a ) |
|
157 { |
|
158 }; |
|
159 |
|
160 }; |
|
161 |
|
162 |
|
163 // CLASS DECLARATION |
|
164 |
|
165 /** |
|
166 * This a SenServDesc class. |
|
167 * ?other_description_lines |
|
168 * |
|
169 * @lib ?library |
|
170 * @since ?Series60_version |
|
171 */ |
|
172 NONSHARABLE_CLASS(CSenServDesc) : public CTestModuleBase |
|
173 { |
|
174 public: // Constructors and destructor |
|
175 |
|
176 |
|
177 /** |
|
178 * Two-phased constructor. |
|
179 */ |
|
180 static CSenServDesc* NewL(); |
|
181 |
|
182 /** |
|
183 * Destructor. |
|
184 */ |
|
185 virtual ~CSenServDesc(); |
|
186 |
|
187 public: // New functions |
|
188 |
|
189 /** |
|
190 * ?member_description. |
|
191 * @since ?Series60_version |
|
192 * @param ?arg1 ?description |
|
193 * @return ?description |
|
194 */ |
|
195 //?type ?member_function( ?type ?arg1 ); |
|
196 |
|
197 public: // Functions from base classes |
|
198 |
|
199 /** |
|
200 * From CTestModuleBase InitL is used to initialize the |
|
201 * SenServDesc. It is called once for every instance of |
|
202 * TestModuleSenServDesc after its creation. |
|
203 * @since ?Series60_version |
|
204 * @param aIniFile Initialization file for the test module (optional) |
|
205 * @param aFirstTime Flag is true when InitL is executed for first |
|
206 * created instance of SenServDesc. |
|
207 * @return Symbian OS error code |
|
208 */ |
|
209 TInt InitL( TFileName& aIniFile, TBool aFirstTime ); |
|
210 |
|
211 /** |
|
212 * From CTestModuleBase GetTestCasesL is used to inquiry test cases |
|
213 * from SenServDesc. |
|
214 * @since ?Series60_version |
|
215 * @param aTestCaseFile Test case file (optional) |
|
216 * @param aTestCases Array of TestCases returned to test framework |
|
217 * @return Symbian OS error code |
|
218 */ |
|
219 TInt GetTestCasesL( const TFileName& aTestCaseFile, |
|
220 RPointerArray<TTestCaseInfo>& aTestCases ); |
|
221 |
|
222 /** |
|
223 * From CTestModuleBase RunTestCaseL is used to run an individual |
|
224 * test case. |
|
225 * @since ?Series60_version |
|
226 * @param aCaseNumber Test case number |
|
227 * @param aTestCaseFile Test case file (optional) |
|
228 * @param aResult Test case result returned to test framework (PASS/FAIL) |
|
229 * @return Symbian OS error code (test case execution error, which is |
|
230 * not reported in aResult parameter as test case failure). |
|
231 */ |
|
232 TInt RunTestCaseL( const TInt aCaseNumber, |
|
233 const TFileName& aTestCaseFile, |
|
234 TTestResult& aResult ); |
|
235 |
|
236 /** |
|
237 * From CTestModuleBase; OOMTestQueryL is used to specify is particular |
|
238 * test case going to be executed using OOM conditions |
|
239 * @param aTestCaseFile Test case file (optional) |
|
240 * @param aCaseNumber Test case number (optional) |
|
241 * @param aFailureType OOM failure type (optional) |
|
242 * @param aFirstMemFailure The first heap memory allocation failure value (optional) |
|
243 * @param aLastMemFailure The last heap memory allocation failure value (optional) |
|
244 * @return TBool |
|
245 */ |
|
246 virtual TBool OOMTestQueryL( const TFileName& /* aTestCaseFile */, |
|
247 const TInt /* aCaseNumber */, |
|
248 TOOMFailureType& aFailureType, |
|
249 TInt& /* aFirstMemFailure */, |
|
250 TInt& /* aLastMemFailure */ ); |
|
251 |
|
252 /** |
|
253 * From CTestModuleBase; OOMTestInitializeL may be used to initialize OOM |
|
254 * test environment |
|
255 * @param aTestCaseFile Test case file (optional) |
|
256 * @param aCaseNumber Test case number (optional) |
|
257 * @return None |
|
258 */ |
|
259 virtual void OOMTestInitializeL( const TFileName& /* aTestCaseFile */, |
|
260 const TInt /* aCaseNumber */ ); |
|
261 |
|
262 /** |
|
263 * From CTestModuleBase; OOMHandleWarningL |
|
264 * @param aTestCaseFile Test case file (optional) |
|
265 * @param aCaseNumber Test case number (optional) |
|
266 * @param aFailNextValue FailNextValue for OOM test execution (optional) |
|
267 * @return None |
|
268 * |
|
269 * User may add implementation for OOM test warning handling. Usually no |
|
270 * implementation is required. |
|
271 */ |
|
272 virtual void OOMHandleWarningL( const TFileName& /* aTestCaseFile */, |
|
273 const TInt /* aCaseNumber */, |
|
274 TInt& /* aFailNextValue */); |
|
275 |
|
276 /** |
|
277 * From CTestModuleBase; OOMTestFinalizeL may be used to finalize OOM |
|
278 * test environment |
|
279 * @param aTestCaseFile Test case file (optional) |
|
280 * @param aCaseNumber Test case number (optional) |
|
281 * @return None |
|
282 * |
|
283 */ |
|
284 virtual void OOMTestFinalizeL( const TFileName& /* aTestCaseFile */, |
|
285 const TInt /* aCaseNumber */ ); |
|
286 |
|
287 protected: // New functions |
|
288 |
|
289 /** |
|
290 * ?member_description. |
|
291 * @since ?Series60_version |
|
292 * @param ?arg1 ?description |
|
293 * @return ?description |
|
294 */ |
|
295 //?type ?member_function( ?type ?arg1 ); |
|
296 |
|
297 protected: // Functions from base classes |
|
298 |
|
299 /** |
|
300 * From ?base_class ?member_description |
|
301 */ |
|
302 //?type ?member_function(); |
|
303 |
|
304 private: |
|
305 |
|
306 /** |
|
307 * C++ default constructor. |
|
308 */ |
|
309 CSenServDesc(); |
|
310 |
|
311 /** |
|
312 * By default Symbian 2nd phase constructor is private. |
|
313 */ |
|
314 void ConstructL(); |
|
315 |
|
316 // Prohibit copy constructor if not deriving from CBase. |
|
317 // ?classname( const ?classname& ); |
|
318 // Prohibit assigment operator if not deriving from CBase. |
|
319 // ?classname& operator=( const ?classname& ); |
|
320 |
|
321 /** |
|
322 * Function returning test case name and pointer to test case function. |
|
323 * @since ?Series60_version |
|
324 * @param aCaseNumber test case number |
|
325 * @return TCaseInfo |
|
326 */ |
|
327 const TCaseInfo Case ( const TInt aCaseNumber ) const; |
|
328 |
|
329 private: // New methods |
|
330 |
|
331 void SetupL(); |
|
332 |
|
333 void Teardown(); |
|
334 |
|
335 |
|
336 TPtr16 ConvertToPtr16LC(CSenBaseFragment &fragment); |
|
337 TPtr16 ConvertToPtr16LC(CSenBaseElement &element); |
|
338 |
|
339 |
|
340 TInt MT_CSenConsumerPolicy_NewLL( TTestResult& aResult ); |
|
341 TInt MT_CSenConsumerPolicy_NewLCL(TTestResult& aResult); |
|
342 TInt MT_CSenConsumerPolicy_NewL_1L(TTestResult& aResult); |
|
343 TInt MT_CSenConsumerPolicy_NewLC_1L(TTestResult& aResult); |
|
344 void MT_CSenConsumerPolicy_RebuildFromL(); |
|
345 void MT_CSenConsumerPolicy_AcceptsL(); |
|
346 |
|
347 TInt MT_CSenCredential_NewLL(TTestResult& aResult); |
|
348 TInt MT_CSenCredential_NewLCL(TTestResult& aResults); |
|
349 TInt MT_CSenCredential_NewL_1L(TTestResult& aResult); |
|
350 TInt MT_CSenCredential_NewLC_1L(TTestResult& aResult); |
|
351 TInt MT_CSenCredential_NewL_2L(TTestResult& aResult); |
|
352 TInt MT_CSenCredential_NewLC_2L(TTestResult& aResult); |
|
353 TInt MT_CSenCredential_IdL(TTestResult& aResult); |
|
354 TInt MT_CSenCredential_ValidUntilL(TTestResult& aResult); |
|
355 TInt MT_CSenCredential_SetValidUntilL(TTestResult& aResult); |
|
356 TInt MT_CSenCredential_StartElementLL(TTestResult& aResult); |
|
357 TInt MT_CSenCredential2_NewLL(TTestResult& aResult); |
|
358 TInt MT_CSenCredential2_NewLCL(TTestResult& aResults); |
|
359 TInt MT_CSenCredential2_NewL_1L(TTestResult& aResult); |
|
360 TInt MT_CSenCredential2_NewLC_1L(TTestResult& aResult); |
|
361 TInt MT_CSenCredential2_NewL_2L(TTestResult& aResult); |
|
362 TInt MT_CSenCredential2_NewLC_2L(TTestResult& aResult); |
|
363 TInt MT_CSenCredential2_NewL_3L(TTestResult& aResult); |
|
364 TInt MT_CSenCredential2_NewLC_3L(TTestResult& aResult); |
|
365 TInt MT_CSenCredential2_NewL_4L(TTestResult& aResult); |
|
366 TInt MT_CSenCredential2_NewLC_4L(TTestResult& aResult); |
|
367 TInt MT_CSenCredential2_IdL(TTestResult& aResult); |
|
368 TInt MT_CSenCredential2_ValidUntilL(TTestResult& aResult); |
|
369 TInt MT_CSenCredential2_SetValidUntilL(TTestResult& aResult); |
|
370 |
|
371 TInt MT_CSenFacet_NewLL( TTestResult& aResult ); |
|
372 TInt MT_CSenFacet_NewL_1L(TTestResult& aResult); |
|
373 TInt MT_CSenFacet_NewL_2L(TTestResult& aResult); |
|
374 TInt MT_CSenFacet_SetNameLL( TTestResult& aResult ); |
|
375 TInt MT_CSenFacet_SetTypeLL(TTestResult& aResult); |
|
376 TInt MT_CSenFacet_SetValueLL(TTestResult& aResult); |
|
377 TInt MT_CSenFacet_NameL(TTestResult& aResult); |
|
378 TInt MT_CSenFacet_TypeL(TTestResult& aResult); |
|
379 TInt MT_CSenFacet_ValueL(TTestResult& aResult); |
|
380 |
|
381 TInt MT_CSenIdentityProvider_NewL_L(TTestResult& aResult); |
|
382 TInt MT_CSenIdentityProvider_NewLCL( TTestResult& aResult ); |
|
383 TInt MT_CSenIdentityProvider_NewL_1L(TTestResult& aResult); |
|
384 TInt MT_CSenIdentityProvider_NewLC_1L(TTestResult& aResult); |
|
385 TInt MT_CSenIdentityProvider_NewL_2L(TTestResult& aResult); |
|
386 TInt MT_CSenIdentityProvider_NewLC_2L(TTestResult& aResult); |
|
387 TInt MT_CSenIdentityProvider_NewL_3L(TTestResult& aResult); |
|
388 TInt MT_CSenIdentityProvider_NewLC_3L(TTestResult& aResult); |
|
389 TInt MT_CSenIdentityProvider_AuthzIDL(TTestResult& aResult); |
|
390 TInt MT_CSenIdentityProvider_AdvisoryAuthnIDL(TTestResult& aResult); |
|
391 TInt MT_CSenIdentityProvider_ProviderIDL(TTestResult& aResult); |
|
392 TInt MT_CSenIdentityProvider_PasswordL(TTestResult& aResult); |
|
393 TInt MT_CSenIdentityProvider_IMEIL(TTestResult& aResult); |
|
394 TInt MT_CSenIdentityProvider_UserNameL(TTestResult& aResult); |
|
395 TInt MT_CSenIdentityProvider_SetProviderIDL(TTestResult& aResult); |
|
396 TInt MT_CSenIdentityProvider_SetServiceIDL(TTestResult& aResult); |
|
397 TInt MT_CSenIdentityProvider_IsTrustedByLL(TTestResult& aResult); |
|
398 TInt MT_CSenIdentityProvider_IsTrustedByL1L(TTestResult& aResult); |
|
399 TInt MT_CSenIdentityProvider_IsDefaultL(TTestResult& aResult); |
|
400 void MT_CSenIdentityProvider_SetUserInfoLL(); |
|
401 TInt MT_CSenIdentityProvider_HttpCredentialsLL(TTestResult& aResult); |
|
402 TInt MT_CSenIdentityProvider_NewElementNameL(TTestResult& aResult); |
|
403 |
|
404 TInt MT_CSenIdentityProviderIdArray8_NewLL(TTestResult& aResult); |
|
405 TInt MT_CSenIdentityProviderIdArray8_NewLCL(TTestResult& aResult); |
|
406 TInt MT_CSenIdentityProviderIdArray8_NewL_1L(TTestResult& aResult); |
|
407 TInt MT_CSenIdentityProviderIdArray8_NewLC_1L(TTestResult& aResult); |
|
408 TInt MT_CSenIdentityProviderIdArray8_IsStrictL(TTestResult& aResult); |
|
409 TInt MT_CSenIdentityProviderIdArray8_SetStrictL(TTestResult& aResult); |
|
410 |
|
411 void MT_CSenPolicy_NewLL(); |
|
412 void MT_CSenPolicy_NewLCL(); |
|
413 void MT_CSenPolicy_NewL_1L(); |
|
414 void MT_CSenPolicy_NewLC_1L(); |
|
415 void MT_CSenPolicy_SetIapIdLL(); |
|
416 void MT_CSenPolicy_IapIdL(); |
|
417 void MT_CSenPolicy_SetIdentityProviderIdsLL( TTestResult& aResult ); |
|
418 void MT_CSenPolicy_AddIdentityProviderIdLL( TTestResult& aResult ); |
|
419 void MT_CSenPolicy_RebuildFromL(); |
|
420 void MT_CSenPolicy_IdentityProviderIds8LL(); |
|
421 void MT_CSenPolicy_AcceptsL(); |
|
422 |
|
423 void MT_CSenProviderPolicy_NewLL(); |
|
424 void MT_CSenProviderPolicy_NewLCL(); |
|
425 void MT_CSenProviderPolicy_NewL_1L(); |
|
426 void MT_CSenProviderPolicy_NewLC_1L(); |
|
427 void MT_CSenProviderPolicy_AcceptsL(); |
|
428 void MT_CSenProviderPolicy_RebuildFromL(); |
|
429 |
|
430 TInt MT_CSenServicePattern_NewLL(TTestResult& aResult); |
|
431 TInt MT_CSenServicePattern_NewLCL(TTestResult& aResult); |
|
432 TInt MT_CSenServicePattern_NewL_1L(TTestResult& aResult); |
|
433 TInt MT_CSenServicePattern_NewLC_1L(TTestResult& aResult); |
|
434 TInt MT_CSenServicePattern_NewL_2L(TTestResult& aResult); |
|
435 TInt MT_CSenServicePattern_NewLC_2L(TTestResult& aResult); |
|
436 TInt MT_CSenServicePattern_ConsumerPolicyAsXmlLL(TTestResult& aResult); |
|
437 TInt MT_CSenServicePattern_MatchesL(TTestResult& aResult); |
|
438 // void MT_CSenServicePattern_StartElementLL();//need parsing some xml file |
|
439 TInt MT_CSenServicePattern_SetConsumerIapIdLL(TTestResult& aResult); |
|
440 TInt MT_CSenServicePattern_ConsumerIapIdL(TTestResult& aResult); |
|
441 TInt MT_CSenServicePattern_SetConsumerSnapIdLL(TTestResult& aResult); |
|
442 TInt MT_CSenServicePattern_ConsumerSnapIdL(TTestResult& aResult); |
|
443 TInt MT_CSenServicePattern_SetConsumerIdentityProviderIdsLL(TTestResult& aResult); |
|
444 TInt MT_CSenServicePattern_AddConsumerIdentityProviderIdLL(TTestResult& aResult); |
|
445 //TInt MT_CSenServicePattern_ConsumerPolicyAsXmlLL(TTestResult& aResult); |
|
446 |
|
447 TInt MT_CSenServicePattern_ConsumerIdentityProviderIds8LL(TTestResult& aResult); |
|
448 TInt MT_CSenServicePattern_AcceptsConsumerPolicyL(TTestResult& aResult); |
|
449 TInt MT_CSenServicePattern_RebuildFromConsumerPolicyL(TTestResult& aResult); |
|
450 TInt MT_CSenServicePattern_StartElementLL(TTestResult& aResult); |
|
451 |
|
452 |
|
453 TInt MT_CSenXmlServiceDescription_NewLL(TTestResult& aResult); |
|
454 TInt MT_CSenXmlServiceDescription_NewLCL(TTestResult& aResult); |
|
455 TInt MT_CSenXmlServiceDescription_NewL_1L(TTestResult& aResult); |
|
456 TInt MT_CSenXmlServiceDescription_NewLC_1L(TTestResult& aResult); |
|
457 TInt MT_CSenXmlServiceDescription_NewL_2L(TTestResult& aResult); |
|
458 TInt MT_CSenXmlServiceDescription_NewLC_2L(TTestResult& aResult); |
|
459 TInt MT_CSenXmlServiceDescription_SetFrameworkIdLL(TTestResult& aResult); |
|
460 TInt MT_CSenXmlServiceDescription_NewElementNameL(TTestResult& aResult); |
|
461 // void MT_CSenXmlServiceDescription_CredentialsL();//need parsing some xml file |
|
462 TInt MT_CSenXmlServiceDescription_SetIapIdLL(TTestResult& aResult); |
|
463 TInt MT_CSenXmlServiceDescription_IapIdL(TTestResult& aResult); |
|
464 TInt MT_CSenXmlServiceDescription_SetSnapIdLL(TTestResult& aResult); |
|
465 TInt MT_CSenXmlServiceDescription_SnapIdL(TTestResult& aResult); |
|
466 TInt MT_CSenXmlServiceDescription_SetIdentityProviderIdsLL(TTestResult& aResult); |
|
467 TInt MT_CSenXmlServiceDescription_AddIdentityProviderIdLL(TTestResult& aResult); |
|
468 TInt MT_CSenXmlServiceDescription_RebuildFromL(TTestResult& aResult); |
|
469 TInt MT_CSenXmlServiceDescription_IdentityProviderIds8LL(TTestResult& aResult); |
|
470 TInt MT_CSenXmlServiceDescription_AcceptsL(TTestResult& aResult); |
|
471 TInt MT_CSenXmlServiceDescription_DescriptionClassTypeL(TTestResult& aResult); |
|
472 TInt MT_CSenXmlServiceDescription_MatchesL(TTestResult& aResult); |
|
473 TInt MT_CSenXmlServiceDescription_SetProviderIDL( TTestResult& aResult ) ; |
|
474 TInt MT_CSenXmlServiceDescription_SetPolicyLL( TTestResult& aResult ) ; |
|
475 TInt MT_CSenXmlServiceDescription_SetPolicyL_1L( TTestResult& aResult ) ; |
|
476 TInt MT_CSenXmlServiceDescription_SetPolicyL_2L( TTestResult& aResult ) ; |
|
477 TInt MT_CSenXmlServiceDescription_ContractL(TTestResult& aResult); |
|
478 TInt MT_CSenXmlServiceDescription_HasFacetLL(TTestResult& aResult); |
|
479 TInt MT_CSenXmlServiceDescription_FacetValueL(TTestResult& aResult); |
|
480 TInt MT_CSenXmlServiceDescription_AddFacetLL(TTestResult& aResult); |
|
481 TInt MT_CSenXmlServiceDescription_SetFacetLL(TTestResult& aResult); |
|
482 TInt MT_CSenXmlServiceDescription_RemoveFacetL(TTestResult& aResult); |
|
483 TInt MT_CSenXmlServiceDescription_FacetsLL(TTestResult& aResult); |
|
484 TInt MT_CSenXmlServiceDescription_ScoreMatchLL(TTestResult& aResult); |
|
485 TInt MT_CSenXmlServiceDescription_EndpointL(TTestResult& aResult); |
|
486 TInt MT_CSenXmlServiceDescription_FrameworkIdL(TTestResult& aResult); |
|
487 TInt MT_CSenXmlServiceDescription_FrameworkVersionL(TTestResult& aResult); |
|
488 TInt MT_CSenXmlServiceDescription_SetContractLL(TTestResult& aResult); |
|
489 TInt MT_CSenXmlServiceDescription_SetEndPointLL(TTestResult& aResult); |
|
490 TInt MT_CSenXmlServiceDescription_AsXmlLL(TTestResult& aResult); |
|
491 TInt MT_CSenXmlServiceDescription_WriteAsXMLToLL(TTestResult& aResult); |
|
492 TInt MT_CSenXmlServiceDescription_SetAttributesLL(TTestResult& aResult); |
|
493 TInt MT_CSenXmlServiceDescription_CredentialsL(TTestResult& aResult); |
|
494 TInt MT_CSenXmlServiceDescription_AsXmlUnicodeLL(TTestResult& aResult); |
|
495 |
|
496 |
|
497 TInt MT_CSenXmlServiceDescription_HasEqualPrimaryKeysLL(TTestResult& aResult); |
|
498 TInt MT_CSenXmlServiceDescription_IsLocalLL(TTestResult& aResult); |
|
499 TInt MT_CSenXmlServiceDescription_SetTransportCueLL(TTestResult& aResult); |
|
500 TInt MT_CSenXmlServiceDescription_TransportCueL(TTestResult& aResult); |
|
501 //TInt MT_CSenXmlServiceDescription_ServicePolicyL(TTestResult& aResult); |
|
502 TInt MT_CSenXmlServiceDescription_ProviderIdL(TTestResult& aResult); |
|
503 TInt MT_CSenXmlServiceDescription_SetPromptUserInfoLL(TTestResult& aResult); |
|
504 TInt MT_CSenXmlServiceDescription_PromptUserInfoL(TTestResult& aResult); |
|
505 TInt MT_CSenXmlServiceDescription_StartEndElementLL(TTestResult& aResult); |
|
506 |
|
507 // void MT_CSenXmlServiceDescription_ResumeParsingFromLL();//need parsing some xml file |
|
508 TInt MT_CSenXmlServiceDescription_CopyFromLL( TTestResult& aResult ); |
|
509 |
|
510 |
|
511 public: // Data |
|
512 // ?one_line_short_description_of_data |
|
513 //?data_declaration; |
|
514 |
|
515 protected: // Data |
|
516 // ?one_line_short_description_of_data |
|
517 //?data_declaration; |
|
518 |
|
519 private: // Data |
|
520 // Pointer to test (function) to be executed |
|
521 TestFunction iMethod; |
|
522 |
|
523 // Pointer to logger |
|
524 CStifLogger * iLog; |
|
525 |
|
526 // ?one_line_short_description_of_data |
|
527 //?data_declaration; |
|
528 |
|
529 // Reserved pointer for future extension |
|
530 //TAny* iReserved; |
|
531 |
|
532 public: // Friend classes |
|
533 //?friend_class_declaration; |
|
534 protected: // Friend classes |
|
535 //?friend_class_declaration; |
|
536 private: // Friend classes |
|
537 //?friend_class_declaration; |
|
538 |
|
539 }; |
|
540 |
|
541 #endif // SENSERVDESCBCTEST_H |
|
542 |
|
543 // End of File |