summaryrefslogtreecommitdiff
path: root/qpid/cpp/test
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-11-30 14:48:24 +0000
committerGordon Sim <gsim@apache.org>2006-11-30 14:48:24 +0000
commit79fec2653c97152552a9ab384c6fd9f91b97d579 (patch)
tree9f173ba5f7f9d115e3640cd405959a0b4fa86408 /qpid/cpp/test
parent51b7a3fcf60bf7f6cc9e8ae3da2783b7145f3349 (diff)
downloadqpid-python-79fec2653c97152552a9ab384c6fd9f91b97d579.tar.gz
Some further tweaks to MessageStore interface.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@480946 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/test')
-rw-r--r--qpid/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp b/qpid/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp
index 4d267887ba..ecb907400d 100644
--- a/qpid/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp
+++ b/qpid/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp
@@ -55,7 +55,7 @@ class LazyLoadedContentTest : public CppUnit::TestCase
public:
TestMessageStore(const string& _content) : content(_content) {}
- void loadContent(u_int64_t, string& data, u_int64_t offset, u_int32_t length)
+ void loadContent(Message* const, string& data, u_int64_t offset, u_int32_t length)
{
if (offset + length <= content.size()) {
data = content.substr(offset, length);
@@ -96,7 +96,7 @@ public:
void load(string& in, size_t outCount, string* out, u_int32_t framesize)
{
TestMessageStore store(in);
- LazyLoadedContent content(&store, 1, in.size());
+ LazyLoadedContent content(&store, 0, in.size());
DummyHandler handler;
u_int16_t channel = 3;
content.send(&handler, channel, framesize);