Merge pull request #545 from FestusHagen/fh1.m_TDRC

Append TIME to TDRC, adjusted test_id3v2.cpp as appropriate.
This commit is contained in:
Tsuda Kageyu
2015-12-02 21:11:53 +09:00
2 changed files with 18 additions and 8 deletions

View File

@ -690,7 +690,7 @@ public:
tf = static_cast<ID3v2::TextIdentificationFrame *>(bar.ID3v2Tag()->frameList("TDRC").front());
CPPUNIT_ASSERT(tf);
CPPUNIT_ASSERT_EQUAL(TagLib::uint(1), tf->fieldList().size());
CPPUNIT_ASSERT_EQUAL(String("2012-04-17"), tf->fieldList().front());
CPPUNIT_ASSERT_EQUAL(String("2012-04-17T12:01"), tf->fieldList().front());
tf = dynamic_cast<ID3v2::TextIdentificationFrame *>(bar.ID3v2Tag()->frameList("TIPL").front());
CPPUNIT_ASSERT(tf);
CPPUNIT_ASSERT_EQUAL(TagLib::uint(8), tf->fieldList().size());