activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r733139 - in /activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp: StompConnectorTest.cpp StompSessionManagerTest.cpp
Date Fri, 09 Jan 2009 20:09:49 GMT
Author: tabish
Date: Fri Jan  9 12:09:48 2009
New Revision: 733139

URL: http://svn.apache.org/viewvc?rev=733139&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-100

Some initial refactoring work that leads to V3 and addition of Failover.

Modified:
    activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp/StompConnectorTest.cpp
    activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp/StompSessionManagerTest.cpp

Modified: activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp/StompConnectorTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp/StompConnectorTest.cpp?rev=733139&r1=733138&r2=733139&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp/StompConnectorTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp/StompConnectorTest.cpp Fri
Jan  9 12:09:48 2009
@@ -298,7 +298,7 @@
 
     // Create the transport->
     this->transport =
-        dynamic_cast<MockTransport*>( factory->create( uri ) );
+        dynamic_cast<MockTransport*>( factory->createComposite( uri ) );
     if( transport == NULL ){
         CPPUNIT_ASSERT( false );
     }

Modified: activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp/StompSessionManagerTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp/StompSessionManagerTest.cpp?rev=733139&r1=733138&r2=733139&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp/StompSessionManagerTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/test/activemq/connector/stomp/StompSessionManagerTest.cpp
Fri Jan  9 12:09:48 2009
@@ -346,7 +346,7 @@
 
     // Create the transport.
     this->transport =
-        dynamic_cast<MockTransport*>( factory->create( uri ) );
+        dynamic_cast<MockTransport*>( factory->createComposite( uri ) );
     if( transport == NULL ){
         CPPUNIT_ASSERT( false );
     }



Mime
View raw message