Tag Parser
6.2.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The OverallTests class tests reading and writing tags and parsing technical information for all supported container/tag formats. More...
Public Member Functions | |
void | setUp () |
Creates some test meta data. More... | |
void | tearDown () |
void | parseFile (const string &path, void(OverallTests::*checkRoutine)(void)) |
Parses the specified file and tests the results using the specified check routine. More... | |
void | makeFile (const string &path, void(OverallTests::*modifyRoutine)(void), void(OverallTests::*checkRoutine)(void)) |
Parses the specified file, modifies it using the specified modify routine, parses the file again and checks the results using the specified check routine. More... | |
void | checkMkvTestfile1 () |
Checks "matroska_wave1/test1.mkv". More... | |
void | checkMkvTestfile2 () |
Checks "matroska_wave1/test2.mkv". More... | |
void | checkMkvTestfile3 () |
Checks "matroska_wave1/test3.mkv". More... | |
void | checkMkvTestfile4 () |
Checks "matroska_wave1/test4.mkv". More... | |
void | checkMkvTestfile5 () |
Checks "matroska_wave1/test5.mkv". More... | |
void | checkMkvTestfile6 () |
Checks "matroska_wave1/test6.mkv". More... | |
void | checkMkvTestfile7 () |
Checks "matroska_wave1/test7.mkv". More... | |
void | checkMkvTestfile8 () |
Checks "matroska_wave1/test8.mkv". More... | |
void | checkMkvTestMetaData () |
Checks whether test meta data for Matroska files has been applied correctly. More... | |
void | checkMkvPaddingConstraints () |
Checks whether padding constraints are met. More... | |
void | checkMp4Testfile1 () |
Checks "mtx-test-data/mp4/10-DanseMacabreOp.40.m4a". More... | |
void | checkMp4Testfile2 () |
Checks "mtx-test-data/mp4/1080p-DTS-HD-7.1.mp4". More... | |
void | checkMp4Testfile3 () |
Checks "mtx-test-data/mp4/dash/dragon-age-inquisition-H1LkM6IVlm4-video.mp4". More... | |
void | checkMp4Testfile4 () |
Checks "mtx-test-data/mp4/alac/othertest-itunes.m4a". More... | |
void | checkMp4Testfile5 () |
Checks "mtx-test-data/aac/he-aacv2-ps.m4a". More... | |
void | checkMp4TestMetaData () |
Checks whether test meta data for MP4 files has been applied correctly. More... | |
void | checkMp4PaddingConstraints () |
Checks whether padding constraints are met. More... | |
void | checkMp3Testfile1 () |
Checks "mtx-test-data/mp3/id3-tag-and-xing-header.mp3". More... | |
void | checkMp3TestMetaData () |
Checks whether test meta data for MP3 files has been applied correctly. More... | |
void | checkMp3PaddingConstraints () |
Checks whether padding constraints are met. More... | |
void | checkOggTestfile1 () |
Checks "mtx-test-data/ogg/qt4dance_medium.ogg". More... | |
void | checkOggTestfile2 () |
Checks "mtx-test-data/opus/v-opus.ogg". More... | |
void | checkOggTestMetaData () |
Checks whether test meta data for OGG files has been applied correctly. More... | |
void | checkFlacTestfile1 () |
Checks "flac/test.flac" (converted from "mtx-test-data/alac/othertest-itunes.m4a" via ffmpeg). More... | |
void | checkFlacTestfile2 () |
Checks "flac/test.ogg" (converted from "flac/test.flac" via ffmpeg). More... | |
void | setMkvTestMetaData () |
Creates a tag targeting the first track with some test meta data. More... | |
void | setMp4TestMetaData () |
void | setMp3TestMetaData () |
void | setOggTestMetaData () |
void | removeAllTags () |
Removes all tags. More... | |
void | testMkvParsing () |
Tests the Matroska parser via MediaFileInfo. More... | |
void | testMp4Parsing () |
Tests the MP4 parser via MediaFileInfo. More... | |
void | testMp3Parsing () |
Tests the MP3 parser via MediaFileInfo. More... | |
void | testOggParsing () |
Tests the Ogg parser via MediaFileInfo. More... | |
void | testFlacParsing () |
Tests the FLAC parser via MediaFileInfo. More... | |
The OverallTests class tests reading and writing tags and parsing technical information for all supported container/tag formats.
Definition at line 43 of file overall.cpp.
void OverallTests::checkFlacTestfile1 | ( | ) |
Checks "flac/test.flac" (converted from "mtx-test-data/alac/othertest-itunes.m4a" via ffmpeg).
Definition at line 1063 of file overall.cpp.
void OverallTests::checkFlacTestfile2 | ( | ) |
Checks "flac/test.ogg" (converted from "flac/test.flac" via ffmpeg).
Definition at line 1105 of file overall.cpp.
void OverallTests::checkMkvPaddingConstraints | ( | ) |
Checks whether padding constraints are met.
Definition at line 564 of file overall.cpp.
void OverallTests::checkMkvTestfile1 | ( | ) |
Checks "matroska_wave1/test1.mkv".
Definition at line 207 of file overall.cpp.
void OverallTests::checkMkvTestfile2 | ( | ) |
Checks "matroska_wave1/test2.mkv".
Definition at line 247 of file overall.cpp.
void OverallTests::checkMkvTestfile3 | ( | ) |
Checks "matroska_wave1/test3.mkv".
Definition at line 287 of file overall.cpp.
void OverallTests::checkMkvTestfile4 | ( | ) |
Checks "matroska_wave1/test4.mkv".
Definition at line 327 of file overall.cpp.
void OverallTests::checkMkvTestfile5 | ( | ) |
Checks "matroska_wave1/test5.mkv".
Definition at line 365 of file overall.cpp.
void OverallTests::checkMkvTestfile6 | ( | ) |
Checks "matroska_wave1/test6.mkv".
Definition at line 411 of file overall.cpp.
void OverallTests::checkMkvTestfile7 | ( | ) |
Checks "matroska_wave1/test7.mkv".
Definition at line 452 of file overall.cpp.
void OverallTests::checkMkvTestfile8 | ( | ) |
Checks "matroska_wave1/test8.mkv".
Definition at line 494 of file overall.cpp.
void OverallTests::checkMkvTestMetaData | ( | ) |
Checks whether test meta data for Matroska files has been applied correctly.
Definition at line 536 of file overall.cpp.
void OverallTests::checkMp3PaddingConstraints | ( | ) |
Checks whether padding constraints are met.
Definition at line 946 of file overall.cpp.
void OverallTests::checkMp3Testfile1 | ( | ) |
Checks "mtx-test-data/mp3/id3-tag-and-xing-header.mp3".
Definition at line 841 of file overall.cpp.
void OverallTests::checkMp3TestMetaData | ( | ) |
Checks whether test meta data for MP3 files has been applied correctly.
Definition at line 905 of file overall.cpp.
void OverallTests::checkMp4PaddingConstraints | ( | ) |
Checks whether padding constraints are met.
Definition at line 827 of file overall.cpp.
void OverallTests::checkMp4Testfile1 | ( | ) |
Checks "mtx-test-data/mp4/10-DanseMacabreOp.40.m4a".
Definition at line 578 of file overall.cpp.
void OverallTests::checkMp4Testfile2 | ( | ) |
Checks "mtx-test-data/mp4/1080p-DTS-HD-7.1.mp4".
Definition at line 617 of file overall.cpp.
void OverallTests::checkMp4Testfile3 | ( | ) |
Checks "mtx-test-data/mp4/dash/dragon-age-inquisition-H1LkM6IVlm4-video.mp4".
Definition at line 680 of file overall.cpp.
void OverallTests::checkMp4Testfile4 | ( | ) |
Checks "mtx-test-data/mp4/alac/othertest-itunes.m4a".
Definition at line 717 of file overall.cpp.
void OverallTests::checkMp4Testfile5 | ( | ) |
Checks "mtx-test-data/aac/he-aacv2-ps.m4a".
Definition at line 763 of file overall.cpp.
void OverallTests::checkMp4TestMetaData | ( | ) |
Checks whether test meta data for MP4 files has been applied correctly.
Definition at line 805 of file overall.cpp.
void OverallTests::checkOggTestfile1 | ( | ) |
Checks "mtx-test-data/ogg/qt4dance_medium.ogg".
Definition at line 964 of file overall.cpp.
void OverallTests::checkOggTestfile2 | ( | ) |
Checks "mtx-test-data/opus/v-opus.ogg".
Definition at line 1005 of file overall.cpp.
void OverallTests::checkOggTestMetaData | ( | ) |
Checks whether test meta data for OGG files has been applied correctly.
Definition at line 1040 of file overall.cpp.
void OverallTests::makeFile | ( | const string & | path, |
void(OverallTests::*)(void) | modifyRoutine, | ||
void(OverallTests::*)(void) | checkRoutine | ||
) |
Parses the specified file, modifies it using the specified modify routine, parses the file again and checks the results using the specified check routine.
Definition at line 167 of file overall.cpp.
void OverallTests::parseFile | ( | const string & | path, |
void(OverallTests::*)(void) | checkRoutine | ||
) |
Parses the specified file and tests the results using the specified check routine.
Definition at line 150 of file overall.cpp.
void OverallTests::removeAllTags | ( | ) |
Removes all tags.
Definition at line 1227 of file overall.cpp.
void OverallTests::setMkvTestMetaData | ( | ) |
Creates a tag targeting the first track with some test meta data.
Definition at line 1134 of file overall.cpp.
void OverallTests::setMp3TestMetaData | ( | ) |
Definition at line 1179 of file overall.cpp.
void OverallTests::setMp4TestMetaData | ( | ) |
Definition at line 1164 of file overall.cpp.
void OverallTests::setOggTestMetaData | ( | ) |
Definition at line 1209 of file overall.cpp.
void OverallTests::setUp | ( | ) |
Creates some test meta data.
Definition at line 134 of file overall.cpp.
void OverallTests::tearDown | ( | ) |
Definition at line 144 of file overall.cpp.
void OverallTests::testFlacParsing | ( | ) |
Tests the FLAC parser via MediaFileInfo.
Definition at line 1526 of file overall.cpp.
void OverallTests::testMkvParsing | ( | ) |
Tests the Matroska parser via MediaFileInfo.
Definition at line 1235 of file overall.cpp.
void OverallTests::testMp3Parsing | ( | ) |
Tests the MP3 parser via MediaFileInfo.
Definition at line 1414 of file overall.cpp.
void OverallTests::testMp4Parsing | ( | ) |
Tests the MP4 parser via MediaFileInfo.
Definition at line 1336 of file overall.cpp.
void OverallTests::testOggParsing | ( | ) |
Tests the Ogg parser via MediaFileInfo.
Definition at line 1478 of file overall.cpp.