summaryrefslogtreecommitdiff
path: root/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
commitb33a63b36c659a894143382d0a61efe6a598fcc6 (patch)
tree0efc848ae9cc6064d615c6968b1d127e92b231d3 /cpp/src/tests/AccumulatedAckTest.cpp
parent748698e4b8d5bd0c3ccec4ca898d334c13fc0795 (diff)
downloadqpid-python-b33a63b36c659a894143382d0a61efe6a598fcc6.tar.gz
Implementation of execution.result on the client side
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@573359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/AccumulatedAckTest.cpp')
-rw-r--r--cpp/src/tests/AccumulatedAckTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/tests/AccumulatedAckTest.cpp b/cpp/src/tests/AccumulatedAckTest.cpp
index 601af532fa..62245e463b 100644
--- a/cpp/src/tests/AccumulatedAckTest.cpp
+++ b/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()