Oops! We already have a function to check APE item keys.

This commit is contained in:
Tsuda Kageyu
2016-02-01 22:46:08 +09:00
parent 92a1a00624
commit 5350bc8501
2 changed files with 31 additions and 24 deletions

View File

@ -97,6 +97,11 @@ public:
CPPUNIT_ASSERT_EQUAL((unsigned int)2, unsuccessful.size());
CPPUNIT_ASSERT(unsuccessful.contains("A"));
CPPUNIT_ASSERT(unsuccessful.contains("MP+"));
CPPUNIT_ASSERT_EQUAL((unsigned int)2, tag.itemListMap().size());
tag.addValue("VALID KEY", "Test Value 1");
tag.addValue("INVALID KEY \x7f", "Test Value 2");
CPPUNIT_ASSERT_EQUAL((unsigned int)3, tag.itemListMap().size());
}
void testTextBinary()