summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2007-11-08 18:46:53 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2007-11-08 18:46:53 +0000
commit827c88dae68ac02ca03a4c2b4e318e281677addf (patch)
tree4381a3c6487f2bc50f697234b7b4fe549f78095d /qpid/cpp/src/tests
parent6da7795c120868317a0533814094dfeb2be14686 (diff)
downloadqpid-python-827c88dae68ac02ca03a4c2b4e318e281677addf.tar.gz
- enable the ability to lazy load from async store
- the ci has a raw ptr for Queue in QueuedMessage, if any has any concerns, ping me and I will convert it to an auto_ptr Carl. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@593251 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
-rw-r--r--qpid/cpp/src/tests/BrokerChannelTest.cpp2
-rw-r--r--qpid/cpp/src/tests/DeliveryRecordTest.cpp2
-rw-r--r--qpid/cpp/src/tests/TxAckTest.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/BrokerChannelTest.cpp b/qpid/cpp/src/tests/BrokerChannelTest.cpp
index 612a9fc8bc..f0ccf73189 100644
--- a/qpid/cpp/src/tests/BrokerChannelTest.cpp
+++ b/qpid/cpp/src/tests/BrokerChannelTest.cpp
@@ -251,7 +251,7 @@ class BrokerChannelTest : public CppUnit::TestCase
policy.update(settings);
store.expect();
- store.stage(*msg3);
+ store.stage(0, *msg3);
store.test();
Queue::shared_ptr queue(new Queue("my_queue", false, &store, 0));
diff --git a/qpid/cpp/src/tests/DeliveryRecordTest.cpp b/qpid/cpp/src/tests/DeliveryRecordTest.cpp
index 011d8bf694..9487f743d6 100644
--- a/qpid/cpp/src/tests/DeliveryRecordTest.cpp
+++ b/qpid/cpp/src/tests/DeliveryRecordTest.cpp
@@ -51,7 +51,7 @@ public:
list<DeliveryRecord> records;
for (list<SequenceNumber>::iterator i = ids.begin(); i != ids.end(); i++) {
- records.push_back(DeliveryRecord(QueuedMessage(), Queue::shared_ptr(), "tag", DeliveryToken::shared_ptr(), *i, false, false));
+ records.push_back(DeliveryRecord(QueuedMessage(0), Queue::shared_ptr(), "tag", DeliveryToken::shared_ptr(), *i, false, false));
}
records.sort();
diff --git a/qpid/cpp/src/tests/TxAckTest.cpp b/qpid/cpp/src/tests/TxAckTest.cpp
index 73628f25b5..dd57736a0c 100644
--- a/qpid/cpp/src/tests/TxAckTest.cpp
+++ b/qpid/cpp/src/tests/TxAckTest.cpp
@@ -76,7 +76,7 @@ public:
msg->getProperties<DeliveryProperties>()->setDeliveryMode(PERSISTENT);
msg->getProperties<DeliveryProperties>()->setRoutingKey("routing_key");
messages.push_back(msg);
- QueuedMessage qm;
+ QueuedMessage qm(queue.get());
qm.payload = msg;
deliveries.push_back(DeliveryRecord(qm, queue, "xyz", DeliveryToken::shared_ptr(), (i+1), true));
}