1 #ifndef TAGPARSER_OVERALL_TESTS_H 2 #define TAGPARSER_OVERALL_TESTS_H 6 #include "../diagnostics.h" 7 #include "../mediafileinfo.h" 8 #include "../progressfeedback.h" 9 #include "../tagvalue.h" 11 #include <c++utilities/chrono/datetime.h> 12 #include <c++utilities/chrono/format.h> 13 #include <c++utilities/conversion/stringconversion.h> 14 #include <c++utilities/tests/testutils.h> 17 #include <cppunit/TestFixture.h> 18 #include <cppunit/extensions/HelperMacros.h> 46 CPPUNIT_TEST(testMp4Parsing);
47 CPPUNIT_TEST(testMp3Parsing);
48 CPPUNIT_TEST(testOggParsing);
49 CPPUNIT_TEST(testFlacParsing);
50 CPPUNIT_TEST(testMkvParsing);
52 CPPUNIT_TEST(testMp4Making);
53 CPPUNIT_TEST(testMp3Making);
54 CPPUNIT_TEST(testOggMaking);
55 CPPUNIT_TEST(testFlacMaking);
56 CPPUNIT_TEST(testMkvMakingWithDifferentSettings);
57 CPPUNIT_TEST(testMkvMakingNestedTags);
59 CPPUNIT_TEST_SUITE_END();
68 void parseFile(
const string &path,
void (
OverallTests::*checkRoutine)(
void));
69 void makeFile(
const string &path,
void (
OverallTests::*modifyRoutine)(
void),
void (
OverallTests::*checkRoutine)(
void));
71 void checkMkvTestfile1();
72 void checkMkvTestfile2();
73 void checkMkvTestfile3();
74 void checkMkvTestfile4();
75 void checkMkvTestfile5();
76 void checkMkvTestfile6();
77 void checkMkvTestfile7();
78 void checkMkvTestfile8();
79 void checkMkvTestfileHandbrakeChapters();
80 void checkMkvTestfileNestedTags();
81 void checkMkvTestMetaData();
82 void checkMkvConstraints();
84 void checkMp4Testfile1();
85 void checkMp4Testfile2();
86 void checkMp4Testfile3();
87 void checkMp4Testfile4();
88 void checkMp4Testfile5();
89 void checkMp4Testfile6();
90 void checkMp4Testfile7();
91 void checkMp4TestMetaData();
92 void checkMp4Constraints();
94 void checkMp3Testfile1();
95 void checkMp3Testfile2();
96 void checkMp3TestMetaData();
97 void checkMp3PaddingConstraints();
99 void checkOggTestfile1();
100 void checkOggTestfile2();
101 void checkOggTestMetaData();
103 void checkFlacTestfile1();
104 void checkFlacTestfile2();
106 void setMkvTestMetaData();
107 void setMp4TestMetaData();
108 void setMp3TestMetaData1();
109 void setMp3TestMetaData2();
110 void setOggTestMetaData();
111 void removeAllTags();
113 void alterMp4Tracks();
114 void removeSecondTrack();
117 void testMkvParsing();
118 void testMp4Parsing();
119 void testMp3Parsing();
120 void testOggParsing();
121 void testFlacParsing();
123 void testMkvMakingWithDifferentSettings();
124 void testMkvMakingNestedTags();
125 void testMp4Making();
126 void testMp3Making();
127 void testOggMaking();
128 void testFlacMaking();
143 queue<TagValue> m_preservedMetaData;
150 #endif // TAGPARSER_OVERALL_TESTS_H
Contains utility classes helping to read and write streams.
The OverallTests class tests reading and writing tags and parsing technical information for all suppo...
The AbortableProgressFeedback class provides feedback about an ongoing operation via callbacks...
The TagValue class wraps values of different types.
Contains all classes and functions of the TagInfo library.
The Diagnostics class is a container for DiagMessage.