equal
deleted
inserted
replaced
28 class VideoListView; |
28 class VideoListView; |
29 class VideoProxyModelGeneric; |
29 class VideoProxyModelGeneric; |
30 class VideoCollectionWrapper; |
30 class VideoCollectionWrapper; |
31 class VideoCollectionUiLoader; |
31 class VideoCollectionUiLoader; |
32 class VideoListWidget; |
32 class VideoListWidget; |
|
33 class HbToolBarExtension; |
33 |
34 |
34 class TestListView : public QObject |
35 class TestListView : public QObject |
35 { |
36 { |
36 Q_OBJECT |
37 Q_OBJECT |
37 |
38 |
73 * Tests initializeView. |
74 * Tests initializeView. |
74 */ |
75 */ |
75 void testInitializeView(); |
76 void testInitializeView(); |
76 |
77 |
77 /** |
78 /** |
78 * Tests menus. |
|
79 */ |
|
80 void testMenus(); |
|
81 |
|
82 /** |
|
83 * Tests createAction. |
79 * Tests createAction. |
84 */ |
80 */ |
85 void testCreateAction(); |
81 void testCreateToolbar(); |
86 |
82 |
87 /** |
83 /** |
88 * Tests activatView. |
84 * Tests activatView. |
89 */ |
85 */ |
90 void testActivateView(); |
86 void testActivateView(); |
108 * Tests albumListReadySlot(); |
104 * Tests albumListReadySlot(); |
109 */ |
105 */ |
110 void testAlbumListReadySlot(); |
106 void testAlbumListReadySlot(); |
111 |
107 |
112 /** |
108 /** |
113 * Tests deleteItemsSlot. |
|
114 */ |
|
115 void testDeleteItemsSlot(); |
|
116 |
|
117 /** |
|
118 * Tests aboutToShowMainMenuSlot. |
|
119 */ |
|
120 void testAboutToShowMainMenuSlot(); |
|
121 |
|
122 /** |
|
123 * Tests handleStatusSlot. |
109 * Tests handleStatusSlot. |
124 */ |
110 */ |
125 void testHandleStatusSlot(); |
111 void testHandleStatusSlot(); |
126 |
112 |
127 /** |
113 /** |
133 * Tests openCollectionViewSlot. |
119 * Tests openCollectionViewSlot. |
134 */ |
120 */ |
135 void testOpenCollectionViewSlot(); |
121 void testOpenCollectionViewSlot(); |
136 |
122 |
137 /** |
123 /** |
138 * Tests openOperatorServiceSlot. |
|
139 */ |
|
140 void testOpenOperatorServiceSlot(); |
|
141 |
|
142 /** |
|
143 * Tests startSortingSlot. |
|
144 */ |
|
145 void testStartSortingSlot(); |
|
146 |
|
147 /** |
|
148 * Tests view when orientation changes. |
124 * Tests view when orientation changes. |
149 */ |
125 */ |
150 void testOrientationSlots(); |
126 void testOrientationSlots(); |
151 |
127 |
152 /** |
128 /** |
181 |
157 |
182 /** |
158 /** |
183 * Tests orientationChangedSlot |
159 * Tests orientationChangedSlot |
184 */ |
160 */ |
185 void testOrientationChangedSlot(); |
161 void testOrientationChangedSlot(); |
186 |
162 |
187 /** |
163 /** |
188 * Tests createCollectionSlot |
164 * Tests toolbarActionsChanged |
189 */ |
165 */ |
190 void testCreateCollectionSlot(); |
166 void testToolbarActionsChanged(); |
191 |
167 |
192 /** |
168 /** |
193 * Tests addVideosToCollectionSlot |
169 * Tests toolbarExtensionChanged |
194 */ |
170 */ |
195 void testAddVideosToCollectionSlot(); |
171 void testToolbarExtensionChanged(); |
196 |
172 |
197 /** |
|
198 * Tests removeVideosFromCollectionSlot |
|
199 */ |
|
200 void testRemoveVideosFromCollectionSlot(); |
|
201 |
|
202 /** |
|
203 * Tests createOperatorServicesToolbar |
|
204 */ |
|
205 void testCreateOperatorServicesToolbar(); |
|
206 |
|
207 signals: |
173 signals: |
208 |
174 |
209 // Signals needed in tests. |
175 // Signals needed in tests. |
210 void testSignal(); |
176 void testSignal(); |
211 |
177 |
227 |
193 |
228 void testSignal(Qt::Orientation); |
194 void testSignal(Qt::Orientation); |
229 |
195 |
230 void testSignal(const HbEffect::EffectStatus &status); |
196 void testSignal(const HbEffect::EffectStatus &status); |
231 |
197 |
|
198 void testSignal(QList<QAction*>); |
|
199 |
|
200 void testSignal(HbToolBarExtension*); |
|
201 |
232 private: |
202 private: |
233 |
203 |
234 VideoCollectionUiLoader* mUiLoader; |
204 VideoCollectionUiLoader* mUiLoader; |
235 |
205 |
236 VideoListView* mTestView; |
206 VideoListView* mTestView; |