diff options
author | Alan Conway <aconway@apache.org> | 2007-01-15 18:28:29 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-01-15 18:28:29 +0000 |
commit | 87d97b5bcc5b7fe44cfc71ce28ccfeae1d9b2274 (patch) | |
tree | 03929353228d063bf8892d6c57d4bf46fa467ddd /cpp/tests | |
parent | fa15e6d52022cc1576b19e3caaecf66260c1923e (diff) | |
download | qpid-python-87d97b5bcc5b7fe44cfc71ce28ccfeae1d9b2274.tar.gz |
* 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
Diffstat (limited to 'cpp/tests')
-rw-r--r-- | cpp/tests/FramingTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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()); |