[rhmessaging-commits] rhmessaging commits: r1962 - store/trunk/cpp/tests.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue Apr 22 22:17:04 EDT 2008


Author: cctrieloff
Date: 2008-04-22 22:17:04 -0400 (Tue, 22 Apr 2008)
New Revision: 1962

Modified:
   store/trunk/cpp/tests/SimpleTest.cpp
Log:
Updated to 0-10 Str16 for AMQP 0-10 final

Modified: store/trunk/cpp/tests/SimpleTest.cpp
===================================================================
--- store/trunk/cpp/tests/SimpleTest.cpp	2008-04-22 22:09:25 UTC (rev 1961)
+++ store/trunk/cpp/tests/SimpleTest.cpp	2008-04-23 02:17:04 UTC (rev 1962)
@@ -226,7 +226,7 @@
         BOOST_REQUIRE_EQUAL(routingKey, msg->getRoutingKey());
         BOOST_REQUIRE_EQUAL(messageId, msg->getProperties<MessageProperties>()->getMessageId());
         BOOST_REQUIRE_EQUAL((uint8_t) PERSISTENT, msg->getProperties<DeliveryProperties>()->getDeliveryMode());
-        BOOST_REQUIRE(StringValue("xyz") == *msg->getProperties<MessageProperties>()->getApplicationHeaders().get("abc"));
+        BOOST_REQUIRE(Str16Value("xyz") == *msg->getProperties<MessageProperties>()->getApplicationHeaders().get("abc"));
         BOOST_REQUIRE_EQUAL((u_int64_t) 14, msg->contentSize());
     
         DummyHandler handler;
@@ -347,7 +347,7 @@
         BOOST_REQUIRE_EQUAL(routingKey, msg->getRoutingKey());
         BOOST_REQUIRE_EQUAL(messageId, msg->getProperties<MessageProperties>()->getMessageId());
         BOOST_REQUIRE_EQUAL((uint8_t) PERSISTENT, msg->getProperties<DeliveryProperties>()->getDeliveryMode());
-        BOOST_REQUIRE(StringValue("xyz") == *msg->getProperties<MessageProperties>()->getApplicationHeaders().get("abc"));
+        BOOST_REQUIRE(Str16Value("xyz") == *msg->getProperties<MessageProperties>()->getApplicationHeaders().get("abc"));
         BOOST_REQUIRE_EQUAL((u_int64_t) (data1.size() + data2.size()), msg->getFrames().getHeaders()->getContentLength());
 
         BOOST_REQUIRE_EQUAL((u_int64_t) 0, msg->contentSize());//ensure it is being lazily loaded 




More information about the rhmessaging-commits mailing list