summaryrefslogtreecommitdiff
path: root/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
commit505b253590d2cf8ebfe35ccd2ff3df2443240001 (patch)
tree08896f180af647019b83d8157f578a276a9e9136 /cpp/test
parent4d7f04636758d39a3ef7250cbcc745edb3de7685 (diff)
downloadqpid-python-505b253590d2cf8ebfe35ccd2ff3df2443240001.tar.gz
Some further tweaks to MessageStore interface.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480946 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/test')
-rw-r--r--cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp b/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp
index 4d267887ba..ecb907400d 100644
--- a/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp
+++ b/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);