|
1 /* |
|
2 * Copyright (c) 2010 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "ut_wrtdataplugin.h" |
|
19 #include "wrtdatapluginobserver.h" |
|
20 |
|
21 #include <digia/eunit/eunitmacros.h> |
|
22 #include <digia/eunit/eunitdecorators.h> |
|
23 #include <hscontentpublisher.h> |
|
24 #include <wrtdatapluginuids.hrh> |
|
25 #include <wrtdataplugin.h> |
|
26 |
|
27 _LIT( KWRTPublisherName,"WRTWidget" ); |
|
28 _LIT8( KNameSpace, "5" ); |
|
29 |
|
30 |
|
31 // - Construction ----------------------------------------------------------- |
|
32 |
|
33 UT_wrtdataplugin* UT_wrtdataplugin::NewL() |
|
34 { |
|
35 UT_wrtdataplugin* self = UT_wrtdataplugin::NewLC(); |
|
36 CleanupStack::Pop(); |
|
37 return self; |
|
38 } |
|
39 |
|
40 UT_wrtdataplugin* UT_wrtdataplugin::NewLC() |
|
41 { |
|
42 UT_wrtdataplugin* self = new( ELeave ) UT_wrtdataplugin(); |
|
43 CleanupStack::PushL( self ); |
|
44 self->ConstructL(); |
|
45 return self; |
|
46 } |
|
47 |
|
48 UT_wrtdataplugin::~UT_wrtdataplugin() |
|
49 { |
|
50 if ( iPlugin ) |
|
51 { |
|
52 delete iPlugin; |
|
53 } |
|
54 if ( iContentObserver ) |
|
55 { |
|
56 delete iContentObserver; |
|
57 } |
|
58 |
|
59 } |
|
60 |
|
61 UT_wrtdataplugin::UT_wrtdataplugin() |
|
62 { |
|
63 } |
|
64 |
|
65 void UT_wrtdataplugin::ConstructL() |
|
66 { |
|
67 CEUnitTestSuiteClass::ConstructL(); |
|
68 } |
|
69 |
|
70 // - Test methods ----------------------------------------------------------- |
|
71 |
|
72 |
|
73 void UT_wrtdataplugin::TestGetIdL() |
|
74 { |
|
75 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
76 } |
|
77 |
|
78 void UT_wrtdataplugin::TestGetTypeL() |
|
79 { |
|
80 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
81 } |
|
82 |
|
83 void UT_wrtdataplugin::TestRefreshL() |
|
84 { |
|
85 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
86 } |
|
87 |
|
88 void UT_wrtdataplugin::TestIsActive() |
|
89 { |
|
90 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
91 } |
|
92 |
|
93 void UT_wrtdataplugin::TestPublishTextL() |
|
94 { |
|
95 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
96 } |
|
97 |
|
98 void UT_wrtdataplugin::TestPublishImageHandleL() |
|
99 { |
|
100 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
101 } |
|
102 |
|
103 void UT_wrtdataplugin::TestPublishImagePathL() |
|
104 { |
|
105 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
106 } |
|
107 |
|
108 void UT_wrtdataplugin::TestClean() |
|
109 { |
|
110 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
111 } |
|
112 |
|
113 void UT_wrtdataplugin::TestShowLoadingIcon() |
|
114 { |
|
115 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
116 } |
|
117 |
|
118 void UT_wrtdataplugin::TestHideLoadingIcon() |
|
119 { |
|
120 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
121 } |
|
122 |
|
123 void UT_wrtdataplugin::TestData() |
|
124 { |
|
125 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
126 } |
|
127 |
|
128 void UT_wrtdataplugin::TestNetworkStatus() |
|
129 { |
|
130 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
131 } |
|
132 |
|
133 void UT_wrtdataplugin::TestStartTimer() |
|
134 { |
|
135 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
136 } |
|
137 |
|
138 |
|
139 void UT_wrtdataplugin::TestConfigureL() |
|
140 { |
|
141 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
142 } |
|
143 |
|
144 void UT_wrtdataplugin::TestRegisterL() |
|
145 { |
|
146 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
147 } |
|
148 |
|
149 void UT_wrtdataplugin::TestUpdatePublisherStatusL() |
|
150 { |
|
151 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
152 } |
|
153 |
|
154 void UT_wrtdataplugin::TestPublishInitialDataL() |
|
155 { |
|
156 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
157 } |
|
158 |
|
159 void UT_wrtdataplugin::TestPublishDefaultImageL() |
|
160 { |
|
161 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
162 } |
|
163 |
|
164 void UT_wrtdataplugin::TestPublishL() |
|
165 { |
|
166 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
167 } |
|
168 |
|
169 void UT_wrtdataplugin::TestDataRefreshL() |
|
170 { |
|
171 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
172 } |
|
173 |
|
174 void UT_wrtdataplugin::TestExecuteActionL() |
|
175 { |
|
176 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
177 } |
|
178 |
|
179 void UT_wrtdataplugin::TestIsPluginActive() |
|
180 { |
|
181 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
182 } |
|
183 |
|
184 void UT_wrtdataplugin::TestNotifyPublisherL() |
|
185 { |
|
186 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
187 } |
|
188 |
|
189 void UT_wrtdataplugin::TestSetCommandBuffer() |
|
190 { |
|
191 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
192 } |
|
193 |
|
194 void UT_wrtdataplugin::TestHandleNotifyL() |
|
195 { |
|
196 EUNIT_ASSERT_DESC( EFalse, "Test not implemeted."); |
|
197 } |
|
198 |
|
199 |
|
200 // - EUnit test table ------------------------------------------------------- |
|
201 |
|
202 EUNIT_BEGIN_TEST_TABLE( |
|
203 UT_wrtdataplugin, |
|
204 "Add test suite description here.", |
|
205 "MODULE" ) |
|
206 |
|
207 /*EUNIT_TEST( |
|
208 "StartL", |
|
209 "WRTDataPlugin", |
|
210 "StartL", |
|
211 "FUNCTIONALITY", |
|
212 SetupL, TestStartL, Teardown) |
|
213 */ |
|
214 EUNIT_END_TEST_TABLE |