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 | a09d0bfddab4f3c27b160480689e563e241ffca7 (patch) | |
tree | 8cb9389096e9c32fa7bcbf262ab4776419b3de94 /cpp/src/tests/TxPublishTest.cpp | |
parent | a9211a0c7e445552f7805d5c94fa093772a7a3f7 (diff) | |
download | qpid-python-a09d0bfddab4f3c27b160480689e563e241ffca7.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/qpid@663601 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/TxPublishTest.cpp')
-rw-r--r-- | cpp/src/tests/TxPublishTest.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
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 <list> #include <vector> #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<string, intrusive_ptr<PersistableMessage> > msg_queue_pair; - -class TestMessageStore : public NullMessageStore -{ - public: - vector<msg_queue_pair> enqueued; - - void enqueue(TransactionContext*, intrusive_ptr<PersistableMessage>& 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 { |