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> 24 using namespace ConversionUtilities;
27 using namespace TestUtilities::Literals;
30 using namespace CPPUNIT_NS;
46 CPPUNIT_TEST(testMp4Parsing);
47 CPPUNIT_TEST(testMp3Parsing);
48 CPPUNIT_TEST(testOggParsing);
49 CPPUNIT_TEST(testFlacParsing);
50 CPPUNIT_TEST(testMkvParsing);
51 CPPUNIT_TEST(testMp4Making);
52 CPPUNIT_TEST(testMp3Making);
53 CPPUNIT_TEST(testOggMaking);
54 CPPUNIT_TEST(testFlacMaking);
55 CPPUNIT_TEST(testMkvMakingWithDifferentSettings);
56 CPPUNIT_TEST(testMkvMakingNestedTags);
57 CPPUNIT_TEST_SUITE_END();
66 void parseFile(
const string &path,
void (
OverallTests::*checkRoutine)(
void));
67 void makeFile(
const string &path,
void (
OverallTests::*modifyRoutine)(
void),
void (
OverallTests::*checkRoutine)(
void));
69 void checkMkvTestfile1();
70 void checkMkvTestfile2();
71 void checkMkvTestfile3();
72 void checkMkvTestfile4();
73 void checkMkvTestfile5();
74 void checkMkvTestfile6();
75 void checkMkvTestfile7();
76 void checkMkvTestfile8();
77 void checkMkvTestfileHandbrakeChapters();
78 void checkMkvTestfileNestedTags();
79 void checkMkvTestMetaData();
80 void checkMkvConstraints();
82 void checkMp4Testfile1();
83 void checkMp4Testfile2();
84 void checkMp4Testfile3();
85 void checkMp4Testfile4();
86 void checkMp4Testfile5();
87 void checkMp4Testfile6();
88 void checkMp4Testfile7();
89 void checkMp4TestMetaData();
90 void checkMp4Constraints();
92 void checkMp3Testfile1();
93 void checkMp3Testfile2();
94 void checkMp3TestMetaData();
95 void checkMp3PaddingConstraints();
97 void checkOggTestfile1();
98 void checkOggTestfile2();
99 void checkOggTestMetaData();
101 void checkFlacTestfile1();
102 void checkFlacTestfile2();
104 void setMkvTestMetaData();
105 void setMp4TestMetaData();
106 void setMp3TestMetaData1();
107 void setMp3TestMetaData2();
108 void setOggTestMetaData();
109 void removeAllTags();
111 void alterMp4Tracks();
112 void removeSecondTrack();
115 void testMkvParsing();
116 void testMp4Parsing();
117 void testMp3Parsing();
118 void testOggParsing();
119 void testFlacParsing();
120 void testMkvMakingWithDifferentSettings();
121 void testMkvMakingNestedTags();
122 void testMp4Making();
123 void testMp3Making();
124 void testOggMaking();
125 void testFlacMaking();
139 queue<TagValue> m_preservedMetaData;
146 #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.