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/conversion/stringconversion.h> 12 #include <c++utilities/tests/testutils.h> 15 #include <cppunit/TestFixture.h> 16 #include <cppunit/extensions/HelperMacros.h> 44 CPPUNIT_TEST(testMp4Parsing);
45 CPPUNIT_TEST(testMp3Parsing);
46 CPPUNIT_TEST(testOggParsing);
47 CPPUNIT_TEST(testFlacParsing);
48 CPPUNIT_TEST(testMkvParsing);
50 CPPUNIT_TEST(testMp4Making);
51 CPPUNIT_TEST(testMp3Making);
52 CPPUNIT_TEST(testOggMaking);
53 CPPUNIT_TEST(testFlacMaking);
54 CPPUNIT_TEST(testMkvMakingWithDifferentSettings);
55 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 checkMp4TestMetaData();
89 void checkMp4Constraints();
91 void checkMp3Testfile1();
92 void checkMp3TestMetaData();
93 void checkMp3PaddingConstraints();
95 void checkOggTestfile1();
96 void checkOggTestfile2();
97 void checkOggTestMetaData();
99 void checkFlacTestfile1();
100 void checkFlacTestfile2();
102 void setMkvTestMetaData();
103 void setMp4TestMetaData();
104 void setMp3TestMetaData();
105 void setOggTestMetaData();
106 void removeAllTags();
108 void createMkvWithNestedTags();
109 void alterMp4Tracks();
110 void removeSecondTrack();
113 void testMkvParsing();
114 void testMp4Parsing();
115 void testMp3Parsing();
116 void testOggParsing();
117 void testFlacParsing();
119 void testMkvMakingWithDifferentSettings();
120 void testMkvMakingNestedTags();
121 void testMp4Making();
122 void testMp3Making();
123 void testOggMaking();
124 void testFlacMaking();
139 queue<TagValue> m_preservedMetaData;
140 string m_nestedTagsMkvPath;
141 string m_rawFlacPath;
142 string m_flacInOggPath;
149 #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.