summaryrefslogtreecommitdiff
path: root/cpp/src/tests/amqp_0_10/Map.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-04-03 00:57:44 +0000
committerAlan Conway <aconway@apache.org>2008-04-03 00:57:44 +0000
commit9f2984071f88cdcd6c59e9bdb048e2af6eb8a9d1 (patch)
tree6e57fbecb75f4e36b5ce4e86616089a20813f48e /cpp/src/tests/amqp_0_10/Map.cpp
parent559ab77a2b18b4e1d4f23c66d2b70125c3cf2d0e (diff)
downloadqpid-python-9f2984071f88cdcd6c59e9bdb048e2af6eb8a9d1.tar.gz
Fix serialize test failure on 64 bit architerctures.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644125 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/amqp_0_10/Map.cpp')
-rw-r--r--cpp/src/tests/amqp_0_10/Map.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/amqp_0_10/Map.cpp b/cpp/src/tests/amqp_0_10/Map.cpp
index 958470f6d7..0a58a2134a 100644
--- a/cpp/src/tests/amqp_0_10/Map.cpp
+++ b/cpp/src/tests/amqp_0_10/Map.cpp
@@ -88,6 +88,7 @@ BOOST_AUTO_TEST_CASE(testEncode) {
map["A"] = true;
map["b"] = Str8("hello");
Codec::encode(back_inserter(data))(map);
+ BOOST_CHECK_EQUAL(Codec::size(map), data.size());
Map map2;
Codec::decode(data.begin())(map2);
BOOST_CHECK_EQUAL(map.size(), 2u);