]> granicus.if.org Git - taglib/commitdiff
Removed duplicated CHAP frame testing funtion.
authorLukáš Krejčí <krejclu6@fel.cvut.cz>
Sat, 4 May 2013 19:25:55 +0000 (21:25 +0200)
committerLukáš Krejčí <krejclu6@fel.cvut.cz>
Sat, 4 May 2013 19:25:55 +0000 (21:25 +0200)
tests/test_id3v2.cpp

index b696a08800128ea7b79a0e9d97e67c0ffaf747a8..7182210c2339b4581291c2d4cfed45a164d58084 100644 (file)
@@ -737,25 +737,6 @@ public:
     MPEG::File f(newname.c_str());
     CPPUNIT_ASSERT(!f.ID3v2Tag()->frameListMap().contains("TPE1"));
   }
-
-  void testChaptersParsing()
-  {
-    ID3v2::ChapterFrame f(
-      ByteVector("CHAP"                     // Frame ID
-                 "\x00\x00\x00\x12"         // Frame size
-                 "\x00\x00"                 // Frame flags
-                 "\x43\x00"                 // Element ID
-                "\x00\x00\x00\x03"         // Start time
-                "\x00\x00\x00\x05"         // End time
-                "\x00\x00\x00\x02"         // Start offset
-                 "\x00\x00\x00\x03", 28));  // End offset
-    CPPUNIT_ASSERT_EQUAL(ByteVector("\x43\x00", 2),
-                         f.elementID());
-    CPPUNIT_ASSERT((uint)0x03 == f.startTime());
-    CPPUNIT_ASSERT((uint)0x05 == f.endTime());
-    CPPUNIT_ASSERT((uint)0x02 == f.startOffset());
-    CPPUNIT_ASSERT((uint)0x03 == f.endOffset());
-  }
   
   void testChapters()
   {