summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/QueueOptionsTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-10-04 15:52:48 +0000
committerAlan Conway <aconway@apache.org>2013-10-04 15:52:48 +0000
commit258a481fda0d83c075313ee819ef120c09cddb7a (patch)
tree222e0546a9e3b9b1391e6298582fe63711b81bf2 /qpid/cpp/src/tests/QueueOptionsTest.cpp
parent28302f5604920d7cf7941481ff376f92cdd0e535 (diff)
downloadqpid-python-258a481fda0d83c075313ee819ef120c09cddb7a.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@1529198 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/QueueOptionsTest.cpp')
-rw-r--r--qpid/cpp/src/tests/QueueOptionsTest.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/qpid/cpp/src/tests/QueueOptionsTest.cpp b/qpid/cpp/src/tests/QueueOptionsTest.cpp
index f2fbaba2c1..bdb83d7d22 100644
--- a/qpid/cpp/src/tests/QueueOptionsTest.cpp
+++ b/qpid/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