videocollection/videocollectionwrapper/tsrc/testvideomodel_p/inc/testvideomodel_p.h
equal
deleted
inserted
replaced
56 /** |
56 /** |
57 * emitted to verify albumListAvailableSlot |
57 * emitted to verify albumListAvailableSlot |
58 */ |
58 */ |
59 void signalAlbumListAvailable(TMPXItemId, CMPXMediaArray*); |
59 void signalAlbumListAvailable(TMPXItemId, CMPXMediaArray*); |
60 |
60 |
|
61 /** |
|
62 * emitted to verify itemModifiedSlot |
|
63 */ |
|
64 void signalItemModified(const TMPXItemId &); |
|
65 |
61 /** |
66 /** |
62 * emitted to test newVideoAvailableSlot |
67 * emitted to test newVideoAvailableSlot |
63 */ |
68 */ |
64 void signalNewVideoAvailable(CMPXMedia*); |
69 void signalNewVideoAvailable(CMPXMedia*); |
65 |
70 |
79 void signalAlbumDeleteFailure(QList<TMPXItemId>*); |
84 void signalAlbumDeleteFailure(QList<TMPXItemId>*); |
80 |
85 |
81 /** |
86 /** |
82 * emitted to get videoDetailsCompletedSlot to be called. |
87 * emitted to get videoDetailsCompletedSlot to be called. |
83 */ |
88 */ |
84 void signalVideoDetailsCompleted(TMPXItemId); |
89 void signalVideoDetailsCompleted(CMPXMedia*); |
85 |
90 |
86 // test functions for the test framework |
91 // test functions for the test framework |
87 private slots: |
92 private slots: |
88 /** |
93 /** |
89 * called before anything else when test starts |
94 * called before anything else when test starts |
148 * verifies getVideoAgeProfileFromIndex |
153 * verifies getVideoAgeProfileFromIndex |
149 */ |
154 */ |
150 void testGetVideoAgeProfileFromIndex(); |
155 void testGetVideoAgeProfileFromIndex(); |
151 |
156 |
152 /** |
157 /** |
153 * verifies getVideodurationFromIndex |
158 * verifies getVideodurationFromIndex and getVideoDuration |
154 */ |
159 */ |
155 void testGetVideodurationFromIndex(); |
160 void testGetVideodurationFromIndex(); |
156 |
161 |
157 /** |
162 /** |
158 * verifies getVideoDateFromIndex |
163 * verifies getVideoDateFromIndex and getVideoDate |
159 */ |
164 */ |
160 void testGetVideoDateFromIndex(); |
165 void testGetVideoDateFromIndex(); |
161 |
166 |
162 /** |
|
163 * verifies getMetaDataFromIndex |
|
164 */ |
|
165 void testGetMetaDataFromIndex(); |
|
166 |
|
167 /** |
167 /** |
168 * verifies markVideoRemoved and restoreRemoved |
168 * verifies markVideoRemoved and restoreRemoved |
169 */ |
169 */ |
170 void testVideoMarkAndRestoreDeleted(); |
170 void testVideoMarkAndRestoreDeleted(); |
171 |
171 |
206 |
206 |
207 /** |
207 /** |
208 * verifies albumListAvailableSlot |
208 * verifies albumListAvailableSlot |
209 */ |
209 */ |
210 void testAlbumListAvailableSlot(); |
210 void testAlbumListAvailableSlot(); |
|
211 |
|
212 /** |
|
213 * verifies testItemModifiedSlot |
|
214 */ |
|
215 void testItemModifiedSlot(); |
211 |
216 |
212 /** |
217 /** |
213 * verifies newVideoAvailableSlot |
218 * verifies newVideoAvailableSlot |
214 */ |
219 */ |
215 void testNewVideoAvailableSlot(); |
220 void testNewVideoAvailableSlot(); |