activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r532844 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration: IntegrationCommon.cpp IntegrationCommon.h
Date Thu, 26 Apr 2007 19:57:45 GMT
Author: tabish
Date: Thu Apr 26 12:57:44 2007
New Revision: 532844

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

Adding more configurability to tests

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/IntegrationCommon.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/IntegrationCommon.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/IntegrationCommon.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/IntegrationCommon.cpp?view=diff&rev=532844&r1=532843&r2=532844
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/IntegrationCommon.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/IntegrationCommon.cpp
Thu Apr 26 12:57:44 2007
@@ -19,6 +19,7 @@
 
 using namespace integration;
 
+////////////////////////////////////////////////////////////////////////////////
 const int IntegrationCommon::defaultDelay = 5;
 const unsigned int IntegrationCommon::defaultMsgCount = 1000;
 bool IntegrationCommon::debug = false;

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/IntegrationCommon.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/IntegrationCommon.h?view=diff&rev=532844&r1=532843&r2=532844
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/IntegrationCommon.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/integration/IntegrationCommon.h
Thu Apr 26 12:57:44 2007
@@ -28,9 +28,18 @@
 
         virtual ~IntegrationCommon() {}
 
-        static const int          defaultDelay;
-        static const unsigned int defaultMsgCount;
+        virtual std::string getStompURL() const {
+            return this->stompURL;
+        }
+
+        virtual std::string getOpenwireURL() const {
+            return this->openwireURL;
+        }
 
+    public:  // Statics
+
+        static const int defaultDelay;
+        static const unsigned int defaultMsgCount;
         static bool debug;
 
         static IntegrationCommon& getInstance();



Mime
View raw message