activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r519601 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration: ./ integration/ integration/connector/openwire/ integration/connector/stomp/
Date Sun, 18 Mar 2007 12:15:42 GMT
Author: nmittler
Date: Sun Mar 18 05:15:41 2007
New Revision: 519601

URL: http://svn.apache.org/viewvc?view=rev&rev=519601
Log:
AMQCPP-84 - adding integ test for slow consumers

Added:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/TestRegistry.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSlowListenerTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSlowListenerTest.h
Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/Makefile.am
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireAsyncSenderTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireDurableTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireExpirationTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSimpleRollbackTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSimpleTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireTempDestinationTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireTransactionTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/AsyncSenderTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/DurableTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/ExpirationTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/SimpleRollbackTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/SimpleTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/TransactionTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/Makefile.am
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/Makefile.am?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/Makefile.am (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/Makefile.am Sun Mar 18 05:15:41
2007
@@ -18,11 +18,13 @@
 cc_sources = \
   integration/IntegrationCommon.cpp \
   integration/TestSupport.cpp \
+  integration/TestRegistry.cpp \
   integration/connector/openwire/OpenwireAsyncSenderTest.cpp \
   integration/connector/openwire/OpenwireDurableTest.cpp \
   integration/connector/openwire/OpenwireExpirationTest.cpp \
   integration/connector/openwire/OpenwireSimpleRollbackTest.cpp \
   integration/connector/openwire/OpenwireSimpleTest.cpp \
+  integration/connector/openwire/OpenwireSlowListenerTest.cpp \
   integration/connector/openwire/OpenwireTransactionTest.cpp \
   integration/connector/openwire/OpenwireTempDestinationTest.cpp \
   integration/connector/stomp/AsyncSenderTest.cpp \

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/TestRegistry.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/TestRegistry.cpp?view=auto&rev=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/TestRegistry.cpp
(added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/TestRegistry.cpp
Sun Mar 18 05:15:41 2007
@@ -0,0 +1,31 @@
+#include "connector/openwire/OpenwireAsyncSenderTest.h"
+#include "connector/openwire/OpenwireDurableTest.h"
+#include "connector/openwire/OpenwireExpirationTest.h"
+#include "connector/openwire/OpenwireSimpleRollbackTest.h"
+#include "connector/openwire/OpenwireSimpleTest.h"
+#include "connector/openwire/OpenwireSlowListenerTest.h"
+#include "connector/openwire/OpenwireTempDestinationTest.h"
+#include "connector/openwire/OpenwireTransactionTest.h"
+
+#include "connector/stomp/AsyncSenderTest.h"
+#include "connector/stomp/DurableTest.h"
+#include "connector/stomp/ExpirationTest.h"
+#include "connector/stomp/SimpleRollbackTest.h"
+#include "connector/stomp/SimpleTest.h"
+#include "connector/stomp/TransactionTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireAsyncSenderTest
);
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireDurableTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireExpirationTest
);
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireSimpleRollbackTest
);
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireSimpleTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireSlowListenerTest
);
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireTempDestinationTest
);
+//CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireTransactionTest
);
+
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::AsyncSenderTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::DurableTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::ExpirationTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::SimpleRollbackTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::SimpleTest );
+CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::TransactionTest );

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireAsyncSenderTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireAsyncSenderTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireAsyncSenderTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireAsyncSenderTest.cpp
Sun Mar 18 05:15:41 2007
@@ -71,8 +71,6 @@
 using namespace integration;
 using namespace integration::connector::openwire;
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireAsyncSenderTest
);
-
 ////////////////////////////////////////////////////////////////////////////////
 OpenwireAsyncSenderTest::OpenwireAsyncSenderTest()
 :

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireDurableTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireDurableTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireDurableTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireDurableTest.cpp
Sun Mar 18 05:15:41 2007
@@ -19,8 +19,6 @@
 
 #include <integration/IntegrationCommon.h>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireDurableTest );
