aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/test_xm.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-03 12:55:36 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-03 12:55:36 +0100
commitf22abb4d1339fe55f5c10545de4b80fe3ac6aebe (patch)
treead9ebbbeb6584d64310088b9769704f048f9daa4 /src/plugins/test_xm.c
parent0f3f4f01cce39f83f029caa4c285035c409c0ced (diff)
downloadlibextractor-f22abb4d1339fe55f5c10545de4b80fe3ac6aebe.tar.gz
libextractor-f22abb4d1339fe55f5c10545de4b80fe3ac6aebe.zip
uncrustifying indentation
Diffstat (limited to 'src/plugins/test_xm.c')
-rw-r--r--src/plugins/test_xm.c80
1 files changed, 39 insertions, 41 deletions
diff --git a/src/plugins/test_xm.c b/src/plugins/test_xm.c
index c4a6c27..776bb20 100644
--- a/src/plugins/test_xm.c
+++ b/src/plugins/test_xm.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 XM testcase. 30 * Main function for the XM testcase.
32 * 31 *
@@ -37,49 +36,48 @@
37int 36int
38main (int argc, char *argv[]) 37main (int argc, char *argv[])
39{ 38{
40 struct SolutionData xm_diesel_sol[] = 39 struct SolutionData xm_diesel_sol[] = {
40 {
41 EXTRACTOR_METATYPE_MIMETYPE,
42 EXTRACTOR_METAFORMAT_UTF8,
43 "text/plain",
44 "audio/x-xm",
45 strlen ("audio/x-xm") + 1,
46 0
47 },
41 { 48 {
42 { 49 EXTRACTOR_METATYPE_FORMAT_VERSION,
43 EXTRACTOR_METATYPE_MIMETYPE, 50 EXTRACTOR_METAFORMAT_UTF8,
44 EXTRACTOR_METAFORMAT_UTF8, 51 "text/plain",
45 "text/plain", 52 "1.4",
46 "audio/x-xm", 53 strlen ("1.4") + 1,
47 strlen ("audio/x-xm") + 1, 54 0
48 0 55 },
49 },
50 {
51 EXTRACTOR_METATYPE_FORMAT_VERSION,
52 EXTRACTOR_METAFORMAT_UTF8,
53 "text/plain",
54 "1.4",
55 strlen ("1.4") + 1,
56 0
57 },
58 {
59 EXTRACTOR_METATYPE_TITLE,
60 EXTRACTOR_METAFORMAT_UTF8,
61 "text/plain",
62 "diesel",
63 strlen ("diesel") + 1,
64 0
65 },
66 {
67 EXTRACTOR_METATYPE_CREATED_BY_SOFTWARE,
68 EXTRACTOR_METAFORMAT_UTF8,
69 "text/plain",
70 "FastTracker v2.00",
71 strlen ("FastTracker v2.00") + 1,
72 0
73 },
74 { 0, 0, NULL, NULL, 0, -1 }
75 };
76 struct ProblemSet ps[] =
77 { 56 {
78 { "testdata/xm_diesel.xm", 57 EXTRACTOR_METATYPE_TITLE,
79 xm_diesel_sol }, 58 EXTRACTOR_METAFORMAT_UTF8,
80 { NULL, NULL } 59 "text/plain",
81 }; 60 "diesel",
61 strlen ("diesel") + 1,
62 0
63 },
64 {
65 EXTRACTOR_METATYPE_CREATED_BY_SOFTWARE,
66 EXTRACTOR_METAFORMAT_UTF8,
67 "text/plain",
68 "FastTracker v2.00",
69 strlen ("FastTracker v2.00") + 1,
70 0
71 },
72 { 0, 0, NULL, NULL, 0, -1 }
73 };
74 struct ProblemSet ps[] = {
75 { "testdata/xm_diesel.xm",
76 xm_diesel_sol },
77 { NULL, NULL }
78 };
82 return ET_main ("xm", ps); 79 return ET_main ("xm", ps);
83} 80}
84 81
82
85/* end of test_xm.c */ 83/* end of test_xm.c */