|
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(__TCONEBACKGROUND_H__) |
|
22 #define __TCONEBACKGROUND_H__ |
|
23 |
|
24 #include <test/testexecutestepbase.h> |
|
25 #include "TConeTestServer.h" |
|
26 #include "appfwk_test_AppUi.h" |
|
27 //! A CTestStep Derived Class.\n |
|
28 |
|
29 /** Incorporates the tests on background drawing interface.\n */ |
|
30 |
|
31 class CTConeBackgroundStep : public CTmsTestStep |
|
32 { |
|
33 public: |
|
34 CTConeBackgroundStep(); |
|
35 ~CTConeBackgroundStep(); |
|
36 // virtual TVerdict doTestStepPreambleL(); |
|
37 // virtual TVerdict doTestStepPostambleL(); |
|
38 virtual TVerdict doTestStepL(); |
|
39 void ConstructAppL(CCoeEnv* aCoe); |
|
40 |
|
41 private: |
|
42 }; |
|
43 |
|
44 class CConeBackgroundTestView; |
|
45 |
|
46 //! A CTestCoeAppUi derived class.\n |
|
47 |
|
48 /** AppUi Class for TConeBackground test step.\n */ |
|
49 |
|
50 class CConeBackgroundTestAppUi : public CTestCoeAppUi |
|
51 { |
|
52 public: |
|
53 CConeBackgroundTestAppUi(CTmsTestStep* aStep); |
|
54 ~CConeBackgroundTestAppUi(); |
|
55 void ConstructL(); |
|
56 private: // utility |
|
57 void RunTestStepL(TInt aStepNum); |
|
58 |
|
59 private: |
|
60 //! Pointer to the View Object.\n |
|
61 CConeBackgroundTestView* iView; |
|
62 }; |
|
63 |
|
64 //! Background Test Step name.\n |
|
65 _LIT(KTBackgroundStep,"TBackground"); |
|
66 |
|
67 #endif |
|
68 |
|
69 |