You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/03/13 17:08:01 UTC
svn commit: r517747 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQDestinationTest2.cpp
Author: tabish
Date: Tue Mar 13 09:08:00 2007
New Revision: 517747
URL: http://svn.apache.org/viewvc?view=rev&rev=517747
Log:
http://issues.apache.org/activemq/browse/AMQCPP-86
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQDestinationTest2.cpp
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQDestinationTest2.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQDestinationTest2.cpp?view=diff&rev=517747&r1=517746&r2=517747
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQDestinationTest2.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQDestinationTest2.cpp Tue Mar 13 09:08:00 2007
@@ -67,7 +67,9 @@
CPPUNIT_ASSERT( dest3->isAdvisory() == true );
CPPUNIT_ASSERT( dest3->isConsumerAdvisory() == false );
CPPUNIT_ASSERT( dest3->isProducerAdvisory() == false );
-
+
+ delete dest3;
+
std::string clientId = Guid::createGUIDString();
std::string result = dest.createTemporaryName( clientId );
CPPUNIT_ASSERT( result.find( clientId ) != string::npos );
@@ -87,7 +89,7 @@
dest.setPhysicalName( "test?option1=test1&option2=test2" );
const util::Properties& properties = dest.getOptions();
-
+
CPPUNIT_ASSERT( properties.hasProperty( "option1" ) == true );
CPPUNIT_ASSERT( properties.hasProperty( "option2" ) == true );