summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/MessageTest.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-10-13 21:24:40 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-10-13 21:24:40 +0000
commit735ec9528d15ff5bd496d1229cc1cba510d9005d (patch)
treef9c99860706e5ba49b49f6017ed136755d979d59 /qpid/cpp/src/tests/MessageTest.cpp
parent4d0136f757776a1860c0d08e9674cfd18529b586 (diff)
downloadqpid-python-735ec9528d15ff5bd496d1229cc1cba510d9005d.tar.gz
Field Table API: changed the getInt() & getString() operations
which are inconsistent with all the other getXXX() functions to getAsString()/getAsInt() to better indicate their real function. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704255 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/MessageTest.cpp')
-rw-r--r--qpid/cpp/src/tests/MessageTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/MessageTest.cpp b/qpid/cpp/src/tests/MessageTest.cpp
index b5c1648caf..f9292ee53e 100644
--- a/qpid/cpp/src/tests/MessageTest.cpp
+++ b/qpid/cpp/src/tests/MessageTest.cpp
@@ -81,7 +81,7 @@ QPID_AUTO_TEST_CASE(testEncodeDecode)
BOOST_CHECK_EQUAL((uint64_t) data1.size() + data2.size(), msg->contentSize());
BOOST_CHECK_EQUAL((uint64_t) data1.size() + data2.size(), msg->getProperties<MessageProperties>()->getContentLength());
BOOST_CHECK_EQUAL(messageId, msg->getProperties<MessageProperties>()->getMessageId());
- BOOST_CHECK_EQUAL(string("xyz"), msg->getProperties<MessageProperties>()->getApplicationHeaders().getString("abc"));
+ BOOST_CHECK_EQUAL(string("xyz"), msg->getProperties<MessageProperties>()->getApplicationHeaders().getAsString("abc"));
BOOST_CHECK_EQUAL((uint8_t) PERSISTENT, msg->getProperties<DeliveryProperties>()->getDeliveryMode());
BOOST_CHECK(msg->isPersistent());
}