diff options
| author | Alan Conway <aconway@apache.org> | 2012-05-22 18:11:07 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-05-22 18:11:07 +0000 |
| commit | e9cf88573a6532010a70f28fec8869bc034fe16b (patch) | |
| tree | 7cc00269c3a5a772ea119aedc5ae23720f26ee75 /qpid/cpp/src/tests/Uuid.cpp | |
| parent | 1cba9546cc2c521d6ee4099bed9ff1eb0d09afd5 (diff) | |
| download | qpid-python-e9cf88573a6532010a70f28fec8869bc034fe16b.tar.gz | |
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
Diffstat (limited to 'qpid/cpp/src/tests/Uuid.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/Uuid.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<uint8_t, 16> 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); |
