summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/TxPublishTest.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-06-05 13:00:26 +0000
committerGordon Sim <gsim@apache.org>2008-06-05 13:00:26 +0000
commitd659e312c1e0ee24ab6283d0d0e601aeb247efc3 (patch)
tree57e65402e81aeda53e2697dad38200264b8dd0a9 /qpid/cpp/src/tests/TxPublishTest.cpp
parent19dd0974d04997d53c71e006ebc5d3cc8b3ec394 (diff)
downloadqpid-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/TxPublishTest.cpp')
-rw-r--r--qpid/cpp/src/tests/TxPublishTest.cpp19
1 files changed, 1 insertions, 18 deletions
diff --git a/qpid/cpp/src/tests/TxPublishTest.cpp b/qpid/cpp/src/tests/TxPublishTest.cpp
index 76e3ca392b..5c4686c905 100644
--- a/qpid/cpp/src/tests/TxPublishTest.cpp
+++ b/qpid/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
{