Add a bunch of new Parser testcases.

This commit is contained in:
Felix Geyer committed 2010-08-25 21:14:41 +02:00
1 parent 542ecd41d1
commit cd26e9d474
4 files changed
+531 -78

No files matched your search

+6
View File
@@ -70,6 +70,12 @@ bool Uuid::operator!=(const Uuid& other) const
return !operator==(other);
}
Uuid Uuid::fromBase64(const QString& str)
{
QByteArray data = QByteArray::fromBase64(str.toAscii());
return Uuid(data);
}
uint qHash(const Uuid& key)
{
return qHash(key.toByteArray());