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;
55 CPPUNIT_TEST_SUITE_END();
60 void setUp()
override;
64 void parseFile(
const string &path,
void (
OverallTests::*checkRoutine)(
void));
65 void makeFile(
const string &path,
void (
OverallTests::*modifyRoutine)(
void),
void (
OverallTests::*checkRoutine)(
void));
67 void checkMkvTestfile1();
68 void checkMkvTestfile2();
69 void checkMkvTestfile3();
70 void checkMkvTestfile4();
71 void checkMkvTestfile5();
72 void checkMkvTestfile6();
73 void checkMkvTestfile7();
74 void checkMkvTestfile8();
75 void checkMkvTestfileHandbrakeChapters();
76 void checkMkvTestfileNestedTags();
77 void checkMkvTestMetaData();
78 void checkMkvConstraints();
80 void checkMp4Testfile1();
81 void checkMp4Testfile2();
82 void checkMp4Testfile3();
83 void checkMp4Testfile4();
84 void checkMp4Testfile5();
85 void checkMp4Testfile6();
86 void checkMp4Testfile7();
87 void checkMp4TestMetaData();
88 void checkMp4Constraints();
90 void checkMp3Testfile1();
91 void checkMp3Testfile2();
92 void checkMp3TestMetaData();
93 void checkMp3PaddingConstraints();
95 void checkOggTestfile1();
96 void checkOggTestfile2();
97 void checkOggTestfile3();
98 void checkOggTestMetaData();
99 void checkOggTestMetaDataCover();
101 void checkFlacTestfile1();
102 void checkFlacTestfile2();
104 void setMkvTestMetaData();
105 void setMp4TestMetaData();
106 void setMp3TestMetaData1();
107 void setMp3TestMetaData2();
108 void setOggTestMetaData();
109 void setOggTestMetaDataCover();
110 void removeAllTags();
112 void alterMp4Tracks();
113 void removeSecondTrack();
137 TagValue m_testCommentWithoutDescription;
143 queue<TagValue> m_preservedMetaData;
145 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 testMp4MakingWith64BitOffsets()
Tests the MP4 maker via MediaFileInfo with a big padding to require 64-bit chunk offsets.
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.