diff options
author | Alan Conway <aconway@apache.org> | 2013-10-04 15:52:48 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2013-10-04 15:52:48 +0000 |
commit | 3410b690d9187f19fd9d68b89974d6e79b506a99 (patch) | |
tree | 39af02ff9d095cfdc61d1405cb9615db8a7a37a3 /cpp/src/tests/QueueOptionsTest.cpp | |
parent | 3acc0caa905b1d9713adb40d0dcf3e1dc66bf55b (diff) | |
download | qpid-python-3410b690d9187f19fd9d68b89974d6e79b506a99.tar.gz |
QPID-5197: Remove obsolete --cluster-durable/persistLastNode options in C++ and python.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1529198 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/QueueOptionsTest.cpp')
-rw-r--r-- | cpp/src/tests/QueueOptionsTest.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/cpp/src/tests/QueueOptionsTest.cpp b/cpp/src/tests/QueueOptionsTest.cpp index f2fbaba2c1..bdb83d7d22 100644 --- a/cpp/src/tests/QueueOptionsTest.cpp +++ b/cpp/src/tests/QueueOptionsTest.cpp @@ -63,16 +63,9 @@ QPID_AUTO_TEST_CASE(testFlags) { QueueOptions ft; - ft.setPersistLastNode(); ft.setOrdering(LVQ); - - BOOST_CHECK(1 == ft.getAsInt(QueueOptions::strPersistLastNode)); BOOST_CHECK(1 == ft.getAsInt(QueueOptions::strLastValueQueue)); - - ft.clearPersistLastNode(); ft.setOrdering(FIFO); - - BOOST_CHECK(!ft.isSet(QueueOptions::strPersistLastNode)); BOOST_CHECK(!ft.isSet(QueueOptions::strLastValueQueue)); } @@ -87,16 +80,6 @@ QPID_AUTO_TEST_CASE(testSetOrdering) } -QPID_AUTO_TEST_CASE(testClearPersistLastNode) -{ - //ensure clear works even if not preceded by the setting on the - //option - QueueOptions ft; - ft.clearPersistLastNode(); - BOOST_CHECK(!ft.isSet(QueueOptions::strPersistLastNode)); -} - - QPID_AUTO_TEST_SUITE_END() }} // namespace qpid::tests |