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