From e9cf88573a6532010a70f28fec8869bc034fe16b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 22 May 2012 18:11:07 +0000 Subject: QPID-3603: HA backups pass identifying info to primary. Pass hostname, management UUID and status in link connection arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341580 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/Uuid.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qpid/cpp/src/tests/Uuid.cpp') diff --git a/qpid/cpp/src/tests/Uuid.cpp b/qpid/cpp/src/tests/Uuid.cpp index f85a297adc..d7d1f00e3c 100644 --- a/qpid/cpp/src/tests/Uuid.cpp +++ b/qpid/cpp/src/tests/Uuid.cpp @@ -52,6 +52,11 @@ boost::array sample = {{0x1b, 0x4e, 0x28, 0xba, 0x2f, 0xa1, 0x11, const string sampleStr("1b4e28ba-2fa1-11d2-883f-b9a761bde3fb"); const string zeroStr("00000000-0000-0000-0000-000000000000"); +QPID_AUTO_TEST_CASE(testUuidStr) { + Uuid uuid(sampleStr); + BOOST_CHECK(uuid == sample); +} + QPID_AUTO_TEST_CASE(testUuidIstream) { Uuid uuid; istringstream in(sampleStr); -- cgit v1.2.1