aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/test_it.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/test_it.c')
-rw-r--r--src/plugins/test_it.c63
1 files changed, 31 insertions, 32 deletions
diff --git a/src/plugins/test_it.c b/src/plugins/test_it.c
index c729a9a..408b009 100644
--- a/src/plugins/test_it.c
+++ b/src/plugins/test_it.c
@@ -36,41 +36,40 @@
36int 36int
37main (int argc, char *argv[]) 37main (int argc, char *argv[])
38{ 38{
39 struct SolutionData it_dawn_sol[] = 39 struct SolutionData it_dawn_sol[] = {
40 { 40 {
41 { 41 EXTRACTOR_METATYPE_MIMETYPE,
42 EXTRACTOR_METATYPE_MIMETYPE, 42 EXTRACTOR_METAFORMAT_UTF8,
43 EXTRACTOR_METAFORMAT_UTF8, 43 "text/plain",
44 "text/plain", 44 "audio/x-mod",
45 "audio/x-mod", 45 strlen ("audio/x-mod") + 1,
46 strlen ("audio/x-mod") + 1, 46 0
47 0 47 },
48 },
49 {
50 EXTRACTOR_METATYPE_TITLE,
51 EXTRACTOR_METAFORMAT_C_STRING,
52 "text/plain",
53 "Dawn",
54 strlen ("Dawn") + 1,
55 0
56 },
57 {
58 EXTRACTOR_METATYPE_FORMAT_VERSION,
59 EXTRACTOR_METAFORMAT_C_STRING,
60 "text/plain",
61 "1.2",
62 strlen ("1.2") + 1,
63 0
64 },
65 { 0, 0, NULL, NULL, 0, -1 }
66 };
67 struct ProblemSet ps[] =
68 { 48 {
69 { "testdata/it_dawn.it", 49 EXTRACTOR_METATYPE_TITLE,
70 it_dawn_sol }, 50 EXTRACTOR_METAFORMAT_C_STRING,
71 { NULL, NULL } 51 "text/plain",
72 }; 52 "Dawn",
53 strlen ("Dawn") + 1,
54 0
55 },
56 {
57 EXTRACTOR_METATYPE_FORMAT_VERSION,
58 EXTRACTOR_METAFORMAT_C_STRING,
59 "text/plain",
60 "1.2",
61 strlen ("1.2") + 1,
62 0
63 },
64 { 0, 0, NULL, NULL, 0, -1 }
65 };
66 struct ProblemSet ps[] = {
67 { "testdata/it_dawn.it",
68 it_dawn_sol },
69 { NULL, NULL }
70 };
73 return ET_main ("it", ps); 71 return ET_main ("it", ps);
74} 72}
75 73
74
76/* end of test_it.c */ 75/* end of test_it.c */