Poco::UUID::tryParse() now accepts UUIDs without hyphens; updated documentation (fixed links to specs)

This commit is contained in:
Guenter Obiltschnig
2013-09-03 14:42:50 +02:00
parent 48f7ea1a58
commit 3314b88c18
3 changed files with 23 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
//
// UUIDTest.cpp
//
// $Id: //poco/1.4/Foundation/testsuite/src/UUIDTest.cpp#1 $
// $Id: //poco/1.4/Foundation/testsuite/src/UUIDTest.cpp#2 $
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
@@ -56,6 +56,9 @@ void UUIDTest::testParse()
uuid.parse("6BA7B810-9DAD-11D1-80B4-00C04FD430C8");
assert (uuid.toString() == "6ba7b810-9dad-11d1-80b4-00c04fd430c8");
uuid.parse("6BA7B8109DAD11D180B400C04FD430C8");
assert (uuid.toString() == "6ba7b810-9dad-11d1-80b4-00c04fd430c8");
}