activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r498736 [2/2] - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp: ./ src/examples/ src/main/activemq/concurrent/ src/main/activemq/connector/openwire/commands/ src/main/activemq/connector/openwire/marshal/ src/main/activemq/connector/...
Date Mon, 22 Jan 2007 18:14:09 GMT
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/core/ActiveMQConnectionTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/core/ActiveMQConnectionTest.h?view=diff&rev=498736&r1=498735&r2=498736
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/core/ActiveMQConnectionTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/core/ActiveMQConnectionTest.h
Mon Jan 22 10:14:06 2007
@@ -89,7 +89,7 @@
             
             virtual void onConsumerMessage( 
                 connector::ConsumerInfo* consumer,
-                core::ActiveMQMessage* msg ACTIVEMQ_ATTRIBUTE_UNUSED )
+                core::ActiveMQMessage* msg AMQCPP_UNUSED )
             {
                 consumers.push_back( consumer );
             }
@@ -105,7 +105,7 @@
             MyExceptionListener(){ caughtOne = false; }
             virtual ~MyExceptionListener(){}
             
-            virtual void onException(const cms::CMSException& ex ACTIVEMQ_ATTRIBUTE_UNUSED){
+            virtual void onException(const cms::CMSException& ex AMQCPP_UNUSED){
                 caughtOne = true;
             }
         };

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/core/ActiveMQSessionTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/core/ActiveMQSessionTest.h?view=diff&rev=498736&r1=498735&r2=498736
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/core/ActiveMQSessionTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/core/ActiveMQSessionTest.h
Mon Jan 22 10:14:06 2007
@@ -93,7 +93,7 @@
             MyExceptionListener(){ caughtOne = false; }
             virtual ~MyExceptionListener(){}
             
-            virtual void onException(const cms::CMSException& ex ACTIVEMQ_ATTRIBUTE_UNUSED){
+            virtual void onException(const cms::CMSException& ex AMQCPP_UNUSED){
                 caughtOne = true;
             }
         };

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedInputStreamTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedInputStreamTest.h?view=diff&rev=498736&r1=498735&r2=498736
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedInputStreamTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedInputStreamTest.h
Mon Jan 22 10:14:06 2007
@@ -76,7 +76,7 @@
 			virtual void close() throw(cms::CMSException){
 				// do nothing.
 			}
-            virtual int skip( int num ACTIVEMQ_ATTRIBUTE_UNUSED) throw ( io::IOException,
exceptions::UnsupportedOperationException ) {
+            virtual int skip( int num AMQCPP_UNUSED) throw ( io::IOException, exceptions::UnsupportedOperationException
) {
                 return 0;
             }
 			
@@ -86,7 +86,7 @@
 		    }
             virtual void wait() throw(exceptions::ActiveMQException){
             }
-            virtual void wait(unsigned long millisecs ACTIVEMQ_ATTRIBUTE_UNUSED) throw(exceptions::ActiveMQException){
               
+            virtual void wait(unsigned long millisecs AMQCPP_UNUSED) throw(exceptions::ActiveMQException){
               
             }
             virtual void notify() throw(exceptions::ActiveMQException){
             }

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedOutputStreamTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedOutputStreamTest.h?view=diff&rev=498736&r1=498735&r2=498736
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedOutputStreamTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedOutputStreamTest.h
Mon Jan 22 10:14:06 2007
@@ -83,7 +83,7 @@
             }
             virtual void wait() throw(exceptions::ActiveMQException){
             }
-            virtual void wait(unsigned long millisecs ACTIVEMQ_ATTRIBUTE_UNUSED) throw(exceptions::ActiveMQException){
+            virtual void wait(unsigned long millisecs AMQCPP_UNUSED) throw(exceptions::ActiveMQException){
             }
             virtual void notify() throw(exceptions::ActiveMQException){
             }

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/DummyTransport.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/DummyTransport.h?view=diff&rev=498736&r1=498735&r2=498736
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/DummyTransport.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/DummyTransport.h
Mon Jan 22 10:14:06 2007
@@ -217,9 +217,9 @@
             outgoingCommandListener = listener;
         }
         
-        virtual void setCommandReader( CommandReader* reader ACTIVEMQ_ATTRIBUTE_UNUSED){}
+        virtual void setCommandReader( CommandReader* reader AMQCPP_UNUSED){}
         
-        virtual void setCommandWriter( CommandWriter* writer ACTIVEMQ_ATTRIBUTE_UNUSED){}
+        virtual void setCommandWriter( CommandWriter* writer AMQCPP_UNUSED){}
         
         virtual void setTransportExceptionListener( 
             TransportExceptionListener* listener )

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/IOTransportTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/IOTransportTest.h?view=diff&rev=498736&r1=498735&r2=498736
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/IOTransportTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/IOTransportTest.h
Mon Jan 22 10:14:06 2007
@@ -55,10 +55,10 @@
             
             char c;
             
-            virtual void setCommandId( const unsigned int id ACTIVEMQ_ATTRIBUTE_UNUSED){}
+            virtual void setCommandId( const unsigned int id AMQCPP_UNUSED){}
             virtual unsigned int getCommandId() const{ return 0; }
             
