From 140fb2b3f64a1ac40cf50527b9e3f5b691c20a94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Luk=C3=A1=C5=A1=20Krej=C4=8D=C3=AD?= Date: Sat, 4 May 2013 21:25:55 +0200 Subject: [PATCH] Removed duplicated CHAP frame testing funtion. --- tests/test_id3v2.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tests/test_id3v2.cpp b/tests/test_id3v2.cpp index 117436e3..b34fcbe6 100644 --- a/tests/test_id3v2.cpp +++ b/tests/test_id3v2.cpp @@ -860,25 +860,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() { -- 2.40.0