aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/test_s3m.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/test_s3m.c')
-rw-r--r--src/plugins/test_s3m.c48
1 files changed, 23 insertions, 25 deletions
diff --git a/src/plugins/test_s3m.c b/src/plugins/test_s3m.c
index 1487daf..af99df2 100644
--- a/src/plugins/test_s3m.c
+++ b/src/plugins/test_s3m.c
@@ -26,7 +26,6 @@
26#include "test_lib.h" 26#include "test_lib.h"
27 27
28 28
29
30/** 29/**
31 * Main function for the S3M testcase. 30 * Main function for the S3M testcase.
32 * 31 *
@@ -37,33 +36,32 @@
37int 36int
38main (int argc, char *argv[]) 37main (int argc, char *argv[])
39{ 38{
40 struct SolutionData s3m_2ndpm_sol[] = 39 struct SolutionData s3m_2ndpm_sol[] = {
41 { 40 {
42 { 41 EXTRACTOR_METATYPE_MIMETYPE,
43 EXTRACTOR_METATYPE_MIMETYPE, 42 EXTRACTOR_METAFORMAT_UTF8,
44 EXTRACTOR_METAFORMAT_UTF8, 43 "text/plain",
45 "text/plain", 44 "audio/x-s3m",
46 "audio/x-s3m", 45 strlen ("audio/x-s3m") + 1,
47 strlen ("audio/x-s3m") + 1, 46 0
48 0 47 },
49 },
50 {
51 EXTRACTOR_METATYPE_TITLE,
52 EXTRACTOR_METAFORMAT_UTF8,
53 "text/plain",
54 "UnreaL ][ / PM ",
55 strlen ("UnreaL ][ / PM ") + 1,
56 0
57 },
58 { 0, 0, NULL, NULL, 0, -1 }
59 };
60 struct ProblemSet ps[] =
61 { 48 {
62 { "testdata/s3m_2nd_pm.s3m", 49 EXTRACTOR_METATYPE_TITLE,
63 s3m_2ndpm_sol }, 50 EXTRACTOR_METAFORMAT_UTF8,
64 { NULL, NULL } 51 "text/plain",
65 }; 52 "UnreaL ][ / PM ",
53 strlen ("UnreaL ][ / PM ") + 1,
54 0
55 },
56 { 0, 0, NULL, NULL, 0, -1 }
57 };
58 struct ProblemSet ps[] = {
59 { "testdata/s3m_2nd_pm.s3m",
60 s3m_2ndpm_sol },
61 { NULL, NULL }
62 };
66 return ET_main ("s3m", ps); 63 return ET_main ("s3m", ps);
67} 64}
68 65
66
69/* end of test_s3m.c */ 67/* end of test_s3m.c */