activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r419365 [22/25] - in /incubator/activemq/trunk: activemq-core/src/main/java/org/apache/activemq/thread/ activemq-core/src/test/java/org/apache/activemq/openwire/v1/ activemq-cpp/src/main/activemq/concurrent/ activemq-cpp/src/main/activemq/c...
Date Wed, 05 Jul 2006 22:27:47 GMT
Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectCommandTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectCommandTest.h?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectCommandTest.h (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectCommandTest.h Wed Jul  5 15:27:34 2006
@@ -1,62 +1,62 @@
-#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTCOMMANDTEST_H_
-#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTCOMMANDTEST_H_
-
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-
-#include <activemq/connector/stomp/commands/ConnectCommand.h>
-
-namespace activemq{
-namespace connector{
-namespace stomp{
-namespace commands{
-
-    class ConnectCommandTest : public CppUnit::TestFixture
-    {
-        CPPUNIT_TEST_SUITE( ConnectCommandTest );
-        CPPUNIT_TEST( test );
-        CPPUNIT_TEST_SUITE_END();
-
-    public:
-
-    	ConnectCommandTest() {}
-    	virtual ~ConnectCommandTest() {}
-
-        void test(void)
-        {
-            ConnectCommand cmd;
-
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
-                            CommandConstants::CONNECT );
-            
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
-            cmd.setResponseRequired( true );
-            cmd.setCommandId( 123 );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
-            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
-            cmd.setCorrelationId( 99 );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
-            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
-            cmd.setTransactionId( "ID:123456" );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            "ID:123456" );
-            
-            StompFrame* frame = cmd.marshal().clone();
-            
-            CPPUNIT_ASSERT( frame != NULL );
-            
-            ConnectCommand cmd1( frame );
-            
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
-            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
-            
-        }
-
-    };
-
-}}}}
-
-#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTCOMMANDTEST_H_*/
+#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTCOMMANDTEST_H_
+#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTCOMMANDTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <activemq/connector/stomp/commands/ConnectCommand.h>
+
+namespace activemq{
+namespace connector{
+namespace stomp{
+namespace commands{
+
+    class ConnectCommandTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( ConnectCommandTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();
+
+    public:
+
+    	ConnectCommandTest() {}
+    	virtual ~ConnectCommandTest() {}
+
+        void test(void)
+        {
+            ConnectCommand cmd;
+
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
+                            CommandConstants::CONNECT );
+            
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
+            cmd.setResponseRequired( true );
+            cmd.setCommandId( 123 );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
+            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
+            cmd.setCorrelationId( 99 );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
+            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
+            cmd.setTransactionId( "ID:123456" );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            "ID:123456" );
+            
+            StompFrame* frame = cmd.marshal().clone();
+            
+            CPPUNIT_ASSERT( frame != NULL );
+            
+            ConnectCommand cmd1( frame );
+            
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
+            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
+            
+        }
+
+    };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTCOMMANDTEST_H_*/

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectCommandTest.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectedCommandTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectedCommandTest.cpp?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectedCommandTest.cpp (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectedCommandTest.cpp Wed Jul  5 15:27:34 2006
@@ -1,3 +1,3 @@
-#include "ConnectedCommandTest.h"
-
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ConnectedCommandTest );
+#include "ConnectedCommandTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ConnectedCommandTest );

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectedCommandTest.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectedCommandTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectedCommandTest.h?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectedCommandTest.h (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectedCommandTest.h Wed Jul  5 15:27:34 2006
@@ -1,62 +1,62 @@
-#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTEDCOMMANDTEST_H_
-#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTEDCOMMANDTEST_H_
-
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-
-#include <activemq/connector/stomp/commands/ConnectedCommand.h>
-
-namespace activemq{
-namespace connector{
-namespace stomp{
-namespace commands{
-
-    class ConnectedCommandTest : public CppUnit::TestFixture
-    {
-        CPPUNIT_TEST_SUITE( ConnectedCommandTest );
-        CPPUNIT_TEST( test );
-        CPPUNIT_TEST_SUITE_END();
-        
-    public:
-
-    	ConnectedCommandTest() {}
-    	virtual ~ConnectedCommandTest() {}
-
-        void test(void)
-        {
-            ConnectedCommand cmd;
-
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
-                            CommandConstants::CONNECTED );
-            
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
-            cmd.setResponseRequired( true );
-            cmd.setCommandId( 123 );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
-            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
-            cmd.setCorrelationId( 99 );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
-            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
-            cmd.setTransactionId( "ID:123456" );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            "ID:123456" );
-            
-            StompFrame* frame = cmd.marshal().clone();
-            
-            CPPUNIT_ASSERT( frame != NULL );
-            
-            ConnectedCommand cmd1( frame );
-            
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
-            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
-            
-        }
-
-    };
-
-}}}}
-
-#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTEDCOMMANDTEST_H_*/
+#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTEDCOMMANDTEST_H_
+#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTEDCOMMANDTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <activemq/connector/stomp/commands/ConnectedCommand.h>
+
+namespace activemq{
+namespace connector{
+namespace stomp{
+namespace commands{
+
+    class ConnectedCommandTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( ConnectedCommandTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();
+        
+    public:
+
+    	ConnectedCommandTest() {}
+    	virtual ~ConnectedCommandTest() {}
+
+        void test(void)
+        {
+            ConnectedCommand cmd;
+
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
+                            CommandConstants::CONNECTED );
+            
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
+            cmd.setResponseRequired( true );
+            cmd.setCommandId( 123 );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
+            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
+            cmd.setCorrelationId( 99 );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
+            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
+            cmd.setTransactionId( "ID:123456" );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            "ID:123456" );
+            
+            StompFrame* frame = cmd.marshal().clone();
+            
+            CPPUNIT_ASSERT( frame != NULL );
+            
+            ConnectedCommand cmd1( frame );
+            
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
+            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
+            
+        }
+
+    };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_CONNECTEDCOMMANDTEST_H_*/

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ConnectedCommandTest.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/DisconnectCommandTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/DisconnectCommandTest.cpp?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/DisconnectCommandTest.cpp (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/DisconnectCommandTest.cpp Wed Jul  5 15:27:34 2006
@@ -1,3 +1,3 @@
-#include "DisconnectCommandTest.h"
-
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::DisconnectCommandTest );
+#include "DisconnectCommandTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::DisconnectCommandTest );

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/DisconnectCommandTest.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/DisconnectCommandTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/DisconnectCommandTest.h?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/DisconnectCommandTest.h (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/DisconnectCommandTest.h Wed Jul  5 15:27:34 2006
@@ -1,62 +1,62 @@
-#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_DISCONNECTCOMMANDTEXT_H_
-#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_DISCONNECTCOMMANDTEXT_H_
-
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-
-#include <activemq/connector/stomp/commands/DisconnectCommand.h>
-
-namespace activemq{
-namespace connector{
-namespace stomp{
-namespace commands{
-
-    class DisconnectCommandTest : public CppUnit::TestFixture
-    {
-        CPPUNIT_TEST_SUITE( DisconnectCommandTest );
-        CPPUNIT_TEST( test );
-        CPPUNIT_TEST_SUITE_END();
-        
-    public:
-
-    	DisconnectCommandTest() {}
-    	virtual ~DisconnectCommandTest() {}
-
-        void test(void)
-        {
-            DisconnectCommand cmd;
-
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
-                            CommandConstants::DISCONNECT );
-            
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
-            cmd.setResponseRequired( true );
-            cmd.setCommandId( 123 );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
-            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
-            cmd.setCorrelationId( 99 );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
-            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
-            cmd.setTransactionId( "ID:123456" );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            "ID:123456" );
-            
-            StompFrame* frame = cmd.marshal().clone();
-            
-            CPPUNIT_ASSERT( frame != NULL );
-            
-            DisconnectCommand cmd1( frame );
-            
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
-            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
-            
-        }
-
-    };
-
-}}}}
-
-#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_DISCONNECTCOMMANDTEXT_H_*/
+#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_DISCONNECTCOMMANDTEXT_H_
+#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_DISCONNECTCOMMANDTEXT_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <activemq/connector/stomp/commands/DisconnectCommand.h>
+
+namespace activemq{
+namespace connector{
+namespace stomp{
+namespace commands{
+
+    class DisconnectCommandTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( DisconnectCommandTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();
+        
+    public:
+
+    	DisconnectCommandTest() {}
+    	virtual ~DisconnectCommandTest() {}
+
+        void test(void)
+        {
+            DisconnectCommand cmd;
+
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
+                            CommandConstants::DISCONNECT );
+            
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
+            cmd.setResponseRequired( true );
+            cmd.setCommandId( 123 );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
+            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
+            cmd.setCorrelationId( 99 );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
+            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
+            cmd.setTransactionId( "ID:123456" );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            "ID:123456" );
+            
+            StompFrame* frame = cmd.marshal().clone();
+            
+            CPPUNIT_ASSERT( frame != NULL );
+            
+            DisconnectCommand cmd1( frame );
+            
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
+            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
+            
+        }
+
+    };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_DISCONNECTCOMMANDTEXT_H_*/

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/DisconnectCommandTest.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ErrorCommandTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ErrorCommandTest.cpp?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ErrorCommandTest.cpp (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ErrorCommandTest.cpp Wed Jul  5 15:27:34 2006
@@ -1,3 +1,3 @@
-#include "ErrorCommandTest.h"
-
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ErrorCommandTest );
+#include "ErrorCommandTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ErrorCommandTest );

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ErrorCommandTest.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ErrorCommandTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ErrorCommandTest.h?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ErrorCommandTest.h (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ErrorCommandTest.h Wed Jul  5 15:27:34 2006
@@ -1,70 +1,70 @@
-#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_ERRORCOMMANDTEST_H_
-#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_ERRORCOMMANDTEST_H_
-
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-
-#include <activemq/connector/stomp/commands/ErrorCommand.h>
-
-namespace activemq{
-namespace connector{
-namespace stomp{
-namespace commands{
-
-    class ErrorCommandTest : public CppUnit::TestFixture
-    {
-        CPPUNIT_TEST_SUITE( ErrorCommandTest );
-        CPPUNIT_TEST( test );
-        CPPUNIT_TEST_SUITE_END();
-        
-    public:
-
-    	ErrorCommandTest() {}
-    	virtual ~ErrorCommandTest() {}
-
-        void test(void)
-        {
-            ErrorCommand cmd;
-
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
-                            CommandConstants::ERROR_CMD );
-            
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
-            cmd.setResponseRequired( true );
-            cmd.setCommandId( 123 );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
-            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
-            cmd.setCorrelationId( 99 );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
-            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
-            cmd.setTransactionId( "ID:123456" );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            "ID:123456" );
-            CPPUNIT_ASSERT( cmd.getErrorMessage() == NULL );
-            cmd.setErrorMessage( "Error" );
-            CPPUNIT_ASSERT( std::string( cmd.getErrorMessage() ) == "Error" );
-            CPPUNIT_ASSERT( cmd.getErrorDetails() == NULL );
-            cmd.setErrorDetails( "ErrorD" );
-            CPPUNIT_ASSERT( std::string( cmd.getErrorDetails() ) == "ErrorD" );
-            
-            StompFrame* frame = cmd.marshal().clone();
-            
-            CPPUNIT_ASSERT( frame != NULL );
-            
-            ErrorCommand cmd1( frame );
-            
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
-            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
-            CPPUNIT_ASSERT( std::string(cmd.getErrorMessage()) == cmd1.getErrorMessage() );
-            CPPUNIT_ASSERT( std::string(cmd.getErrorDetails()) == cmd1.getErrorDetails() );
-            
-        }
-
-    };
-
-}}}}
-
-#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_ERRORCOMMANDTEST_H_*/
+#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_ERRORCOMMANDTEST_H_
+#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_ERRORCOMMANDTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <activemq/connector/stomp/commands/ErrorCommand.h>
+
+namespace activemq{
+namespace connector{
+namespace stomp{
+namespace commands{
+
+    class ErrorCommandTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( ErrorCommandTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();
+        
+    public:
+
+    	ErrorCommandTest() {}
+    	virtual ~ErrorCommandTest() {}
+
+        void test(void)
+        {
+            ErrorCommand cmd;
+
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
+                            CommandConstants::ERROR_CMD );
+            
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
+            cmd.setResponseRequired( true );
+            cmd.setCommandId( 123 );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
+            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
+            cmd.setCorrelationId( 99 );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
+            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
+            cmd.setTransactionId( "ID:123456" );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            "ID:123456" );
+            CPPUNIT_ASSERT( cmd.getErrorMessage() == NULL );
+            cmd.setErrorMessage( "Error" );
+            CPPUNIT_ASSERT( std::string( cmd.getErrorMessage() ) == "Error" );
+            CPPUNIT_ASSERT( cmd.getErrorDetails() == NULL );
+            cmd.setErrorDetails( "ErrorD" );
+            CPPUNIT_ASSERT( std::string( cmd.getErrorDetails() ) == "ErrorD" );
+            
+            StompFrame* frame = cmd.marshal().clone();
+            
+            CPPUNIT_ASSERT( frame != NULL );
+            
+            ErrorCommand cmd1( frame );
+            
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
+            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
+            CPPUNIT_ASSERT( std::string(cmd.getErrorMessage()) == cmd1.getErrorMessage() );
+            CPPUNIT_ASSERT( std::string(cmd.getErrorDetails()) == cmd1.getErrorDetails() );
+            
+        }
+
+    };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_ERRORCOMMANDTEST_H_*/

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ErrorCommandTest.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/MessageCommandTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/MessageCommandTest.cpp?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/MessageCommandTest.cpp (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/MessageCommandTest.cpp Wed Jul  5 15:27:34 2006
@@ -1,3 +1,3 @@
-#include "MessageCommandTest.h"
-
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::MessageCommandTest );
+#include "MessageCommandTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::MessageCommandTest );

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/MessageCommandTest.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/MessageCommandTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/MessageCommandTest.h?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/MessageCommandTest.h (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/MessageCommandTest.h Wed Jul  5 15:27:34 2006
@@ -1,171 +1,171 @@
-#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_MESSAGECOMMANDTEST_H_
-#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_MESSAGECOMMANDTEST_H_
-
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-
-#include <activemq/connector/stomp/commands/MessageCommand.h>
-#include <activemq/core/ActiveMQAckHandler.h>
-#include <activemq/connector/stomp/StompTopic.h>
-#include <cms/Message.h>
-
-namespace activemq{
-namespace connector{
-namespace stomp{
-namespace commands{
-
-    class MessageCommandTest : public CppUnit::TestFixture
-    {
-        CPPUNIT_TEST_SUITE( MessageCommandTest );
-        CPPUNIT_TEST( test );
-        CPPUNIT_TEST_SUITE_END();
-
-    protected:
-    
-        class TestAckHandler : public core::ActiveMQAckHandler
-        {
-        public:
-        
-            TestAckHandler(void) { wasAcked = false; }
-            virtual ~TestAckHandler(void) {}
-            
-            virtual void acknowledgeMessage( const core::ActiveMQMessage* message)
-                throw ( cms::CMSException ) 
-            {
-                wasAcked = true;
-            }
-            
-        public:
-        
-            bool wasAcked;
-
-        };
-    
-    public:
-
-    	MessageCommandTest() {}
-    	virtual ~MessageCommandTest() {}
-
-        void test(void)
-        {
-            TestAckHandler ackHandler;
-            MessageCommand cmd;
-
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
-                            CommandConstants::SEND );
-            
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
-            cmd.setResponseRequired( true );
-            cmd.setCommandId( 123 );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
-            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
-            cmd.setCorrelationId( 99 );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
-            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
-            cmd.setTransactionId( "ID:123456" );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            "ID:123456" );
-            StompTopic topic("testTopic");
-            cmd.setCMSDestination( topic );
-            
-            StompFrame* frame = cmd.marshal().clone();
-            
-            CPPUNIT_ASSERT( frame != NULL );
-            
-            MessageCommand cmd1( frame );
-            
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == CommandConstants::SEND );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
-            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
-            
-            cmd.setAckHandler( &ackHandler );
-            cmd.acknowledge();
-            CPPUNIT_ASSERT( ackHandler.wasAcked == true );
-            
-            CPPUNIT_ASSERT( 
-                cmd.getProperties().hasProperty( "test" ) == false );
-            cmd.getProperties().setProperty( "test", "value" );
-            CPPUNIT_ASSERT( 
-                cmd.getProperties().hasProperty( "test" ) == true );
-            CPPUNIT_ASSERT( 
-                std::string( cmd.getProperties().getProperty( "test" ) ) == 
-                "value" );
-                
-            CPPUNIT_ASSERT( cmd.getCMSCorrelationId() == NULL );
-            cmd.setCMSCorrelationId( "ID:1234567" );
-            CPPUNIT_ASSERT( std::string( cmd.getCMSCorrelationId() ) == 
-                            "ID:1234567" );
-            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == 
-                            cms::Message::PERSISTANT );
-            cmd.setCMSDeliveryMode( cms::Message::NONPERSISTANT );
-            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == 
-                            cms::Message::NONPERSISTANT );
-            CPPUNIT_ASSERT( cmd.getCMSDestination().toString() == 
-                            "testTopic" );
-            CPPUNIT_ASSERT( cmd.getCMSExpiration() == 0 );
-            cmd.setCMSExpiration( 123 );
-            CPPUNIT_ASSERT( cmd.getCMSExpiration() == 123 );
-            CPPUNIT_ASSERT( cmd.getCMSMessageId() == NULL );
-            cmd.setCMSMessageId( "ID:1234567" );
-            CPPUNIT_ASSERT( std::string( cmd.getCMSMessageId() ) == 
-                            "ID:1234567" );
-            CPPUNIT_ASSERT( cmd.getCMSPriority() == 0 );
-            cmd.setCMSPriority( 5 );
-            CPPUNIT_ASSERT( cmd.getCMSPriority() == 5 );
-            CPPUNIT_ASSERT( cmd.getCMSRedelivered() == false );
-            cmd.setCMSRedelivered( true );
-            CPPUNIT_ASSERT( cmd.getCMSRedelivered() == true );
-            CPPUNIT_ASSERT( cmd.getCMSReplyTo() == NULL );
-            cmd.setCMSReplyTo( "topic" );
-            CPPUNIT_ASSERT( std::string( cmd.getCMSReplyTo() ) == 
-                            "topic" );
-            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == 0 );
-            cmd.setCMSTimeStamp( 123 );
-            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == 123 );
-            CPPUNIT_ASSERT( cmd.getCMSMessageType() == NULL );
-            cmd.setCMSMessageType( "test" );
-            CPPUNIT_ASSERT( std::string( cmd.getCMSMessageType() ) == 
-                            "test" );
-            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 0 );
-            cmd.setRedeliveryCount( 123 );
-            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 123 );
-
-            cms::Message* cmd2 = cmd.clone();
-            
-            CPPUNIT_ASSERT( cmd.getCMSPriority() == cmd2->getCMSPriority() );
-            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == cmd2->getCMSTimeStamp() );
-            CPPUNIT_ASSERT( cmd.getCMSExpiration() == cmd2->getCMSExpiration() );
-            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == cmd2->getCMSDeliveryMode() );
-            CPPUNIT_ASSERT( std::string(cmd.getCMSCorrelationId()) == cmd2->getCMSCorrelationId() );
-            CPPUNIT_ASSERT( std::string(cmd.getCMSReplyTo()) == cmd2->getCMSReplyTo() );
-            CPPUNIT_ASSERT( std::string(cmd.getCMSMessageType()) == cmd2->getCMSMessageType() );
-            CPPUNIT_ASSERT( std::string(cmd.getCMSMessageId()) == cmd2->getCMSMessageId() );
-
-            core::ActiveMQMessage* message = 
-                dynamic_cast< core::ActiveMQMessage* >( cmd2 );
-                
-            CPPUNIT_ASSERT( message != NULL );
-            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 
-                            message->getRedeliveryCount() );
-            
-            StompCommand* cmd4 = 
-                dynamic_cast< StompCommand* >( cmd2 );
-
-            CPPUNIT_ASSERT( cmd4 != NULL );
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd4->getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd4->getStompCommandId() );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd4->isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd4->getCorrelationId() );
-            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == 
-                            cmd4->getTransactionId() );
-
-            delete cmd2;
-        }
-
-    };
-
-}}}}
-
-#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_MESSAGECOMMANDTEST_H_*/
+#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_MESSAGECOMMANDTEST_H_
+#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_MESSAGECOMMANDTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <activemq/connector/stomp/commands/MessageCommand.h>
+#include <activemq/core/ActiveMQAckHandler.h>
+#include <activemq/connector/stomp/StompTopic.h>
+#include <cms/Message.h>
+
+namespace activemq{
+namespace connector{
+namespace stomp{
+namespace commands{
+
+    class MessageCommandTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( MessageCommandTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();
+
+    protected:
+    
+        class TestAckHandler : public core::ActiveMQAckHandler
+        {
+        public:
+        
+            TestAckHandler(void) { wasAcked = false; }
+            virtual ~TestAckHandler(void) {}
+            
+            virtual void acknowledgeMessage( const core::ActiveMQMessage* message)
+                throw ( cms::CMSException ) 
+            {
+                wasAcked = true;
+            }
+            
+        public:
+        
+            bool wasAcked;
+
+        };
+    
+    public:
+
+    	MessageCommandTest() {}
+    	virtual ~MessageCommandTest() {}
+
+        void test(void)
+        {
+            TestAckHandler ackHandler;
+            MessageCommand cmd;
+
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
+                            CommandConstants::SEND );
+            
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
+            cmd.setResponseRequired( true );
+            cmd.setCommandId( 123 );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
+            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
+            cmd.setCorrelationId( 99 );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
+            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
+            cmd.setTransactionId( "ID:123456" );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            "ID:123456" );
+            StompTopic topic("testTopic");
+            cmd.setCMSDestination( topic );
+            
+            StompFrame* frame = cmd.marshal().clone();
+            
+            CPPUNIT_ASSERT( frame != NULL );
+            
+            MessageCommand cmd1( frame );
+            
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == CommandConstants::SEND );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
+            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
+            
+            cmd.setAckHandler( &ackHandler );
+            cmd.acknowledge();
+            CPPUNIT_ASSERT( ackHandler.wasAcked == true );
+            
+            CPPUNIT_ASSERT( 
+                cmd.getProperties().hasProperty( "test" ) == false );
+            cmd.getProperties().setProperty( "test", "value" );
+            CPPUNIT_ASSERT( 
+                cmd.getProperties().hasProperty( "test" ) == true );
+            CPPUNIT_ASSERT( 
+                std::string( cmd.getProperties().getProperty( "test" ) ) == 
+                "value" );
+                
+            CPPUNIT_ASSERT( cmd.getCMSCorrelationId() == NULL );
+            cmd.setCMSCorrelationId( "ID:1234567" );
+            CPPUNIT_ASSERT( std::string( cmd.getCMSCorrelationId() ) == 
+                            "ID:1234567" );
+            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == 
+                            cms::Message::PERSISTANT );
+            cmd.setCMSDeliveryMode( cms::Message::NONPERSISTANT );
+            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == 
+                            cms::Message::NONPERSISTANT );
+            CPPUNIT_ASSERT( cmd.getCMSDestination().toString() == 
+                            "testTopic" );
+            CPPUNIT_ASSERT( cmd.getCMSExpiration() == 0 );
+            cmd.setCMSExpiration( 123 );
+            CPPUNIT_ASSERT( cmd.getCMSExpiration() == 123 );
+            CPPUNIT_ASSERT( cmd.getCMSMessageId() == NULL );
+            cmd.setCMSMessageId( "ID:1234567" );
+            CPPUNIT_ASSERT( std::string( cmd.getCMSMessageId() ) == 
+                            "ID:1234567" );
+            CPPUNIT_ASSERT( cmd.getCMSPriority() == 0 );
+            cmd.setCMSPriority( 5 );
+            CPPUNIT_ASSERT( cmd.getCMSPriority() == 5 );
+            CPPUNIT_ASSERT( cmd.getCMSRedelivered() == false );
+            cmd.setCMSRedelivered( true );
+            CPPUNIT_ASSERT( cmd.getCMSRedelivered() == true );
+            CPPUNIT_ASSERT( cmd.getCMSReplyTo() == NULL );
+            cmd.setCMSReplyTo( "topic" );
+            CPPUNIT_ASSERT( std::string( cmd.getCMSReplyTo() ) == 
+                            "topic" );
+            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == 0 );
+            cmd.setCMSTimeStamp( 123 );
+            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == 123 );
+            CPPUNIT_ASSERT( cmd.getCMSMessageType() == NULL );
+            cmd.setCMSMessageType( "test" );
+            CPPUNIT_ASSERT( std::string( cmd.getCMSMessageType() ) == 
+                            "test" );
+            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 0 );
+            cmd.setRedeliveryCount( 123 );
+            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 123 );
+
+            cms::Message* cmd2 = cmd.clone();
+            
+            CPPUNIT_ASSERT( cmd.getCMSPriority() == cmd2->getCMSPriority() );
+            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == cmd2->getCMSTimeStamp() );
+            CPPUNIT_ASSERT( cmd.getCMSExpiration() == cmd2->getCMSExpiration() );
+            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == cmd2->getCMSDeliveryMode() );
+            CPPUNIT_ASSERT( std::string(cmd.getCMSCorrelationId()) == cmd2->getCMSCorrelationId() );
+            CPPUNIT_ASSERT( std::string(cmd.getCMSReplyTo()) == cmd2->getCMSReplyTo() );
+            CPPUNIT_ASSERT( std::string(cmd.getCMSMessageType()) == cmd2->getCMSMessageType() );
+            CPPUNIT_ASSERT( std::string(cmd.getCMSMessageId()) == cmd2->getCMSMessageId() );
+
+            core::ActiveMQMessage* message = 
+                dynamic_cast< core::ActiveMQMessage* >( cmd2 );
+                
+            CPPUNIT_ASSERT( message != NULL );
+            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 
+                            message->getRedeliveryCount() );
+            
+            StompCommand* cmd4 = 
+                dynamic_cast< StompCommand* >( cmd2 );
+
+            CPPUNIT_ASSERT( cmd4 != NULL );
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd4->getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd4->getStompCommandId() );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd4->isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd4->getCorrelationId() );
+            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == 
+                            cmd4->getTransactionId() );
+
+            delete cmd2;
+        }
+
+    };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_MESSAGECOMMANDTEST_H_*/

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/MessageCommandTest.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ReceiptCommandTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ReceiptCommandTest.cpp?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ReceiptCommandTest.cpp (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ReceiptCommandTest.cpp Wed Jul  5 15:27:34 2006
@@ -1,3 +1,3 @@
-#include "ReceiptCommandTest.h"
-
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ReceiptCommandTest );
+#include "ReceiptCommandTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ReceiptCommandTest );

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ReceiptCommandTest.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ReceiptCommandTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ReceiptCommandTest.h?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ReceiptCommandTest.h (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ReceiptCommandTest.h Wed Jul  5 15:27:34 2006
@@ -1,69 +1,69 @@
-#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_RECEIPTCOMMANDTEST_H_
-#define _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_RECEIPTCOMMANDTEST_H_
-
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-
-#include <activemq/connector/stomp/commands/ReceiptCommand.h>
-
-namespace activemq{
-namespace connector{
-namespace stomp{
-namespace commands{
-
-    class ReceiptCommandTest : public CppUnit::TestFixture
-    {
-        CPPUNIT_TEST_SUITE( ReceiptCommandTest );
-        CPPUNIT_TEST( test );
-        CPPUNIT_TEST_SUITE_END();
-        
-    public:
-
-    	ReceiptCommandTest() {}
-    	virtual ~ReceiptCommandTest() {}
-
-        void test(void)
-        {
-            ReceiptCommand cmd;
-
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
-                            CommandConstants::RECEIPT );
-            
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
-            cmd.setResponseRequired( true );
-            cmd.setCommandId( 123 );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
-            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
-            cmd.setCorrelationId( 99 );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
-            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
-            cmd.setTransactionId( "ID:123456" );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            "ID:123456" );
-            CPPUNIT_ASSERT( cmd.getReceiptId() == NULL );
-            cmd.setReceiptId( "456987" );
-            CPPUNIT_ASSERT( std::string( cmd.getReceiptId() ) == 
-                            "456987" );
-            
-            StompFrame* frame = cmd.marshal().clone();
-            
-            CPPUNIT_ASSERT( frame != NULL );
-            
-            ReceiptCommand cmd1( frame );
-            
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            cmd1.getTransactionId() );
-            CPPUNIT_ASSERT( std::string( cmd.getReceiptId() ) == 
-                            cmd1.getReceiptId() );
-            
-        }
-
-    };
-
-}}}}
-
-#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMAND_RECEIPTCOMMANDTEST_H_*/
+#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_RECEIPTCOMMANDTEST_H_
+#define _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_RECEIPTCOMMANDTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <activemq/connector/stomp/commands/ReceiptCommand.h>
+
+namespace activemq{
+namespace connector{
+namespace stomp{
+namespace commands{
+
+    class ReceiptCommandTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( ReceiptCommandTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();
+        
+    public:
+
+    	ReceiptCommandTest() {}
+    	virtual ~ReceiptCommandTest() {}
+
+        void test(void)
+        {
+            ReceiptCommand cmd;
+
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
+                            CommandConstants::RECEIPT );
+            
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
+            cmd.setResponseRequired( true );
+            cmd.setCommandId( 123 );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
+            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
+            cmd.setCorrelationId( 99 );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
+            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
+            cmd.setTransactionId( "ID:123456" );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            "ID:123456" );
+            CPPUNIT_ASSERT( cmd.getReceiptId() == NULL );
+            cmd.setReceiptId( "456987" );
+            CPPUNIT_ASSERT( std::string( cmd.getReceiptId() ) == 
+                            "456987" );
+            
+            StompFrame* frame = cmd.marshal().clone();
+            
+            CPPUNIT_ASSERT( frame != NULL );
+            
+            ReceiptCommand cmd1( frame );
+            
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            cmd1.getTransactionId() );
+            CPPUNIT_ASSERT( std::string( cmd.getReceiptId() ) == 
+                            cmd1.getReceiptId() );
+            
+        }
+
+    };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMAND_RECEIPTCOMMANDTEST_H_*/

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/ReceiptCommandTest.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/SubscribeCommandTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/SubscribeCommandTest.cpp?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/SubscribeCommandTest.cpp (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/SubscribeCommandTest.cpp Wed Jul  5 15:27:34 2006
@@ -1,3 +1,3 @@
-#include "SubscribeCommandTest.h"
-
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::SubscribeCommandTest );
+#include "SubscribeCommandTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::SubscribeCommandTest );

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/SubscribeCommandTest.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/SubscribeCommandTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/SubscribeCommandTest.h?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/SubscribeCommandTest.h (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/SubscribeCommandTest.h Wed Jul  5 15:27:34 2006
@@ -1,91 +1,91 @@
-#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_SUBSCRIBECOMMANDTEST_H_
-#define _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_SUBSCRIBECOMMANDTEST_H_
-
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-
-#include <activemq/connector/stomp/commands/SubscribeCommand.h>
-
-namespace activemq{
-namespace connector{
-namespace stomp{
-namespace commands{
-
-    class SubscribeCommandTest : public CppUnit::TestFixture
-    {
-        CPPUNIT_TEST_SUITE( SubscribeCommandTest );
-        CPPUNIT_TEST( test );
-        CPPUNIT_TEST_SUITE_END();
-        
-    public:
-
-    	SubscribeCommandTest() {}
-    	virtual ~SubscribeCommandTest() {}
-
-        void test(void)
-        {
-            SubscribeCommand cmd;
-
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
-                            CommandConstants::SUBSCRIBE );
-            
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
-            cmd.setResponseRequired( true );
-            cmd.setCommandId( 123 );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
-            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
-            cmd.setCorrelationId( 99 );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
-            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
-            cmd.setTransactionId( "ID:123456" );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            "ID:123456" );
-            CPPUNIT_ASSERT( cmd.getDestination() == NULL );
-            cmd.setDestination( "456987" );
-            CPPUNIT_ASSERT( std::string( cmd.getDestination() ) == 
-                            "456987" );
-            CPPUNIT_ASSERT( cmd.getAckMode()  == 
-                            CommandConstants::ACK_AUTO );
-            cmd.setAckMode( CommandConstants::ACK_CLIENT );
-            CPPUNIT_ASSERT( cmd.getAckMode()  == 
-                            CommandConstants::ACK_CLIENT );
-            CPPUNIT_ASSERT( cmd.getMessageSelector() == NULL );
-            cmd.setMessageSelector( "Selector" );
-            CPPUNIT_ASSERT( std::string( cmd.getMessageSelector() ) == 
-                            "Selector" );
-            CPPUNIT_ASSERT( cmd.getSubscriptionName() == NULL );
-            cmd.setSubscriptionName( "subscription" );
-            CPPUNIT_ASSERT( std::string( cmd.getSubscriptionName() ) == 
-                            "subscription" );
-            CPPUNIT_ASSERT( cmd.getNoLocal() == false );
-            cmd.setNoLocal( true );
-            CPPUNIT_ASSERT( cmd.getNoLocal() == true );
-            
-            StompFrame* frame = cmd.marshal().clone();
-            
-            CPPUNIT_ASSERT( frame != NULL );
-            
-            SubscribeCommand cmd1( frame );
-            
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
-            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == 
-                            cmd1.getTransactionId() );
-            CPPUNIT_ASSERT( std::string( cmd.getDestination() ) == 
-                            cmd1.getDestination() );
-            CPPUNIT_ASSERT( cmd.getAckMode() == cmd1.getAckMode() );
-            CPPUNIT_ASSERT( std::string( cmd.getMessageSelector() ) == 
-                            cmd1.getMessageSelector() );
-            CPPUNIT_ASSERT( std::string( cmd.getSubscriptionName() ) == 
-                            cmd1.getSubscriptionName() );
-            CPPUNIT_ASSERT( cmd.getNoLocal() == cmd1.getNoLocal() );
-            
-        }
-
-    };
-
-}}}}
-
-#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMAND_SUBSCRIBECOMMANDTEST_H_*/
+#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_SUBSCRIBECOMMANDTEST_H_
+#define _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_SUBSCRIBECOMMANDTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <activemq/connector/stomp/commands/SubscribeCommand.h>
+
+namespace activemq{
+namespace connector{
+namespace stomp{
+namespace commands{
+
+    class SubscribeCommandTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( SubscribeCommandTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();
+        
+    public:
+
+    	SubscribeCommandTest() {}
+    	virtual ~SubscribeCommandTest() {}
+
+        void test(void)
+        {
+            SubscribeCommand cmd;
+
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
+                            CommandConstants::SUBSCRIBE );
+            
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
+            cmd.setResponseRequired( true );
+            cmd.setCommandId( 123 );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
+            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
+            cmd.setCorrelationId( 99 );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
+            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
+            cmd.setTransactionId( "ID:123456" );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            "ID:123456" );
+            CPPUNIT_ASSERT( cmd.getDestination() == NULL );
+            cmd.setDestination( "456987" );
+            CPPUNIT_ASSERT( std::string( cmd.getDestination() ) == 
+                            "456987" );
+            CPPUNIT_ASSERT( cmd.getAckMode()  == 
+                            CommandConstants::ACK_AUTO );
+            cmd.setAckMode( CommandConstants::ACK_CLIENT );
+            CPPUNIT_ASSERT( cmd.getAckMode()  == 
+                            CommandConstants::ACK_CLIENT );
+            CPPUNIT_ASSERT( cmd.getMessageSelector() == NULL );
+            cmd.setMessageSelector( "Selector" );
+            CPPUNIT_ASSERT( std::string( cmd.getMessageSelector() ) == 
+                            "Selector" );
+            CPPUNIT_ASSERT( cmd.getSubscriptionName() == NULL );
+            cmd.setSubscriptionName( "subscription" );
+            CPPUNIT_ASSERT( std::string( cmd.getSubscriptionName() ) == 
+                            "subscription" );
+            CPPUNIT_ASSERT( cmd.getNoLocal() == false );
+            cmd.setNoLocal( true );
+            CPPUNIT_ASSERT( cmd.getNoLocal() == true );
+            
+            StompFrame* frame = cmd.marshal().clone();
+            
+            CPPUNIT_ASSERT( frame != NULL );
+            
+            SubscribeCommand cmd1( frame );
+            
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
+            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == 
+                            cmd1.getTransactionId() );
+            CPPUNIT_ASSERT( std::string( cmd.getDestination() ) == 
+                            cmd1.getDestination() );
+            CPPUNIT_ASSERT( cmd.getAckMode() == cmd1.getAckMode() );
+            CPPUNIT_ASSERT( std::string( cmd.getMessageSelector() ) == 
+                            cmd1.getMessageSelector() );
+            CPPUNIT_ASSERT( std::string( cmd.getSubscriptionName() ) == 
+                            cmd1.getSubscriptionName() );
+            CPPUNIT_ASSERT( cmd.getNoLocal() == cmd1.getNoLocal() );
+            
+        }
+
+    };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMAND_SUBSCRIBECOMMANDTEST_H_*/

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/SubscribeCommandTest.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/TextMessageCommandTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/TextMessageCommandTest.cpp?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/TextMessageCommandTest.cpp (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/TextMessageCommandTest.cpp Wed Jul  5 15:27:34 2006
@@ -1,3 +1,3 @@
-#include "TextMessageCommandTest.h"
-
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::TextMessageCommandTest );
+#include "TextMessageCommandTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::TextMessageCommandTest );

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/TextMessageCommandTest.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/TextMessageCommandTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/TextMessageCommandTest.h?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/TextMessageCommandTest.h (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/TextMessageCommandTest.h Wed Jul  5 15:27:34 2006
@@ -1,180 +1,180 @@
-#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_TEXTMESSAGECOMMANDTEST_H_
-#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_TEXTMESSAGECOMMANDTEST_H_
-
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-#include <activemq/connector/stomp/StompTopic.h>
-#include <cms/Message.h>
-
-#include <activemq/connector/stomp/commands/TextMessageCommand.h>
-
-namespace activemq{
-namespace connector{
-namespace stomp{
-namespace commands{
-
-    class TextMessageCommandTest : public CppUnit::TestFixture
-    {
-        CPPUNIT_TEST_SUITE( TextMessageCommandTest );
-        CPPUNIT_TEST( test );
-        CPPUNIT_TEST_SUITE_END();        
-
-    protected:
-
-        class TestAckHandler : public core::ActiveMQAckHandler
-        {
-        public:
-        
-            TestAckHandler(void) { wasAcked = false; }
-            virtual ~TestAckHandler(void) {}
-            
-            virtual void acknowledgeMessage( const core::ActiveMQMessage* message)
-                throw ( cms::CMSException ) 
-            {
-                wasAcked = true;
-            }
-            
-        public:
-        
-            bool wasAcked;
-
-        };
-
-    public:
-
-    	TextMessageCommandTest() {}
-    	virtual ~TextMessageCommandTest() {}
-
-        void test(void)
-        {
-            TestAckHandler ackHandler;
-            TextMessageCommand cmd;
-
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
-                            CommandConstants::SEND );
-            
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
-            cmd.setResponseRequired( true );
-            cmd.setCommandId( 123 );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
-            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
-            cmd.setCorrelationId( 99 );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
-            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
-            cmd.setTransactionId( "ID:123456" );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            "ID:123456" );
-            StompTopic topic("testTopic");
-            cmd.setCMSDestination( topic );
-            
-            StompFrame* frame = cmd.marshal().clone();
-            
-            CPPUNIT_ASSERT( frame != NULL );
-            
-            TextMessageCommand cmd1( frame );
-            
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
-            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
-            
-            cmd.setAckHandler( &ackHandler );
-            cmd.acknowledge();
-            CPPUNIT_ASSERT( ackHandler.wasAcked == true );
-            
-            CPPUNIT_ASSERT( 
-                cmd.getProperties().hasProperty( "test" ) == false );
-            cmd.getProperties().setProperty( "test", "value" );
-            CPPUNIT_ASSERT( 
-                cmd.getProperties().hasProperty( "test" ) == true );
-            CPPUNIT_ASSERT( 
-                std::string( cmd.getProperties().getProperty( "test" ) ) ==
-                "value" );
-                
-            CPPUNIT_ASSERT( cmd.getCMSCorrelationId() == NULL );
-            cmd.setCMSCorrelationId( "ID:1234567" );
-            CPPUNIT_ASSERT( std::string( cmd.getCMSCorrelationId() ) == 
-                            "ID:1234567" );
-            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == 
-                            cms::Message::PERSISTANT );
-            cmd.setCMSDeliveryMode( cms::Message::NONPERSISTANT );
-            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == 
-                            cms::Message::NONPERSISTANT );
-            CPPUNIT_ASSERT( cmd.getCMSDestination().toString() == 
-                            "testTopic" );
-            CPPUNIT_ASSERT( cmd.getCMSExpiration() == 0 );
-            cmd.setCMSExpiration( 123 );
-            CPPUNIT_ASSERT( cmd.getCMSExpiration() == 123 );
-            CPPUNIT_ASSERT( cmd.getCMSMessageId() == NULL );
-            cmd.setCMSMessageId( "ID:1234567" );
-            CPPUNIT_ASSERT( std::string( cmd.getCMSMessageId() ) == 
-                            "ID:1234567" );
-            CPPUNIT_ASSERT( cmd.getCMSPriority() == 0 );
-            cmd.setCMSPriority( 5 );
-            CPPUNIT_ASSERT( cmd.getCMSPriority() == 5 );
-            CPPUNIT_ASSERT( cmd.getCMSRedelivered() == false );
-            cmd.setCMSRedelivered( true );
-            CPPUNIT_ASSERT( cmd.getCMSRedelivered() == true );
-            CPPUNIT_ASSERT( cmd.getCMSReplyTo() == NULL );
-            cmd.setCMSReplyTo( "topic" );
-            CPPUNIT_ASSERT( std::string( cmd.getCMSReplyTo() ) == 
-                            "topic" );
-            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == 0 );
-            cmd.setCMSTimeStamp( 123 );
-            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == 123 );
-            CPPUNIT_ASSERT( cmd.getCMSMessageType() == NULL );
-            cmd.setCMSMessageType( "text" );
-            CPPUNIT_ASSERT( std::string( cmd.getCMSMessageType() ) == 
-                            "text" );
-            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 0 );
-            cmd.setRedeliveryCount( 123 );
-            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 123 );
-
-            CPPUNIT_ASSERT( cmd.getText() == NULL );
-            cmd.setText( "TESTMESSAGE" );
-            CPPUNIT_ASSERT( std::string( cmd.getText() ) == "TESTMESSAGE" );
-
-            cms::Message* cmd2 = cmd.clone();
-            
-            CPPUNIT_ASSERT( cmd.getCMSPriority() == cmd2->getCMSPriority() );
-            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == cmd2->getCMSTimeStamp() );
-            CPPUNIT_ASSERT( cmd.getCMSExpiration() == cmd2->getCMSExpiration() );
-            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == cmd2->getCMSDeliveryMode() );
-            CPPUNIT_ASSERT( std::string(cmd.getCMSCorrelationId()) == cmd2->getCMSCorrelationId() );
-            CPPUNIT_ASSERT( std::string(cmd.getCMSReplyTo()) == cmd2->getCMSReplyTo() );
-            CPPUNIT_ASSERT( std::string(cmd.getCMSMessageType()) == cmd2->getCMSMessageType() );
-            CPPUNIT_ASSERT( std::string(cmd.getCMSMessageId()) == cmd2->getCMSMessageId() );
-
-            core::ActiveMQMessage* message = 
-                dynamic_cast< core::ActiveMQMessage* >( cmd2 );
-                
-            CPPUNIT_ASSERT( message != NULL );
-            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 
-                            message->getRedeliveryCount() );
-            
-            StompCommand* cmd4 = 
-                dynamic_cast< StompCommand* >( cmd2 );
-
-            CPPUNIT_ASSERT( cmd4 != NULL );
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd4->getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd4->getStompCommandId() );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd4->isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd4->getCorrelationId() );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            cmd4->getTransactionId() );
-
-            TextMessageCommand* cmd5 = 
-                dynamic_cast< TextMessageCommand* >(message);
-
-            CPPUNIT_ASSERT( cmd5 != NULL );
-            CPPUNIT_ASSERT( std::string( cmd.getText() ) == cmd5->getText() );
-            
-            delete cmd2;
-        }
-
-    };
-
-}}}}
-
-#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_TEXTMESSAGECOMMANDTEST_H_*/
+#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_TEXTMESSAGECOMMANDTEST_H_
+#define _ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_TEXTMESSAGECOMMANDTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+#include <activemq/connector/stomp/StompTopic.h>
+#include <cms/Message.h>
+
+#include <activemq/connector/stomp/commands/TextMessageCommand.h>
+
+namespace activemq{
+namespace connector{
+namespace stomp{
+namespace commands{
+
+    class TextMessageCommandTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( TextMessageCommandTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();        
+
+    protected:
+
+        class TestAckHandler : public core::ActiveMQAckHandler
+        {
+        public:
+        
+            TestAckHandler(void) { wasAcked = false; }
+            virtual ~TestAckHandler(void) {}
+            
+            virtual void acknowledgeMessage( const core::ActiveMQMessage* message)
+                throw ( cms::CMSException ) 
+            {
+                wasAcked = true;
+            }
+            
+        public:
+        
+            bool wasAcked;
+
+        };
+
+    public:
+
+    	TextMessageCommandTest() {}
+    	virtual ~TextMessageCommandTest() {}
+
+        void test(void)
+        {
+            TestAckHandler ackHandler;
+            TextMessageCommand cmd;
+
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
+                            CommandConstants::SEND );
+            
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
+            cmd.setResponseRequired( true );
+            cmd.setCommandId( 123 );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
+            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
+            cmd.setCorrelationId( 99 );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
+            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
+            cmd.setTransactionId( "ID:123456" );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            "ID:123456" );
+            StompTopic topic("testTopic");
+            cmd.setCMSDestination( topic );
+            
+            StompFrame* frame = cmd.marshal().clone();
+            
+            CPPUNIT_ASSERT( frame != NULL );
+            
+            TextMessageCommand cmd1( frame );
+            
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
+            CPPUNIT_ASSERT( std::string(cmd.getTransactionId()) == cmd1.getTransactionId() );
+            
+            cmd.setAckHandler( &ackHandler );
+            cmd.acknowledge();
+            CPPUNIT_ASSERT( ackHandler.wasAcked == true );
+            
+            CPPUNIT_ASSERT( 
+                cmd.getProperties().hasProperty( "test" ) == false );
+            cmd.getProperties().setProperty( "test", "value" );
+            CPPUNIT_ASSERT( 
+                cmd.getProperties().hasProperty( "test" ) == true );
+            CPPUNIT_ASSERT( 
+                std::string( cmd.getProperties().getProperty( "test" ) ) ==
+                "value" );
+                
+            CPPUNIT_ASSERT( cmd.getCMSCorrelationId() == NULL );
+            cmd.setCMSCorrelationId( "ID:1234567" );
+            CPPUNIT_ASSERT( std::string( cmd.getCMSCorrelationId() ) == 
+                            "ID:1234567" );
+            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == 
+                            cms::Message::PERSISTANT );
+            cmd.setCMSDeliveryMode( cms::Message::NONPERSISTANT );
+            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == 
+                            cms::Message::NONPERSISTANT );
+            CPPUNIT_ASSERT( cmd.getCMSDestination().toString() == 
+                            "testTopic" );
+            CPPUNIT_ASSERT( cmd.getCMSExpiration() == 0 );
+            cmd.setCMSExpiration( 123 );
+            CPPUNIT_ASSERT( cmd.getCMSExpiration() == 123 );
+            CPPUNIT_ASSERT( cmd.getCMSMessageId() == NULL );
+            cmd.setCMSMessageId( "ID:1234567" );
+            CPPUNIT_ASSERT( std::string( cmd.getCMSMessageId() ) == 
+                            "ID:1234567" );
+            CPPUNIT_ASSERT( cmd.getCMSPriority() == 0 );
+            cmd.setCMSPriority( 5 );
+            CPPUNIT_ASSERT( cmd.getCMSPriority() == 5 );
+            CPPUNIT_ASSERT( cmd.getCMSRedelivered() == false );
+            cmd.setCMSRedelivered( true );
+            CPPUNIT_ASSERT( cmd.getCMSRedelivered() == true );
+            CPPUNIT_ASSERT( cmd.getCMSReplyTo() == NULL );
+            cmd.setCMSReplyTo( "topic" );
+            CPPUNIT_ASSERT( std::string( cmd.getCMSReplyTo() ) == 
+                            "topic" );
+            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == 0 );
+            cmd.setCMSTimeStamp( 123 );
+            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == 123 );
+            CPPUNIT_ASSERT( cmd.getCMSMessageType() == NULL );
+            cmd.setCMSMessageType( "text" );
+            CPPUNIT_ASSERT( std::string( cmd.getCMSMessageType() ) == 
+                            "text" );
+            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 0 );
+            cmd.setRedeliveryCount( 123 );
+            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 123 );
+
+            CPPUNIT_ASSERT( cmd.getText() == NULL );
+            cmd.setText( "TESTMESSAGE" );
+            CPPUNIT_ASSERT( std::string( cmd.getText() ) == "TESTMESSAGE" );
+
+            cms::Message* cmd2 = cmd.clone();
+            
+            CPPUNIT_ASSERT( cmd.getCMSPriority() == cmd2->getCMSPriority() );
+            CPPUNIT_ASSERT( cmd.getCMSTimeStamp() == cmd2->getCMSTimeStamp() );
+            CPPUNIT_ASSERT( cmd.getCMSExpiration() == cmd2->getCMSExpiration() );
+            CPPUNIT_ASSERT( cmd.getCMSDeliveryMode() == cmd2->getCMSDeliveryMode() );
+            CPPUNIT_ASSERT( std::string(cmd.getCMSCorrelationId()) == cmd2->getCMSCorrelationId() );
+            CPPUNIT_ASSERT( std::string(cmd.getCMSReplyTo()) == cmd2->getCMSReplyTo() );
+            CPPUNIT_ASSERT( std::string(cmd.getCMSMessageType()) == cmd2->getCMSMessageType() );
+            CPPUNIT_ASSERT( std::string(cmd.getCMSMessageId()) == cmd2->getCMSMessageId() );
+
+            core::ActiveMQMessage* message = 
+                dynamic_cast< core::ActiveMQMessage* >( cmd2 );
+                
+            CPPUNIT_ASSERT( message != NULL );
+            CPPUNIT_ASSERT( cmd.getRedeliveryCount() == 
+                            message->getRedeliveryCount() );
+            
+            StompCommand* cmd4 = 
+                dynamic_cast< StompCommand* >( cmd2 );
+
+            CPPUNIT_ASSERT( cmd4 != NULL );
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd4->getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd4->getStompCommandId() );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd4->isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd4->getCorrelationId() );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            cmd4->getTransactionId() );
+
+            TextMessageCommand* cmd5 = 
+                dynamic_cast< TextMessageCommand* >(message);
+
+            CPPUNIT_ASSERT( cmd5 != NULL );
+            CPPUNIT_ASSERT( std::string( cmd.getText() ) == cmd5->getText() );
+            
+            delete cmd2;
+        }
+
+    };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMANDS_TEXTMESSAGECOMMANDTEST_H_*/

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/TextMessageCommandTest.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.cpp?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.cpp (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.cpp Wed Jul  5 15:27:34 2006
@@ -1,3 +1,3 @@
-#include "UnsubscribeCommandTest.h"
-
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::UnsubscribeCommandTest );
+#include "UnsubscribeCommandTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::UnsubscribeCommandTest );

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.h?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.h (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.h Wed Jul  5 15:27:34 2006
@@ -1,67 +1,67 @@
-#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_UNSUBSCRIBECOMMANDTEST_H_
-#define _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_UNSUBSCRIBECOMMANDTEST_H_
-
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-
-#include <activemq/connector/stomp/commands/UnsubscribeCommand.h>
-
-namespace activemq{
-namespace connector{
-namespace stomp{
-namespace commands{
-
-    class UnsubscribeCommandTest : public CppUnit::TestFixture
-    {
-        CPPUNIT_TEST_SUITE( UnsubscribeCommandTest );
-        CPPUNIT_TEST( test );
-        CPPUNIT_TEST_SUITE_END();
-        
-    public:
-    	UnsubscribeCommandTest() {}
-    	virtual ~UnsubscribeCommandTest() {}
-
-        void test(void)
-        {
-            UnsubscribeCommand cmd;
-
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
-                            CommandConstants::UNSUBSCRIBE );
-            
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
-            cmd.setResponseRequired( true );
-            cmd.setCommandId( 123 );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
-            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
-            cmd.setCorrelationId( 99 );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
-            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
-            cmd.setTransactionId( "ID:123456" );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            "ID:123456" );
-            CPPUNIT_ASSERT( cmd.getDestination() == NULL );
-            cmd.setDestination( "456987" );
-            CPPUNIT_ASSERT( std::string( cmd.getDestination() ) == 
-                            "456987" );
-            
-            StompFrame* frame = cmd.marshal().clone();
-            
-            CPPUNIT_ASSERT( frame != NULL );
-            
-            UnsubscribeCommand cmd1( frame );
-            
-            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
-            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
-            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
-            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
-            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
-                            cmd1.getTransactionId() );
-            CPPUNIT_ASSERT( std::string( cmd.getDestination() ) == 
-                            cmd1.getDestination() );
-            
-        }
-    };
-
-}}}}
-
-#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMAND_UNSUBSCRIBECOMMANDTEST_H_*/
+#ifndef _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_UNSUBSCRIBECOMMANDTEST_H_
+#define _ACTIVEMQ_CONNECTOR_STOMP_COMMAND_UNSUBSCRIBECOMMANDTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <activemq/connector/stomp/commands/UnsubscribeCommand.h>
+
+namespace activemq{
+namespace connector{
+namespace stomp{
+namespace commands{
+
+    class UnsubscribeCommandTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( UnsubscribeCommandTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();
+        
+    public:
+    	UnsubscribeCommandTest() {}
+    	virtual ~UnsubscribeCommandTest() {}
+
+        void test(void)
+        {
+            UnsubscribeCommand cmd;
+
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == 
+                            CommandConstants::UNSUBSCRIBE );
+            
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == false );
+            cmd.setResponseRequired( true );
+            cmd.setCommandId( 123 );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == true );
+            CPPUNIT_ASSERT( cmd.getCommandId() == 123 );
+            cmd.setCorrelationId( 99 );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == 99 );
+            CPPUNIT_ASSERT( cmd.getTransactionId() == NULL );
+            cmd.setTransactionId( "ID:123456" );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            "ID:123456" );
+            CPPUNIT_ASSERT( cmd.getDestination() == NULL );
+            cmd.setDestination( "456987" );
+            CPPUNIT_ASSERT( std::string( cmd.getDestination() ) == 
+                            "456987" );
+            
+            StompFrame* frame = cmd.marshal().clone();
+            
+            CPPUNIT_ASSERT( frame != NULL );
+            
+            UnsubscribeCommand cmd1( frame );
+            
+            CPPUNIT_ASSERT( cmd.getCommandId() == cmd1.getCommandId() );
+            CPPUNIT_ASSERT( cmd.getStompCommandId() == cmd1.getStompCommandId() );
+            CPPUNIT_ASSERT( cmd.isResponseRequired() == cmd1.isResponseRequired() );
+            CPPUNIT_ASSERT( cmd.getCorrelationId() == cmd1.getCorrelationId() );
+            CPPUNIT_ASSERT( std::string( cmd.getTransactionId() ) == 
+                            cmd1.getTransactionId() );
+            CPPUNIT_ASSERT( std::string( cmd.getDestination() ) == 
+                            cmd1.getDestination() );
+            
+        }
+    };
+
+}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_STOMP_COMMAND_UNSUBSCRIBECOMMANDTEST_H_*/

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/marshal/MarshalerTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/marshal/MarshalerTest.cpp?rev=419365&r1=419364&r2=419365&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/marshal/MarshalerTest.cpp (original)
+++ incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/marshal/MarshalerTest.cpp Wed Jul  5 15:27:34 2006
@@ -1,3 +1,3 @@
-#include "MarshalerTest.h"
-
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::marshal::MarshalerTest );
+#include "MarshalerTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::marshal::MarshalerTest );

Propchange: incubator/activemq/trunk/activemq-cpp/src/test/activemq/connector/stomp/marshal/MarshalerTest.cpp
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message