-            virtual void setResponseRequired( const bool required ACTIVEMQ_ATTRIBUTE_UNUSED){}
+            virtual void setResponseRequired( const bool required AMQCPP_UNUSED){}
             virtual bool isResponseRequired() const{ return false; }
         };
         
@@ -129,8 +129,8 @@
                 }
             }
 
-            virtual int read(unsigned char* buffer ACTIVEMQ_ATTRIBUTE_UNUSED, 
-                             int count ACTIVEMQ_ATTRIBUTE_UNUSED) 
+            virtual int read(unsigned char* buffer AMQCPP_UNUSED, 
+                             int count AMQCPP_UNUSED) 
                 throw( io::IOException ) {
                 return 0;
             }
@@ -176,11 +176,11 @@
                 }
             }
 
-            virtual void write( const unsigned char* buffer ACTIVEMQ_ATTRIBUTE_UNUSED, 
-                                int count ACTIVEMQ_ATTRIBUTE_UNUSED) 
+            virtual void write( const unsigned char* buffer AMQCPP_UNUSED, 
+                                int count AMQCPP_UNUSED) 
                 throw(io::IOException) {}
            
-            virtual void writeByte(unsigned char v ACTIVEMQ_ATTRIBUTE_UNUSED) throw(io::IOException)
{}
+            virtual void writeByte(unsigned char v AMQCPP_UNUSED) throw(io::IOException)
{}
         };
         
         class MyExceptionListener : public TransportExceptionListener{
@@ -195,7 +195,7 @@
             virtual ~MyExceptionListener(){}
             
             virtual void onTransportException( Transport* source, 
-                        const exceptions::ActiveMQException& ex ACTIVEMQ_ATTRIBUTE_UNUSED){
+                        const exceptions::ActiveMQException& ex AMQCPP_UNUSED){
                 transport = source;
 
                 synchronized(&mutex)

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/ResponseCorrelatorTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/ResponseCorrelatorTest.h?view=diff&rev=498736&r1=498735&r2=498736
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/ResponseCorrelatorTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/ResponseCorrelatorTest.h
Mon Jan 22 10:14:06 2007
@@ -173,7 +173,7 @@
                 }
             }
             
-            virtual Response* request( Command* command ACTIVEMQ_ATTRIBUTE_UNUSED) 
+            virtual Response* request( Command* command AMQCPP_UNUSED) 
                 throw(CommandIOException, exceptions::UnsupportedOperationException)
             {
                 throw exceptions::UnsupportedOperationException( 
@@ -309,7 +309,7 @@
             MyBrokenTransport(){}            
             virtual ~MyBrokenTransport(){}
             
-            virtual Response* createResponse( Command* command ACTIVEMQ_ATTRIBUTE_UNUSED){
               
+            virtual Response* createResponse( Command* command AMQCPP_UNUSED){          
     
                 throw exceptions::ActiveMQException( __FILE__, __LINE__,
                     "bad stuff" );
             }
@@ -342,8 +342,8 @@
             }
             
             virtual void onTransportException( 
-                Transport* source ACTIVEMQ_ATTRIBUTE_UNUSED, 
-                const exceptions::ActiveMQException& ex ACTIVEMQ_ATTRIBUTE_UNUSED)
+                Transport* source AMQCPP_UNUSED, 
+                const exceptions::ActiveMQException& ex AMQCPP_UNUSED)
             {
                 synchronized( &mutex ){
                     exCount++;

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/TransportFactoryMapRegistrarTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/TransportFactoryMapRegistrarTest.h?view=diff&rev=498736&r1=498735&r2=498736
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/TransportFactoryMapRegistrarTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/TransportFactoryMapRegistrarTest.h
Mon Jan 22 10:14:06 2007
@@ -41,7 +41,7 @@
 		public:
 		
 		   virtual Transport* createTransport(
-		      const activemq::util::Properties& properties ACTIVEMQ_ATTRIBUTE_UNUSED ) { return
NULL; };
+		      const activemq::util::Properties& properties AMQCPP_UNUSED ) { return NULL; };
 		};
         
         virtual ~TransportFactoryMapRegistrarTest(){}

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/TransportFactoryMapTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/TransportFactoryMapTest.h?view=diff&rev=498736&r1=498735&r2=498736
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/TransportFactoryMapTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/TransportFactoryMapTest.h
Mon Jan 22 10:14:06 2007
@@ -41,7 +41,7 @@
 		public:
 		
 		   virtual Transport* createTransport(
-		      const activemq::util::Properties& properties ACTIVEMQ_ATTRIBUTE_UNUSED) { return
NULL; };
+		      const activemq::util::Properties& properties AMQCPP_UNUSED) { return NULL; };
 		};
         
         virtual ~TransportFactoryMapTest(){}

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/main.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/main.cpp?view=diff&rev=498736&r1=498735&r2=498736
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/main.cpp (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/main.cpp Mon Jan 22 10:14:06
2007
@@ -21,7 +21,7 @@
 #include <cppunit/TestResult.h>
 #include <activemq/util/Config.h>
 
-int main( int argc ACTIVEMQ_ATTRIBUTE_UNUSED, char **argv ACTIVEMQ_ATTRIBUTE_UNUSED)
+int main( int argc AMQCPP_UNUSED, char **argv AMQCPP_UNUSED)
 {
     CppUnit::TextUi::TestRunner runner;
     CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();



Mime
View raw message