mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 21:14:23 -04:00
Add a method to check if an MP4 file on disk actually has a tag.
This commit is contained in:
@ -69,6 +69,10 @@ public:
|
||||
CPPUNIT_ASSERT(!f.isValid());
|
||||
MP4::File f2(TEST_FILE_PATH_C("has-tags.m4a"));
|
||||
CPPUNIT_ASSERT(f2.isValid());
|
||||
CPPUNIT_ASSERT(f2.hasMP4Tag());
|
||||
MP4::File f3(TEST_FILE_PATH_C("no-tags.m4a"));
|
||||
CPPUNIT_ASSERT(f3.isValid());
|
||||
CPPUNIT_ASSERT(!f3.hasMP4Tag());
|
||||
}
|
||||
|
||||
void testIsEmpty()
|
||||
|
Reference in New Issue
Block a user