summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/AccumulatedAckTest.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-09-06 20:27:33 +0000
committerGordon Sim <gsim@apache.org>2007-09-06 20:27:33 +0000
commit6201c9e3a33e0c75958dc0b3466953ff0152531b (patch)
tree9cf967368d6fb2ee8ea430e9a7953f5d39919adc /qpid/cpp/src/tests/AccumulatedAckTest.cpp
parent8a188f811fbfcda1a650b4241b2bcfd85edd5700 (diff)
downloadqpid-python-6201c9e3a33e0c75958dc0b3466953ff0152531b.tar.gz
Implementation of execution.result on the client side
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@573359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/AccumulatedAckTest.cpp')
-rw-r--r--qpid/cpp/src/tests/AccumulatedAckTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/src/tests/AccumulatedAckTest.cpp b/qpid/cpp/src/tests/AccumulatedAckTest.cpp
index 601af532fa..62245e463b 100644
--- a/qpid/cpp/src/tests/AccumulatedAckTest.cpp
+++ b/qpid/cpp/src/tests/AccumulatedAckTest.cpp
@@ -19,13 +19,13 @@
* under the License.
*
*/
-#include "qpid/broker/AccumulatedAck.h"
+#include "qpid/framing/AccumulatedAck.h"
#include "qpid_test_plugin.h"
#include <iostream>
#include <list>
using std::list;
-using namespace qpid::broker;
+using namespace qpid::framing;
class AccumulatedAckTest : public CppUnit::TestCase
{
@@ -44,12 +44,12 @@ class AccumulatedAckTest : public CppUnit::TestCase
public:
bool covers(const AccumulatedAck& ack, int i)
{
- return ack.covers(DeliveryId(i));
+ return ack.covers(SequenceNumber(i));
}
void update(AccumulatedAck& ack, int start, int end)
{
- ack.update(DeliveryId(start), DeliveryId(end));
+ ack.update(SequenceNumber(start), SequenceNumber(end));
}
void testGeneral()