]> granicus.if.org Git - taglib/commitdiff
Update tests
authorDuke Yin <dukeyin@outlook.com>
Thu, 17 Oct 2013 19:14:29 +0000 (15:14 -0400)
committerDuke Yin <dukeyin@outlook.com>
Thu, 17 Oct 2013 19:14:29 +0000 (15:14 -0400)
tests/test_id3v2.cpp

index 9f5ffe01ddeacb0969685f724b479314b66fd401..fb1924505a419a54a1f3d0829359aa36feb7d9f6 100644 (file)
@@ -575,10 +575,12 @@ public:
     CPPUNIT_ASSERT(!bar.ID3v2Tag()->frameListMap().contains("TDTG"));
     CPPUNIT_ASSERT(!bar.ID3v2Tag()->frameListMap().contains("TMOO"));
     CPPUNIT_ASSERT(!bar.ID3v2Tag()->frameListMap().contains("TPRO"));
+#ifdef NO_ITUNES_HACKS 
     CPPUNIT_ASSERT(!bar.ID3v2Tag()->frameListMap().contains("TSOA"));
     CPPUNIT_ASSERT(!bar.ID3v2Tag()->frameListMap().contains("TSOT"));
-    CPPUNIT_ASSERT(!bar.ID3v2Tag()->frameListMap().contains("TSST"));
     CPPUNIT_ASSERT(!bar.ID3v2Tag()->frameListMap().contains("TSOP"));
+#endif
+    CPPUNIT_ASSERT(!bar.ID3v2Tag()->frameListMap().contains("TSST"));
   }
 
   void testCompressedFrameWithBrokenLength()