mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
Poco::UUID::tryParse() now accepts UUIDs without hyphens; updated documentation (fixed links to specs)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user