diff options
author | Gordon Sim <gsim@apache.org> | 2008-04-20 12:10:37 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-04-20 12:10:37 +0000 |
commit | 4780580874e8d6a3e3590fa5fdf8a088310b20ae (patch) | |
tree | a73e247b9821c2429a8e015ddff9cbb5d17a88e8 /qpid/cpp/src/tests/HeaderTest.cpp | |
parent | e29bb6406ad8d0c0d9d58b7d1d09798829687602 (diff) | |
download | qpid-python-4780580874e8d6a3e3590fa5fdf8a088310b20ae.tar.gz |
QPID-920: converted c++ client to use final 0-10 protocol
* connection handler converted to using invoker & proxy and updated to final method defs
* SessionCore & ExecutionHandler replace by SessionImpl
* simplified handling of completion & results, removed handling of responses
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649915 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/HeaderTest.cpp')
-rw-r--r-- | qpid/cpp/src/tests/HeaderTest.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/qpid/cpp/src/tests/HeaderTest.cpp b/qpid/cpp/src/tests/HeaderTest.cpp index 9e2bddb4de..56be38a302 100644 --- a/qpid/cpp/src/tests/HeaderTest.cpp +++ b/qpid/cpp/src/tests/HeaderTest.cpp @@ -61,16 +61,13 @@ class HeaderTest : public CppUnit::TestCase out.castBody<AMQHeaderBody>()->get<MessageProperties>(true); props1->setContentLength(42); - props1->setMessageId("messageId"); + props1->setMessageId(Uuid(true)); props1->setCorrelationId("correlationId"); props1->setReplyTo(ReplyTo("ex","key")); props1->setContentType("contentType"); props1->setContentEncoding("contentEncoding"); - props1->setType("type"); props1->setUserId("userId"); props1->setAppId("appId"); - props1->setTransactionId("transactionId"); - props1->setSecurityToken("securityToken"); char buff[10000]; Buffer wbuffer(buff, 10000); @@ -87,11 +84,8 @@ class HeaderTest : public CppUnit::TestCase CPPUNIT_ASSERT_EQUAL(props1->getCorrelationId(), props2->getCorrelationId()); CPPUNIT_ASSERT_EQUAL(props1->getContentType(), props2->getContentType()); CPPUNIT_ASSERT_EQUAL(props1->getContentEncoding(), props2->getContentEncoding()); - CPPUNIT_ASSERT_EQUAL(props1->getType(), props2->getType()); CPPUNIT_ASSERT_EQUAL(props1->getUserId(), props2->getUserId()); CPPUNIT_ASSERT_EQUAL(props1->getAppId(), props2->getAppId()); - CPPUNIT_ASSERT_EQUAL(props1->getTransactionId(), props2->getTransactionId()); - CPPUNIT_ASSERT_EQUAL(props1->getSecurityToken(), props2->getSecurityToken()); } |