1#ifndef TAGPARSER_OVERALL_TESTS_H
2#define TAGPARSER_OVERALL_TESTS_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>
24using namespace CppUtilities::Literals;
26using namespace CPPUNIT_NS;
54 CPPUNIT_TEST_SUITE_END();
59 void setUp()
override;
63 void parseFile(
const string &path,
void (
OverallTests::*checkRoutine)(
void));
64 void makeFile(
const string &path,
void (
OverallTests::*modifyRoutine)(
void), void (
OverallTests::*checkRoutine)(
void));
66 void checkMkvTestfile1();
67 void checkMkvTestfile2();
68 void checkMkvTestfile3();
69 void checkMkvTestfile4();
70 void checkMkvTestfile5();
71 void checkMkvTestfile6();
72 void checkMkvTestfile7();
73 void checkMkvTestfile8();
74 void checkMkvTestfileHandbrakeChapters();
75 void checkMkvTestfileNestedTags();
76 void checkMkvTestMetaData();
77 void checkMkvConstraints();
79 void checkMp4Testfile1();
80 void checkMp4Testfile2();
81 void checkMp4Testfile3();
82 void checkMp4Testfile4();
83 void checkMp4Testfile5();
84 void checkMp4Testfile6();
85 void checkMp4Testfile7();
86 void checkMp4TestMetaData();
87 void checkMp4Constraints();
89 void checkMp3Testfile1();
90 void checkMp3Testfile2();
91 void checkMp3TestMetaData();
92 void checkMp3PaddingConstraints();
94 void checkOggTestfile1();
95 void checkOggTestfile2();
96 void checkOggTestfile3();
97 void checkOggTestMetaData();
98 void checkOggTestMetaDataCover();
100 void checkFlacTestfile1();
101 void checkFlacTestfile2();
103 void setMkvTestMetaData();
104 void setMp4TestMetaData();
105 void setMp3TestMetaData1();
106 void setMp3TestMetaData2();
107 void setOggTestMetaData();
108 void setOggTestMetaDataCover();
109 void removeAllTags();
111 void alterMp4Tracks();
112 void removeSecondTrack();
135 TagValue m_testCommentWithoutDescription;
141 queue<TagValue> m_preservedMetaData;
143 std::uint16_t m_mode;
The OverallTests class tests reading and writing tags and parsing technical information for all suppo...
void testMp3Parsing()
Tests the MP3 parser via MediaFileInfo.
void testOggParsing()
Tests the Ogg parser via MediaFileInfo.
void testMp3Making()
Tests the MP3 maker via MediaFileInfo.
void setUp() override
Creates some test meta data.
void testFlacParsing()
Tests the FLAC parser via MediaFileInfo.
void testVorbisCommentFieldHandling()
Tests the Vorbis Comment specifc handling of certain fields done in VorbisComment::convertTotalFields...
void testFlacMaking()
Tests the FLAC maker via MediaFileInfo.
void testMp4Making()
Tests the MP4 maker via MediaFileInfo.
void testMkvMakingNestedTags()
Tests making a Matroska file with nested tags via MediaFileInfo.
void testMp4Parsing()
Tests the MP4 parser via MediaFileInfo.
void testMkvParsing()
Tests the Matroska parser via MediaFileInfo.
void testMkvMakingWithDifferentSettings()
Tests the Matroska maker via MediaFileInfo.
void testOggMaking()
Tests the Ogg maker via MediaFileInfo.
The AbortableProgressFeedback class provides feedback about an ongoing operation via callbacks.
The Diagnostics class is a container for DiagMessage.
The TagValue class wraps values of different types.
Contains all classes and functions of the TagInfo library.