mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Revert "Add a test to show a problem with properties() and duplication."
This reverts commit 6e3391a846
. The "problem" demonstrated in there won't be fixed due to lack of significance.
This commit is contained in:
parent
b14e6a3570
commit
a095c468b2
Binary file not shown.
@ -75,7 +75,6 @@ class TestID3v2 : public CppUnit::TestFixture
|
||||
CPPUNIT_TEST(testW000);
|
||||
CPPUNIT_TEST(testPropertyInterface);
|
||||
CPPUNIT_TEST(testPropertyInterface2);
|
||||
CPPUNIT_TEST(testBothID3Versions);
|
||||
CPPUNIT_TEST(testDeleteFrame);
|
||||
CPPUNIT_TEST(testSaveAndStripID3v1ShouldNotAddFrameFromID3v1ToId3v2);
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
@ -697,22 +696,6 @@ public:
|
||||
CPPUNIT_ASSERT_EQUAL(frame6, ID3v2::UniqueFileIdentifierFrame::findByOwner(&tag, "http://musicbrainz.org"));
|
||||
}
|
||||
|
||||
void testBothID3Versions()
|
||||
{
|
||||
ScopedFileCopy copy("id3v1_neq_v2", ".mp3");
|
||||
string newname = copy.fileName();
|
||||
MPEG::File f(newname.c_str());
|
||||
PropertyMap dict = f.properties();
|
||||
CPPUNIT_ASSERT(!dict.contains("ALBUM"));
|
||||
CPPUNIT_ASSERT(dict.contains("ARTIST"));
|
||||
|
||||
f.save();
|
||||
MPEG::File f2(newname.c_str());
|
||||
PropertyMap dict2 = f.properties();
|
||||
CPPUNIT_ASSERT(!dict2.contains("ALBUM"));
|
||||
CPPUNIT_ASSERT(dict2.contains("ARTIST"));
|
||||
}
|
||||
|
||||
void testDeleteFrame()
|
||||
{
|
||||
ScopedFileCopy copy("rare_frames", ".mp3");
|
||||
|
Loading…
Reference in New Issue
Block a user