diff options
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 |