mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 04:54:19 -04:00
A couple of things pointed out by a colleage -- fix ByteVector::size()
and make the return type semantics consistant for methods that modify the object (specifically, return a reference instead of void). git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@460002 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -198,6 +198,11 @@ void testByteVector()
|
||||
|
||||
ByteVector s2("f");
|
||||
printResult(ByteVectorList::split(s2, " ").size() == 1);
|
||||
|
||||
|
||||
printResult(ByteVector().size() == 0);
|
||||
printResult(ByteVector("asdf").clear().size() == 0);
|
||||
printResult(ByteVector("asdf").clear() == ByteVector());
|
||||
}
|
||||
|
||||
void testSynchData()
|
||||
|
Reference in New Issue
Block a user