Mercurial > hg > svcore
comparison data/fileio/test/EncodingTest.h @ 1597:ae9849c0815f bqaudiostream
Avoid compiler warning
author | Chris Cannam |
---|---|
date | Wed, 23 Jan 2019 10:31:30 +0000 |
parents | 81989085997b |
children | dbd13eb7dad1 |
comparison
equal
deleted
inserted
replaced
1596:81989085997b | 1597:ae9849c0815f |
---|---|
44 { utf8_name_tsprk, utf8_name_tsprk }, | 44 { utf8_name_tsprk, utf8_name_tsprk }, |
45 { utf8_name_sprkt, utf8_name_sprkt }, | 45 { utf8_name_sprkt, utf8_name_sprkt }, |
46 }; | 46 }; |
47 static const int mappingCount = 4; | 47 static const int mappingCount = 4; |
48 | 48 |
49 #ifdef Q_OS_MAC | |
50 // see note in addAudioFiles below | |
49 static const char *testFiles[][2] = { | 51 static const char *testFiles[][2] = { |
50 { "id3v2-iso-8859-1", "mp3" }, | 52 { "id3v2-iso-8859-1", "mp3" }, |
51 { "id3v2-ucs-2", "mp3" }, | 53 { "id3v2-ucs-2", "mp3" }, |
52 { utf8_name_tsprk, "flac" }, | 54 { utf8_name_tsprk, "flac" }, |
53 { utf8_name_tsprk, "m4a" }, | 55 { utf8_name_tsprk, "m4a" }, |
56 { utf8_name_tsprk, "opus" }, | 58 { utf8_name_tsprk, "opus" }, |
57 { utf8_name_sprkt, "mp3" }, | 59 { utf8_name_sprkt, "mp3" }, |
58 { utf8_name_sprkt, "ogg" }, | 60 { utf8_name_sprkt, "ogg" }, |
59 }; | 61 }; |
60 static const int testFileCount = 8; | 62 static const int testFileCount = 8; |
63 #endif | |
61 | 64 |
62 class EncodingTest : public QObject | 65 class EncodingTest : public QObject |
63 { | 66 { |
64 Q_OBJECT | 67 Q_OBJECT |
65 | 68 |