|
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 |
|
22 #if !defined(__T_RULEBASEDLAUNCHING_STEP_H__) |
|
23 #define __T_RULEBASEDLAUNCHING_STEP_H__ |
|
24 |
|
25 #include <apgcli.h> |
|
26 #include "apparctestserver.h" |
|
27 #include "appfwk_test_appui.h" |
|
28 #include <apgtask.h> |
|
29 |
|
30 class CTRuleBasedLaunchingStep : public CTestStep |
|
31 { |
|
32 public: |
|
33 CTRuleBasedLaunchingStep(); |
|
34 virtual TVerdict doTestStepL(); |
|
35 void ExecuteL(); |
|
36 private: |
|
37 ~CTRuleBasedLaunchingStep(); |
|
38 TInt AppLaunchedL(RApaLsSession& aLs, const TUid& AppUid); |
|
39 TInt AppLaunchedL(RApaLsSession& aLs, const TDesC& aAppFullFileName); |
|
40 TInt LaunchAppFromAssociatedDocument(RApaLsSession& aLs, const TUid& aAppUid); |
|
41 TInt AppClosed(TUid AppUid); |
|
42 void ClosedAllTestApp(); |
|
43 |
|
44 void TestLaunchNonNativeApplicationForRuleBasedL(RApaLsSession& aApparcServer); |
|
45 void LaunchAppTests1L(RApaLsSession& aLs); |
|
46 void LaunchAppTests2L(RApaLsSession& aLs); |
|
47 void LaunchAppTests3L(RApaLsSession& aLs); |
|
48 void LaunchAppTests4L(RApaLsSession& aLs); |
|
49 void LaunchAppTests5L(RApaLsSession& aLs); |
|
50 void LaunchAppTests6L(RApaLsSession& aLs); |
|
51 private: |
|
52 RFs iFs; |
|
53 RWsSession iWs; |
|
54 }; |
|
55 |
|
56 _LIT(KT_RuleBasedLaunchingStep,"T_RuleBasedLaunching"); |
|
57 |
|
58 #endif |