-
 #include <activemq/concurrent/Thread.h>
 #include <activemq/connector/stomp/StompConnector.h>
 #include <activemq/util/SimpleProperties.h>

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireExpirationTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireExpirationTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireExpirationTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireExpirationTest.cpp
Sun Mar 18 05:15:41 2007
@@ -17,8 +17,6 @@
 
 #include "OpenwireExpirationTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireExpirationTest
);
-
 #include <sstream>
 
 #include <activemq/core/ActiveMQConnectionFactory.h>

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSimpleRollbackTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSimpleRollbackTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSimpleRollbackTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSimpleRollbackTest.cpp
Sun Mar 18 05:15:41 2007
@@ -19,8 +19,6 @@
 
 #include <integration/IntegrationCommon.h>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireSimpleRollbackTest
);
-
 #include <sstream>
 
 #include <activemq/core/ActiveMQConnectionFactory.h>

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSimpleTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSimpleTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSimpleTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSimpleTest.cpp
Sun Mar 18 05:15:41 2007
@@ -18,8 +18,6 @@
 #include "OpenwireSimpleTest.h"
 #include <integration/IntegrationCommon.h>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireSimpleTest );
-
 #include <activemq/concurrent/Thread.h>
 #include <activemq/connector/stomp/StompConnector.h>
 #include <activemq/util/SimpleProperties.h>

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSlowListenerTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSlowListenerTest.cpp?view=auto&rev=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSlowListenerTest.cpp
(added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSlowListenerTest.cpp
Sun Mar 18 05:15:41 2007
@@ -0,0 +1,176 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "OpenwireSlowListenerTest.h"
+#include <integration/IntegrationCommon.h>
+
+#include <activemq/concurrent/Thread.h>
+#include <activemq/connector/stomp/StompConnector.h>
+#include <activemq/util/SimpleProperties.h>
+#include <activemq/transport/TransportFactory.h>
+#include <activemq/util/Guid.h>
+#include <activemq/util/SimpleProperties.h>
+#include <activemq/util/StringTokenizer.h>
+#include <activemq/connector/ConnectorFactoryMap.h>
+#include <activemq/network/SocketFactory.h>
+#include <activemq/transport/TransportFactory.h>
+#include <activemq/network/Socket.h>
+#include <activemq/exceptions/NullPointerException.h>
+#include <activemq/core/ActiveMQConnectionFactory.h>
+#include <activemq/core/ActiveMQConnection.h>
+#include <activemq/core/ActiveMQConsumer.h>
+#include <activemq/core/ActiveMQProducer.h>
+#include <activemq/util/StringTokenizer.h>
+#include <activemq/util/Boolean.h>
+#include <activemq/util/Date.h>
+
+#include <cms/Connection.h>
+#include <cms/MessageConsumer.h>
+#include <cms/MessageProducer.h>
+#include <cms/MessageListener.h>
+#include <cms/Startable.h>
+#include <cms/Closeable.h>
+#include <cms/MessageListener.h>
+#include <cms/ExceptionListener.h>
+#include <cms/Topic.h>
+#include <cms/Queue.h>
+#include <cms/TemporaryTopic.h>
+#include <cms/TemporaryQueue.h>
+#include <cms/Session.h>
+#include <cms/BytesMessage.h>
+#include <cms/TextMessage.h>
+#include <cms/MapMessage.h>
+
+using namespace activemq::connector::stomp;
+using namespace activemq::transport;
+using namespace activemq::util;
+using namespace std;
+using namespace cms;
+using namespace activemq;
+using namespace activemq::core;
+using namespace activemq::util;
+using namespace activemq::connector;
+using namespace activemq::exceptions;
+using namespace activemq::network;
+using namespace activemq::transport;
+using namespace activemq::concurrent;
+
+using namespace integration;
+using namespace integration::connector::openwire;
+
+OpenwireSlowListenerTest::OpenwireSlowListenerTest()
+{
+}
+
+OpenwireSlowListenerTest::~OpenwireSlowListenerTest()
+{
+}
+
+void OpenwireSlowListenerTest::SlowListener::onMessage(const cms::Message* message) { 
+
+    synchronized( &threadIds ) {
+        count++;
+        threadIds.add( Thread::getId() );
+    }
+
+    Thread::sleep(10);
+
+}
+
+void OpenwireSlowListenerTest::test()
+{
+    try
+    {
+        SlowListener listener;
+
+        ActiveMQConnectionFactory* connectionFactory;
+        connectionFactory = new activemq::core::ActiveMQConnectionFactory("tcp://127.0.0.1:61616?wireFormat=openwire");
+        cms::Connection* connection = connectionFactory->createConnection();
+        cms::Session* session = connection->createSession( cms::Session::AUTO_ACKNOWLEDGE
);
+        cms::Destination* destination = session->createTopic(Guid::createGUIDString());
+        cms::MessageProducer* producer = session->createProducer( destination );
+    
+        const unsigned int numConsumers = 5;
+        cms::MessageConsumer* consumers[numConsumers];
+        
+        // Create several consumers for the same destination.
+        for (unsigned int i = 0; i < numConsumers; i++)
+        {
+            consumers[i] = session->createConsumer( destination );
+            consumers[i]->setMessageListener(&listener);
+        }
+    
+        connection->start();
+    
+        cms::BytesMessage* message = session->createBytesMessage();
+    
+        unsigned int msgCount = 50;
+        for (unsigned int i = 0; i < msgCount; i++){
+            producer->send(message);
+        }
+
+        // Wait no more than 10 seconds for all the messages to come in.
+        waitForMessages( msgCount * numConsumers, 10000, listener );
+        
+        connection->close();
+        
+        synchronized( &listener.threadIds ) {
+            
+            // Make sure that the listenerwas always accessed by the same thread
+            // and that it received all the messages from all consumers.
+            CPPUNIT_ASSERT_EQUAL( 1, (int)listener.threadIds.size() );
+            CPPUNIT_ASSERT_EQUAL( (msgCount * numConsumers), listener.count );
+        }
+        for (unsigned int i = 0; i < numConsumers; i++)
+        {
+            delete consumers[i];
+        }
+        
+        delete destination;
+        delete producer;
+        delete session;
+        delete connection;
+        delete connectionFactory;
+    } catch( ActiveMQException& ex ) {
+        ex.printStackTrace();
+        throw ex;
+    }
+}
+
+void OpenwireSlowListenerTest::waitForMessages( unsigned int count, 
+    long long maxWaitTime, 
+    OpenwireSlowListenerTest::SlowListener& l ) 
+{
+    long long startTime = Date::getCurrentTimeMilliseconds();
+    
+    synchronized( &l.threadIds ) {
+        
+        while( l.count < count ) {
+            
+            long long curTime = Date::getCurrentTimeMilliseconds();
+            if( (curTime - startTime) >= maxWaitTime ) {
+                return;
+            }
+            
+            l.threadIds.wait( 500 );
+        }
+        
+    }
+}
+
+
+

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSlowListenerTest.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSlowListenerTest.h?view=auto&rev=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSlowListenerTest.h
(added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireSlowListenerTest.h
Sun Mar 18 05:15:41 2007
@@ -0,0 +1,64 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _INTEGRATION_CONNECTOR_OPENWIRE_OPENWIRESLOWLISTENERTEST_H_
+#define _INTEGRATION_CONNECTOR_OPENWIRE_OPENWIRESLOWLISTENERTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <activemq/util/Set.h>
+#include <cms/MessageListener.h>
+
+namespace integration{
+namespace connector{
+namespace openwire{
+    
+    class OpenwireSlowListenerTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( OpenwireSlowListenerTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();
+        
+    public:
+    
+        class SlowListener: public cms::MessageListener {
+
+        public:
+            unsigned int count;
+            activemq::util::Set<long long> threadIds;
+            
+            SlowListener() { count = 0; }
+        
+            void onMessage(const cms::Message* message);
+        
+        };
+    
+    public:
+
+        OpenwireSlowListenerTest();
+        virtual ~OpenwireSlowListenerTest();
+
+        virtual void test();
+        
+        void waitForMessages( unsigned int count, long long maxWaitTime, SlowListener&
listener );
+
+    };
+
+}}}
+
+#endif /*_INTEGRATION_CONNECTOR_OPENWIRE_OPENWIRESLOWLISTENERTEST_H_*/

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireTempDestinationTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireTempDestinationTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireTempDestinationTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireTempDestinationTest.cpp
Sun Mar 18 05:15:41 2007
@@ -19,8 +19,6 @@
 
 #include <integration/IntegrationCommon.h>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireTempDestinationTest
);
-
 #include <activemq/concurrent/Thread.h>
 #include <activemq/concurrent/Mutex.h>
 #include <activemq/connector/stomp/StompConnector.h>

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireTransactionTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireTransactionTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireTransactionTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/openwire/OpenwireTransactionTest.cpp
Sun Mar 18 05:15:41 2007
@@ -18,8 +18,6 @@
 #include "OpenwireTransactionTest.h"
 #include <integration/IntegrationCommon.h>
 
-//CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::openwire::OpenwireTransactionTest
);
-
 #include <activemq/concurrent/Thread.h>
 #include <activemq/connector/stomp/StompConnector.h>
 #include <activemq/util/SimpleProperties.h>

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/AsyncSenderTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/AsyncSenderTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/AsyncSenderTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/AsyncSenderTest.cpp
Sun Mar 18 05:15:41 2007
@@ -71,8 +71,6 @@
 using namespace integration;
 using namespace integration::connector::stomp;
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::AsyncSenderTest );
-
 ////////////////////////////////////////////////////////////////////////////////
 AsyncSenderTest::AsyncSenderTest()
 :

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/DurableTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/DurableTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/DurableTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/DurableTest.cpp
Sun Mar 18 05:15:41 2007
@@ -19,8 +19,6 @@
 
 #include <integration/IntegrationCommon.h>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::DurableTest );
