From a09d0bfddab4f3c27b160480689e563e241ffca7 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 5 Jun 2008 13:00:26 +0000 Subject: 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/qpid@663601 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/TxPublishTest.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'cpp/src/tests/TxPublishTest.cpp') diff --git a/cpp/src/tests/TxPublishTest.cpp b/cpp/src/tests/TxPublishTest.cpp index 76e3ca392b..5c4686c905 100644 --- a/cpp/src/tests/TxPublishTest.cpp +++ b/cpp/src/tests/TxPublishTest.cpp @@ -26,6 +26,7 @@ #include #include #include "MessageUtils.h" +#include "TestMessageStore.h" using std::list; using std::pair; @@ -34,24 +35,6 @@ using boost::intrusive_ptr; using namespace qpid::broker; using namespace qpid::framing; -typedef std::pair > msg_queue_pair; - -class TestMessageStore : public NullMessageStore -{ - public: - vector enqueued; - - void enqueue(TransactionContext*, intrusive_ptr& msg, const PersistableQueue& queue) - { - msg->enqueueComplete(); - enqueued.push_back(msg_queue_pair(queue.getName(), msg)); - } - - //dont care about any of the other methods: - TestMessageStore() : NullMessageStore(false) {} - ~TestMessageStore(){} -}; - struct TxPublishTest { -- cgit v1.2.1