From 87d97b5bcc5b7fe44cfc71ce28ccfeae1d9b2274 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 15 Jan 2007 18:28:29 +0000 Subject: * Refactor: Moved major broker components (exchanges, queues etc.) from class SessionHandlerImplFactory to more logical class Broker. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496425 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/tests/FramingTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/tests') diff --git a/cpp/tests/FramingTest.cpp b/cpp/tests/FramingTest.cpp index dc895506c9..268963f7b8 100644 --- a/cpp/tests/FramingTest.cpp +++ b/cpp/tests/FramingTest.cpp @@ -236,7 +236,8 @@ class FramingTest : public CppUnit::TestCase q.requestId = 1; q.responseMark = 0; r.received(q); - r.sending(p, q.requestId); + p.requestId = q.requestId; + r.sending(p); CPPUNIT_ASSERT_EQUAL(1ULL, p.responseId); CPPUNIT_ASSERT_EQUAL(1ULL, p.requestId); CPPUNIT_ASSERT_EQUAL(0U, p.batchOffset); @@ -245,9 +246,8 @@ class FramingTest : public CppUnit::TestCase q.requestId++; q.responseMark = 1; r.received(q); - r.sending(p, q.requestId); + r.sending(p); CPPUNIT_ASSERT_EQUAL(2ULL, p.responseId); - CPPUNIT_ASSERT_EQUAL(2ULL, p.requestId); CPPUNIT_ASSERT_EQUAL(0U, p.batchOffset); CPPUNIT_ASSERT_EQUAL(1ULL, r.getResponseMark()); -- cgit v1.2.1