1 /* |
|
2 * Copyright (c) 2007 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: Define node test case |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_CBCTESTDOMM3GNODECASE_H |
|
20 #define C_CBCTESTDOMM3GNODECASE_H |
|
21 |
|
22 #include "bctestcase.h" |
|
23 |
|
24 class CBCTestDomM3gContainer; |
|
25 class CCoeControl; |
|
26 |
|
27 /** |
|
28 * test case for m3g node classes |
|
29 */ |
|
30 class CBCTestDomM3gNodeCase : public CBCTestCase |
|
31 { |
|
32 public: // constructor and destructor |
|
33 |
|
34 /** |
|
35 * Symbian 2nd static constructor |
|
36 */ |
|
37 static CBCTestDomM3gNodeCase* NewL( CBCTestDomM3gContainer* aContainer ); |
|
38 |
|
39 /** |
|
40 * Destructor |
|
41 */ |
|
42 virtual ~CBCTestDomM3gNodeCase(); |
|
43 |
|
44 // from CBCTestCase |
|
45 |
|
46 /** |
|
47 * Execute corresponding test functions for UI command |
|
48 * @param aCmd, UI command |
|
49 */ |
|
50 void RunL( TInt aCmd ); |
|
51 |
|
52 protected: // new functions |
|
53 |
|
54 /** |
|
55 * Build autotest script |
|
56 */ |
|
57 void BuildScriptL(); |
|
58 |
|
59 /* |
|
60 * Test RM3GTransformable API(s). |
|
61 */ |
|
62 void TestRM3GTransformableL(); |
|
63 |
|
64 /* |
|
65 * Test RM3GNode API(s). |
|
66 */ |
|
67 void TestRM3GNodeL(); |
|
68 |
|
69 /* |
|
70 * Test RM3GLight API(s). |
|
71 */ |
|
72 void TestRM3GLightL(); |
|
73 |
|
74 /* |
|
75 * Test RM3GCamera API(s). |
|
76 */ |
|
77 void TestRM3GCameraL(); |
|
78 |
|
79 /* |
|
80 * Test RM3GGroup API(s). |
|
81 */ |
|
82 void TestRM3GGroupL(); |
|
83 |
|
84 /* |
|
85 * Test RM3GWorld API(s). |
|
86 */ |
|
87 void TestRM3GWorldL(); |
|
88 |
|
89 /* |
|
90 * Test RM3GSprite API(s). |
|
91 */ |
|
92 void TestRM3GSpriteL(); |
|
93 |
|
94 /* |
|
95 * Test RM3Mesh API(s). |
|
96 */ |
|
97 void TestRM3MeshL(); |
|
98 |
|
99 /* |
|
100 * Test RM3GMorphingMesh API(s). |
|
101 */ |
|
102 void TestRM3GMorphingMeshL(); |
|
103 |
|
104 /* |
|
105 * Test RM3GSkinnedMesh API(s). |
|
106 */ |
|
107 void TestRM3GSkinnedMeshL(); |
|
108 |
|
109 private: // constructor |
|
110 |
|
111 /** |
|
112 * C++ default constructor |
|
113 */ |
|
114 CBCTestDomM3gNodeCase( CBCTestDomM3gContainer* aContainer ); |
|
115 |
|
116 /** |
|
117 * Symbian 2nd constructor |
|
118 */ |
|
119 void ConstructL(); |
|
120 |
|
121 private: // data |
|
122 |
|
123 /** |
|
124 * Pointer to container. |
|
125 * not own |
|
126 */ |
|
127 CBCTestDomM3gContainer* iContainer; |
|
128 |
|
129 }; |
|
130 |
|
131 #endif //C_CBCTESTDOMM3GNODECASE_H |
|
132 |
|