|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent - Internal Symbian test code |
|
19 */ |
|
20 |
|
21 #if (!defined __T_SERV2_STEP_H__) |
|
22 #define __T_SERV2_STEP_H__ |
|
23 |
|
24 #include "apparctestserver.h" |
|
25 |
|
26 //! A CT_Serv2Step test class. |
|
27 |
|
28 /** This class tests wrapper to Application Architecture Server. */ |
|
29 |
|
30 class CT_Serv2Step :public CTestStep |
|
31 { |
|
32 public: |
|
33 CT_Serv2Step(); |
|
34 ~CT_Serv2Step(); |
|
35 virtual TVerdict doTestStepPreambleL(); |
|
36 virtual TVerdict doTestStepPostambleL(); |
|
37 virtual TVerdict doTestStepL(); |
|
38 //private: |
|
39 void DoInterrogationTestsL(RApaLsSession& aLs); |
|
40 void DoEnquiryTestsL(RApaLsSession& aLs); |
|
41 void DoStartAppTestsL(RApaLsSession& aLs); |
|
42 void StartAppTests1L(RApaLsSession& aLs); |
|
43 void DoAppInfoTests(RApaLsSession& aLs); |
|
44 void AppInfoTest1(RApaLsSession& aLs); |
|
45 void AppInfoTest3(RApaLsSession& aLs); |
|
46 void AppInfoTest4(RApaLsSession& aLs); |
|
47 void AppInfoTest5(RApaLsSession& aLs); |
|
48 void DoInstallationTestL (RApaLsSession ls); |
|
49 void DoNumDefIconsTestL(RApaLsSession& aSession); |
|
50 void DoCheckServerIconLoadingBySizeL(RApaLsSession& aLs); |
|
51 void LaunchAppThruCreateDocL(RApaLsSession& aLs); |
|
52 TFileName SearchAndReturnCompleteFileName(const TDesC& aFileName); |
|
53 TBool ComparePaths(const TDesC& aFilename, const TDesC& aPath); |
|
54 TInt DoServComTestL(); |
|
55 |
|
56 void DoGetAllApps(RApaLsSession& aLs); |
|
57 void DoGetEmbeddableApps(RApaLsSession& aLs); |
|
58 void DoEmbeddableAppCount(RApaLsSession& aLs); |
|
59 void DoGetAppCapability(RApaLsSession& aLs); |
|
60 void DoGetFilteredApps1(RApaLsSession& aLs); |
|
61 void DoGetFilteredApps2(RApaLsSession& aLs); |
|
62 void DoGetFilteredApps3(RApaLsSession& aLs); |
|
63 void DoGetFilteredApps4(RApaLsSession& aLs); |
|
64 void DoGetFilteredApps5(RApaLsSession& aLs); |
|
65 void DoGetFilteredApps6(RApaLsSession& aLs); |
|
66 void DoTestEmbeddabilityFilter1(); |
|
67 void DoTestEmbeddabilityFilter2(); |
|
68 void DoTestEmbeddabilityFilter3(); |
|
69 void DoTestEmbeddabilityFilter4(); |
|
70 void DoTestEmbeddabilityFilter5(); |
|
71 void DoRecognizeDataL(RApaLsSession& aLs); |
|
72 void TestRecognitionCacheL(RApaLsSession& aLs); |
|
73 }; |
|
74 |
|
75 _LIT(KT_Serv2Step,"T_Serv2"); |
|
76 #endif |
|
77 |