-
 #include <activemq/concurrent/Thread.h>
 #include <activemq/connector/stomp/StompConnector.h>
 #include <activemq/util/SimpleProperties.h>

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/ExpirationTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/ExpirationTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/ExpirationTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/ExpirationTest.cpp
Sun Mar 18 05:15:41 2007
@@ -17,8 +17,6 @@
 
 #include "ExpirationTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::ExpirationTest );
-
 #include <sstream>
 
 #include <activemq/core/ActiveMQConnectionFactory.h>

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/SimpleRollbackTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/SimpleRollbackTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/SimpleRollbackTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/SimpleRollbackTest.cpp
Sun Mar 18 05:15:41 2007
@@ -19,8 +19,6 @@
 
 #include <integration/IntegrationCommon.h>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::SimpleRollbackTest );
-
 #include <sstream>
 
 #include <activemq/core/ActiveMQConnectionFactory.h>

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/SimpleTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/SimpleTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/SimpleTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/SimpleTest.cpp
Sun Mar 18 05:15:41 2007
@@ -18,8 +18,6 @@
 #include "SimpleTest.h"
 #include <integration/IntegrationCommon.h>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::SimpleTest );
-
 #include <activemq/concurrent/Thread.h>
 #include <activemq/connector/stomp/StompConnector.h>
 #include <activemq/util/SimpleProperties.h>

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/TransactionTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/TransactionTest.cpp?view=diff&rev=519601&r1=519600&r2=519601
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/TransactionTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/connector/stomp/TransactionTest.cpp
Sun Mar 18 05:15:41 2007
@@ -18,8 +18,6 @@
 #include "TransactionTest.h"
 #include <integration/IntegrationCommon.h>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( integration::connector::stomp::TransactionTest );
-
 #include <activemq/concurrent/Thread.h>
 #include <activemq/connector/stomp/StompConnector.h>
 #include <activemq/util/SimpleProperties.h>



Mime
View raw message