activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r984920 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/MapMessageTest.cpp
Date Thu, 12 Aug 2010 19:20:07 GMT
Author: tabish
Date: Thu Aug 12 19:20:06 2010
New Revision: 984920

URL: http://svn.apache.org/viewvc?rev=984920&view=rev
Log:
Adds an addition test to this test case.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/MapMessageTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/MapMessageTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/MapMessageTest.cpp?rev=984920&r1=984919&r2=984920&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/MapMessageTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/MapMessageTest.cpp
Thu Aug 12 19:20:06 2010
@@ -87,6 +87,7 @@ void MapMessageTest::testMapWithEmptyStr
     cms::MapMessage* recvMapMessage = dynamic_cast<MapMessage*>( message.get() );
     CPPUNIT_ASSERT( recvMapMessage != NULL );
     CPPUNIT_ASSERT( recvMapMessage->itemExists( "String1" ) == true );
+    CPPUNIT_ASSERT( recvMapMessage->getString( "String1" ) == "" );
     CPPUNIT_ASSERT( recvMapMessage->itemExists( "String2" ) == true );
     CPPUNIT_ASSERT( recvMapMessage->itemExists( "String3" ) == false );
     CPPUNIT_ASSERT( recvMapMessage->getString( "String2" ) == string( "value" ) );



Mime
View raw message