diff options
| author | Gordon Sim <gsim@apache.org> | 2008-06-05 13:00:26 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-06-05 13:00:26 +0000 |
| commit | d659e312c1e0ee24ab6283d0d0e601aeb247efc3 (patch) | |
| tree | 57e65402e81aeda53e2697dad38200264b8dd0a9 /qpid/cpp/src/tests/TxAckTest.cpp | |
| parent | 19dd0974d04997d53c71e006ebc5d3cc8b3ec394 (diff) | |
| download | qpid-python-d659e312c1e0ee24ab6283d0d0e601aeb247efc3.tar.gz | |
Fix to makefile and tests (one test temporarily disabled until a fix is found).
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@663601 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/TxAckTest.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/TxAckTest.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/qpid/cpp/src/tests/TxAckTest.cpp b/qpid/cpp/src/tests/TxAckTest.cpp index d232976fe8..d330942ced 100644 --- a/qpid/cpp/src/tests/TxAckTest.cpp +++ b/qpid/cpp/src/tests/TxAckTest.cpp @@ -22,6 +22,7 @@ #include "qpid/broker/NullMessageStore.h" #include "qpid/broker/RecoveryManager.h" #include "qpid/broker/TxAck.h" +#include "TestMessageStore.h" #include "unit_test.h" #include <iostream> #include <list> @@ -34,20 +35,7 @@ using namespace qpid; using namespace qpid::broker; using namespace qpid::framing; - -class TestMessageStore : public NullMessageStore -{ - public: - vector<intrusive_ptr<PersistableMessage> > dequeued; - - void dequeue(TransactionContext*, intrusive_ptr<PersistableMessage>& msg, const PersistableQueue& /*queue*/) - { - dequeued.push_back(msg); - } - - TestMessageStore() : NullMessageStore() {} - ~TestMessageStore(){} -}; +QPID_AUTO_TEST_SUITE(TxAckTestSuite) struct TxAckTest { @@ -77,8 +65,6 @@ struct TxAckTest }; -QPID_AUTO_TEST_SUITE(TxAckTestSuite) - QPID_AUTO_TEST_CASE(testPrepare) { TxAckTest t; |
