From eda249ff22edb3726243da81ff48c82e4d88e872 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 4 Nov 2008 19:52:49 +0000 Subject: constants.rb: generate type code constants for AMQP types. Useful with Array. framing/Array: - added some std:::vector like functions & typedefs. - use TypeCode enums, human readable ostream << operator. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711365 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/FieldValue.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/src/tests/FieldValue.cpp') diff --git a/cpp/src/tests/FieldValue.cpp b/cpp/src/tests/FieldValue.cpp index eacf098034..448f068107 100644 --- a/cpp/src/tests/FieldValue.cpp +++ b/cpp/src/tests/FieldValue.cpp @@ -24,17 +24,17 @@ QPID_AUTO_TEST_SUITE(FieldValueTestSuite) using namespace qpid::framing; -StringValue s("abc"); +Str16Value s("abc"); IntegerValue i(42); //DecimalValue d(1234,2); //FieldTableValue ft; //EmptyValue e; -QPID_AUTO_TEST_CASE(testStringValueEquals) +QPID_AUTO_TEST_CASE(testStr16ValueEquals) { - BOOST_CHECK(StringValue("abc") == s); - BOOST_CHECK(StringValue("foo") != s); + BOOST_CHECK(Str16Value("abc") == s); + BOOST_CHECK(Str16Value("foo") != s); BOOST_CHECK(s != i); BOOST_CHECK(s.convertsTo() == true); BOOST_CHECK(s.convertsTo() == false); -- cgit v1.2.1