equal
deleted
inserted
replaced
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // |
14 // |
15 |
15 |
16 |
|
17 |
|
18 /** |
16 /** |
19 @file |
17 @file |
20 @internalComponent - Internal Symbian test code |
18 @internalComponent - Internal Symbian test code |
21 */ |
19 */ |
22 |
20 |
23 #ifndef __T_FOREGROUND_H |
21 #ifndef __T_FOREGROUND_H |
24 #define __T_FOREGROUND_H |
22 #define __T_FOREGROUND_H |
25 |
23 |
26 |
24 |
27 #include <TestExecuteStepBase.h> |
25 #include <test/testexecutestepbase.h> |
28 #include "ApparcTestServer.h" |
26 #include "apparctestserver.h" |
29 #include "appfwk_test_AppUi.h" |
27 #include "appfwk_test_appui.h" |
30 |
28 |
31 |
29 |
32 const TInt KTVwaStandardAppUiId=0; |
30 const TInt KTVwaStandardAppUiId=0; |
33 |
31 |
34 // |
32 // |
54 CCoeAppUi& iAppUi; |
52 CCoeAppUi& iAppUi; |
55 }; |
53 }; |
56 |
54 |
57 |
55 |
58 // |
56 // |
59 // A CTestStep Derived Class |
57 // A CTmsTestStep Derived Class |
60 // |
58 // |
61 class CTestForegroundStep : public CTestStep |
59 class CTestForegroundStep : public CTmsTestStep |
62 { |
60 { |
63 public: |
61 public: |
64 CTestForegroundStep(); |
62 CTestForegroundStep(); |
65 ~CTestForegroundStep(); |
63 ~CTestForegroundStep(); |
66 virtual TVerdict doTestStepL(); |
64 virtual TVerdict doTestStepL(); |
73 // A CTestCoeAppUi derived Class |
71 // A CTestCoeAppUi derived Class |
74 // |
72 // |
75 class CTestForegroundAppUi : public CTestCoeAppUi |
73 class CTestForegroundAppUi : public CTestCoeAppUi |
76 { |
74 { |
77 public: // from CCoeAppUi |
75 public: // from CCoeAppUi |
78 CTestForegroundAppUi(CTestStep* aStep); |
76 CTestForegroundAppUi(CTmsTestStep* aStep); |
79 ~CTestForegroundAppUi(); |
77 ~CTestForegroundAppUi(); |
80 void ConstructL(); |
78 void ConstructL(); |
81 void RunTestStepL(TInt aNumStep); |
79 void RunTestStepL(TInt aNumStep); |
82 private: |
80 private: |
83 CTestDriver* iDriver; |
81 CTestDriver* iDriver; |
89 // |
87 // |
90 _LIT(KTestForegroundStep, "T_Foreground"); |
88 _LIT(KTestForegroundStep, "T_Foreground"); |
91 |
89 |
92 |
90 |
93 #endif |
91 #endif |
|
92 |
|
93 |