From 29b0568decccf28ac53571be7d48ac8a0cf4a747 Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Fri, 20 Nov 2015 14:18:40 +0900 Subject: [PATCH] Revert "Add a test about handing "COMMENT" and "DESCIPRION" fields in XiphComment." This reverts commit 8f147034d6af7a4c2830b3113d4b257c1836fabe. --- tests/test_xiphcomment.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/test_xiphcomment.cpp b/tests/test_xiphcomment.cpp index e21d9807..e2358333 100644 --- a/tests/test_xiphcomment.cpp +++ b/tests/test_xiphcomment.cpp @@ -17,7 +17,6 @@ class TestXiphComment : public CppUnit::TestFixture CPPUNIT_TEST(testSetYear); CPPUNIT_TEST(testTrack); CPPUNIT_TEST(testSetTrack); - CPPUNIT_TEST(testSetComment); CPPUNIT_TEST(testInvalidKeys); CPPUNIT_TEST(testClearComment); CPPUNIT_TEST_SUITE_END(); @@ -64,16 +63,6 @@ public: CPPUNIT_ASSERT_EQUAL(String("3"), cmt.fieldListMap()["TRACKNUMBER"].front()); } - void testSetComment() - { - Ogg::XiphComment cmt; - cmt.addField("DESCRIPTION", "Test Comment 1"); - cmt.addField("COMMENT", "Test Comment 2"); - cmt.setComment("Test Comment 3"); - CPPUNIT_ASSERT(cmt.fieldListMap()["DESCRIPTION"].isEmpty()); - CPPUNIT_ASSERT_EQUAL(String("Test Comment 3"), cmt.fieldListMap()["COMMENT"].front()); - } - void testInvalidKeys() { PropertyMap map;