1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Kernel testclass declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef TEMPLATEKERNELSCRIPTXXX_H |
|
19 #define TEMPLATEKERNELSCRIPTXXX_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <StifKernelTestClassBase.h> |
|
23 |
|
24 // CONSTANTS |
|
25 |
|
26 // MACROS |
|
27 _LIT( KDriverName, "TemplateKernelScriptXXX" ); |
|
28 |
|
29 // FUNCTION PROTOTYPES |
|
30 |
|
31 // FORWARD DECLARATIONS |
|
32 |
|
33 // DATA TYPES |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 /** |
|
40 * DTemplateKernelScriptXXXDriver is the device driver factory that will |
|
41 * instantiate the physical channel, which is the actual |
|
42 * physical driver. |
|
43 * |
|
44 * @lib ?library |
|
45 * @since ?Series60_version |
|
46 */ |
|
47 class DTemplateKernelScriptXXXDriver : public DStifKernelTestClassBaseDriver |
|
48 { |
|
49 |
|
50 public: |
|
51 DTemplateKernelScriptXXXDriver( const TDesC& aName ) : |
|
52 DStifKernelTestClassBaseDriver( aName ){}; |
|
53 |
|
54 public: |
|
55 |
|
56 // Logical Channel creation |
|
57 TInt Create(DLogicalChannelBase*& aChannel); |
|
58 }; |
|
59 |
|
60 |
|
61 // CLASS DECLARATION |
|
62 |
|
63 /** |
|
64 * DTemplateKernelScriptXXX is a kernel test class |
|
65 * for STIF Test Framework TestScripter. |
|
66 * ?other_description_lines |
|
67 * |
|
68 * @lib ?library |
|
69 * @since ?Series60_version |
|
70 */ |
|
71 class DTemplateKernelScriptXXX : public DStifKernelTestClassBase |
|
72 { |
|
73 |
|
74 public: |
|
75 DTemplateKernelScriptXXX( DLogicalDevice* aDevice ) : |
|
76 DStifKernelTestClassBase( aDevice ){}; |
|
77 ~DTemplateKernelScriptXXX(){}; |
|
78 |
|
79 public: |
|
80 // Derived class must implement, runs a script line |
|
81 TInt RunMethodL( const TDesC& aMethod, const TDesC& aParams ); |
|
82 |
|
83 // Second phase constructor for DLogicalChannelBase object in EKA2 |
|
84 virtual TInt DoCreate( TInt aUnit, const TDesC8* aInfo, const TVersion& aVer ); |
|
85 |
|
86 // Called from destructor. |
|
87 void Delete(); |
|
88 |
|
89 protected: |
|
90 |
|
91 private: |
|
92 /** |
|
93 * Test methods. |
|
94 */ |
|
95 TInt ExampleL( const TDesC& aParams ); |
|
96 |
|
97 private: |
|
98 |
|
99 }; |
|
100 |
|
101 #endif // TEMPLATEKERNELSCRIPTXXX_H |
|
102 |
|
103 // End of File |
|