aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/test_exiv2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/test_exiv2.c')
-rw-r--r--src/plugins/test_exiv2.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/plugins/test_exiv2.c b/src/plugins/test_exiv2.c
index c9850c7..87673a3 100644
--- a/src/plugins/test_exiv2.c
+++ b/src/plugins/test_exiv2.c
@@ -175,6 +175,14 @@ main (int argc, char *argv[])
175 0 175 0
176 }, 176 },
177 { 177 {
178 EXTRACTOR_METATYPE_LOCATION_CITY,
179 EXTRACTOR_METAFORMAT_UTF8,
180 "text/plain",
181 "Los Verdes",
182 strlen ("Los Verdes") + 1,
183 0
184 },
185 {
178 EXTRACTOR_METATYPE_LOCATION_SUBLOCATION, 186 EXTRACTOR_METATYPE_LOCATION_SUBLOCATION,
179 EXTRACTOR_METAFORMAT_UTF8, 187 EXTRACTOR_METAFORMAT_UTF8,
180 "text/plain", 188 "text/plain",
@@ -191,6 +199,14 @@ main (int argc, char *argv[])
191 0 199 0
192 }, 200 },
193 { 201 {
202 EXTRACTOR_METATYPE_LOCATION_COUNTRY,
203 EXTRACTOR_METAFORMAT_UTF8,
204 "text/plain",
205 "Spain",
206 strlen ("Spain") + 1,
207 0
208 },
209 {
194 EXTRACTOR_METATYPE_KEYWORDS, 210 EXTRACTOR_METATYPE_KEYWORDS,
195 EXTRACTOR_METAFORMAT_UTF8, 211 EXTRACTOR_METAFORMAT_UTF8,
196 "text/plain", 212 "text/plain",
@@ -270,6 +286,46 @@ main (int argc, char *argv[])
270 strlen ("Wo?") + 1, 286 strlen ("Wo?") + 1,
271 0 287 0
272 }, 288 },
289 {
290 EXTRACTOR_METATYPE_RATING,
291 EXTRACTOR_METAFORMAT_UTF8,
292 "text/plain",
293 "3",
294 strlen ("3") + 1,
295 0
296 },
297 {
298 EXTRACTOR_METATYPE_RATING,
299 EXTRACTOR_METAFORMAT_UTF8,
300 "text/plain",
301 "50",
302 strlen ("50") + 1,
303 0
304 },
305 {
306 EXTRACTOR_METATYPE_LOCATION_COUNTRY_CODE,
307 EXTRACTOR_METAFORMAT_UTF8,
308 "text/plain",
309 "ES",
310 strlen ("ES") + 1,
311 0
312 },
313 {
314 EXTRACTOR_METATYPE_CREATED_BY_SOFTWARE,
315 EXTRACTOR_METAFORMAT_UTF8,
316 "text/plain",
317 "Optio W30 Ver 1.00",
318 strlen ("Optio W30 Ver 1.00") + 1,
319 0
320 },
321 {
322 EXTRACTOR_METATYPE_SUBJECT,
323 EXTRACTOR_METAFORMAT_UTF8,
324 "text/plain",
325 "Wo?, Wo?|Fuerteventura, Was?, Was?|Anlass]|Urlaub, Was?|Aufnahme]|Landschaftsbild, Was?|Natur]|Wind, Was?|Natur]|Sand, Wo?|Fuerteventura|ProCenter Rene Egli, Was?|Sport, Was?|Sport|Windsurfen",
326 strlen ("Wo?, Wo?|Fuerteventura, Was?, Was?|Anlass]|Urlaub, Was?|Aufnahme]|Landschaftsbild, Was?|Natur]|Wind, Was?|Natur]|Sand, Wo?|Fuerteventura|ProCenter Rene Egli, Was?|Sport, Was?|Sport|Windsurfen") + 1,
327 0
328 },
273 { 0, 0, NULL, NULL, 0, -1 } 329 { 0, 0, NULL, NULL, 0, -1 }
274 }; 330 };
275 struct ProblemSet ps[] = 331 struct ProblemSet ps[] =