activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r384453 - in /incubator/activemq/trunk/activemq-dotnet: ./ src/main/csharp/ActiveMQ/Commands/ src/main/csharp/ActiveMQ/Transport/ src/test/csharp/ActiveMQ/OpenWire/ src/test/csharp/JMS/ src/test/csharp/NMS/
Date Thu, 09 Mar 2006 07:16:02 GMT
Author: chirino
Date: Wed Mar  8 23:15:58 2006
New Revision: 384453

URL: http://svn.apache.org/viewcvs?rev=384453&view=rev
Log:
Missed a few in the refactor

Added:
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/AsyncConsumeTest.cs
      - copied, changed from r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/AsyncConsumeTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/BadConsumeTest.cs
      - copied, changed from r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/BadConsumeTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/BytesMessageTest.cs
      - copied, changed from r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/BytesMessageTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/ConsumerTest.cs
      - copied, changed from r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/ConsumerTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/JMSPropertyTest.cs
      - copied, changed from r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/JMSPropertyTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/JMSTestSupport.cs
      - copied, changed from r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/JMSTestSupport.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/MapMessageTest.cs
      - copied, changed from r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/MapMessageTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/MessageTest.cs
      - copied, changed from r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/MessageTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/TextMessage.cs
      - copied, changed from r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/TextMessage.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/TransactionTest.cs
      - copied, changed from r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/TransactionTest.cs
Removed:
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/AsyncConsumeTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/BadConsumeTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/BytesMessageTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/ConsumerTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/JMSPropertyTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/JMSTestSupport.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/MapMessageTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/MessageTest.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/TextMessage.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/TransactionTest.cs
Modified:
    incubator/activemq/trunk/activemq-dotnet/activemq-dotnet.csproj
    incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Commands/ActiveMQObjectMessage.cs
    incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/LoggingTransport.cs
    incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/MutexTransport.cs
    incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/ResponseCorrelator.cs
    incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/TransportFilter.cs
    incubator/activemq/trunk/activemq-dotnet/src/test/csharp/ActiveMQ/OpenWire/BooleanStreamTest.cs

Modified: incubator/activemq/trunk/activemq-dotnet/activemq-dotnet.csproj
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/activemq-dotnet.csproj?rev=384453&r1=384452&r2=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/activemq-dotnet.csproj (original)
+++ incubator/activemq/trunk/activemq-dotnet/activemq-dotnet.csproj Wed Mar  8 23:15:58 2006
@@ -206,15 +206,15 @@
         <Compile Include="src\test\csharp\ActiveMQ\OpenWire\EndianTest.cs"/>
         <Compile Include="src\test\csharp\ActiveMQ\TestMain.cs"/>
         <Compile Include="src\test\csharp\CommonAssemblyInfo.cs"/>
-        <Compile Include="src\test\csharp\JMS\AsyncConsumeTest.cs"/>
-        <Compile Include="src\test\csharp\JMS\BadConsumeTest.cs"/>
-        <Compile Include="src\test\csharp\JMS\BytesMessageTest.cs"/>
-        <Compile Include="src\test\csharp\JMS\ConsumerTest.cs"/>
-        <Compile Include="src\test\csharp\JMS\JMSPropertyTest.cs"/>
-        <Compile Include="src\test\csharp\JMS\JMSTestSupport.cs"/>
-        <Compile Include="src\test\csharp\JMS\MapMessageTest.cs"/>
-        <Compile Include="src\test\csharp\JMS\MessageTest.cs"/>
-        <Compile Include="src\test\csharp\JMS\TextMessage.cs"/>
-        <Compile Include="src\test\csharp\JMS\TransactionTest.cs"/>
+        <Compile Include="src\test\csharp\NMS\AsyncConsumeTest.cs"/>
+        <Compile Include="src\test\csharp\NMS\BadConsumeTest.cs"/>
+        <Compile Include="src\test\csharp\NMS\BytesMessageTest.cs"/>
+        <Compile Include="src\test\csharp\NMS\ConsumerTest.cs"/>
+        <Compile Include="src\test\csharp\NMS\JMSPropertyTest.cs"/>
+        <Compile Include="src\test\csharp\NMS\JMSTestSupport.cs"/>
+        <Compile Include="src\test\csharp\NMS\MapMessageTest.cs"/>
+        <Compile Include="src\test\csharp\NMS\MessageTest.cs"/>
+        <Compile Include="src\test\csharp\NMS\TextMessage.cs"/>
+        <Compile Include="src\test\csharp\NMS\TransactionTest.cs"/>
     </ItemGroup>
 </Project>

Modified: incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Commands/ActiveMQObjectMessage.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Commands/ActiveMQObjectMessage.cs?rev=384453&r1=384452&r2=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Commands/ActiveMQObjectMessage.cs
(original)
+++ incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Commands/ActiveMQObjectMessage.cs
Wed Mar  8 23:15:58 2006
@@ -1,56 +1,55 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-*     http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-using System;
-using System.Collections;
-
-using ActiveMQ.OpenWire;
-using ActiveMQ.Commands;
-using JMS;
-
-namespace ActiveMQ.Commands
-{
-    //
-    //  Marshalling code for Open Wire Format for ActiveMQObjectMessage
-    //
-    //
-    //  NOTE!: This file is autogenerated - do not modify!
-    //         if you need to make a change, please see the Groovy scripts in the
-    //         activemq-core module
-    //
-    public class ActiveMQObjectMessage : ActiveMQMessage
-    {
-        public const byte ID_ActiveMQObjectMessage = 26;
-    			
-
-		public override string ToString() {
-            return GetType().Name + "["
-                + " ]";
-
-		}
-	
-
-
-        public override byte GetDataStructureType() {
-            return ID_ActiveMQObjectMessage;
-        }
-
-
-        // Properties
-
-    }
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+using System;
+using System.Collections;
+
+using ActiveMQ.OpenWire;
+using ActiveMQ.Commands;
+
+namespace ActiveMQ.Commands
+{
+    //
+    //  Marshalling code for Open Wire Format for ActiveMQObjectMessage
+    //
+    //
+    //  NOTE!: This file is autogenerated - do not modify!
+    //         if you need to make a change, please see the Groovy scripts in the
+    //         activemq-core module
+    //
+    public class ActiveMQObjectMessage : ActiveMQMessage
+    {
+        public const byte ID_ActiveMQObjectMessage = 26;
+    			
+
+		public override string ToString() {
+            return GetType().Name + "["
+                + " ]";
+
+		}
+	
+
+
+        public override byte GetDataStructureType() {
+            return ID_ActiveMQObjectMessage;
+        }
+
+
+        // Properties
+
+    }
+}

Modified: incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/LoggingTransport.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/LoggingTransport.cs?rev=384453&r1=384452&r2=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/LoggingTransport.cs
(original)
+++ incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/LoggingTransport.cs
Wed Mar  8 23:15:58 2006
@@ -16,7 +16,6 @@
  */
 using ActiveMQ.Commands;
 using ActiveMQ.Transport;
-using JMS;
 using System;
 
 namespace ActiveMQ.Transport

Modified: incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/MutexTransport.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/MutexTransport.cs?rev=384453&r1=384452&r2=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/MutexTransport.cs
(original)
+++ incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/MutexTransport.cs
Wed Mar  8 23:15:58 2006
@@ -16,7 +16,6 @@
  */
 using ActiveMQ.Commands;
 using ActiveMQ.Transport;
-using JMS;
 using System;
 
 namespace ActiveMQ.Transport

Modified: incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/ResponseCorrelator.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/ResponseCorrelator.cs?rev=384453&r1=384452&r2=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/ResponseCorrelator.cs
(original)
+++ incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/ResponseCorrelator.cs
Wed Mar  8 23:15:58 2006
@@ -20,7 +20,6 @@
 
 using ActiveMQ.Commands;
 using ActiveMQ.Transport;
-using JMS;
 
 namespace ActiveMQ.Transport
 {

Modified: incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/TransportFilter.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/TransportFilter.cs?rev=384453&r1=384452&r2=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/TransportFilter.cs
(original)
+++ incubator/activemq/trunk/activemq-dotnet/src/main/csharp/ActiveMQ/Transport/TransportFilter.cs
Wed Mar  8 23:15:58 2006
@@ -16,7 +16,6 @@
  */
 using ActiveMQ.Commands;
 using ActiveMQ.Transport;
-using JMS;
 using System;
 
 namespace ActiveMQ.Transport

Modified: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/ActiveMQ/OpenWire/BooleanStreamTest.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/ActiveMQ/OpenWire/BooleanStreamTest.cs?rev=384453&r1=384452&r2=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/ActiveMQ/OpenWire/BooleanStreamTest.cs
(original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/ActiveMQ/OpenWire/BooleanStreamTest.cs
Wed Mar  8 23:15:58 2006
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using JMS;
 using NUnit.Framework;
 using System;
 using System.IO;

Copied: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/AsyncConsumeTest.cs (from
r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/AsyncConsumeTest.cs)
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/AsyncConsumeTest.cs?p2=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/AsyncConsumeTest.cs&p1=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/AsyncConsumeTest.cs&r1=384452&r2=384453&rev=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/AsyncConsumeTest.cs (original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/AsyncConsumeTest.cs Wed Mar
 8 23:15:58 2006
@@ -20,7 +20,8 @@
 using System.Threading;
 
 
-namespace JMS
+
+namespace NMS
 {
 	[TestFixture]
     public class AsyncConsumeTest : JMSTestSupport
@@ -43,7 +44,7 @@
         [Test]
         public void TestAsynchronousConsume()
         {
-                
+			
 			// lets create an async consumer
 			// START SNIPPET: demo
 			IMessageConsumer consumer = session.CreateConsumer(this.Destination);
@@ -86,4 +87,5 @@
         
     }
 }
+
 

Copied: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/BadConsumeTest.cs (from
r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/BadConsumeTest.cs)
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/BadConsumeTest.cs?p2=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/BadConsumeTest.cs&p1=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/BadConsumeTest.cs&r1=384452&r2=384453&rev=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/BadConsumeTest.cs (original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/BadConsumeTest.cs Wed Mar
 8 23:15:58 2006
@@ -19,7 +19,8 @@
 using System;
 
 
-namespace JMS
+
+namespace NMS
 {
 	[TestFixture]
     public class BadConsumeTest : JMSTestSupport
@@ -53,4 +54,5 @@
         }
     }
 }
+
 

Copied: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/BytesMessageTest.cs (from
r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/BytesMessageTest.cs)
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/BytesMessageTest.cs?p2=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/BytesMessageTest.cs&p1=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/BytesMessageTest.cs&r1=384452&r2=384453&rev=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/BytesMessageTest.cs (original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/BytesMessageTest.cs Wed Mar
 8 23:15:58 2006
@@ -19,7 +19,8 @@
 using System;
 
 
-namespace JMS
+
+namespace NMS
 {
 	[ TestFixture ]
     public class BytesMessageTest : JMSTestSupport
@@ -64,5 +65,6 @@
         
     }
 }
+
 
 

Copied: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/ConsumerTest.cs (from
r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/ConsumerTest.cs)
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/ConsumerTest.cs?p2=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/ConsumerTest.cs&p1=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/ConsumerTest.cs&r1=384452&r2=384453&rev=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/ConsumerTest.cs (original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/ConsumerTest.cs Wed Mar 
8 23:15:58 2006
@@ -18,7 +18,8 @@
 using NUnit.Framework;
 
 
-namespace JMS
+
+namespace NMS
 {
 	[TestFixture]
     public class ConsumerTest : JMSTestSupport
@@ -62,7 +63,7 @@
             message.Properties["color"] =  "red";
             producer.Send(message);
             
-            IMessage m = consumer.Receive(receiveTimeout );
+            IMessage m = consumer.Receive(receiveTimeout);
             Assert.IsNotNull(m);
             Assert.AreEqual("1st", ((ITextMessage)m).Text);
 			
@@ -87,5 +88,6 @@
 		
     }
 }
+
 
 

Copied: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/JMSPropertyTest.cs (from
r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/JMSPropertyTest.cs)
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/JMSPropertyTest.cs?p2=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/JMSPropertyTest.cs&p1=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/JMSPropertyTest.cs&r1=384452&r2=384453&rev=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/JMSPropertyTest.cs (original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/JMSPropertyTest.cs Wed Mar
 8 23:15:58 2006
@@ -20,7 +20,8 @@
 using System;
 
 
-namespace JMS
+
+namespace NMS
 {
 	[ TestFixture ]
     public class JMSPropertyTest : JMSTestSupport
@@ -134,5 +135,6 @@
         }
     }
 }
+
 
 

Copied: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/JMSTestSupport.cs (from
r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/JMSTestSupport.cs)
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/JMSTestSupport.cs?p2=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/JMSTestSupport.cs&p1=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/JMSTestSupport.cs&r1=384452&r2=384453&rev=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/JMSTestSupport.cs (original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/JMSTestSupport.cs Wed Mar
 8 23:15:58 2006
@@ -21,7 +21,8 @@
 /// <summary>
 /// useful base class for test cases
 /// </summary>
-namespace JMS
+
+namespace NMS
 {
 	[ TestFixture ]
     public abstract class JMSTestSupport
@@ -59,7 +60,7 @@
             Assert.IsNotNull(connection != null, "no session created");
 			Console.WriteLine("Connected.");
         }
-
+		
         
         virtual protected void Disconnect()
         {
@@ -88,7 +89,7 @@
 				// Should only need to wait for first message to arrive due to the way
 				// prefetching works.
 				IMessage msg = consumer.Receive(receiveTimeout);
-				while (msg!= null)
+				while (msg != null)
 				{
 					msg = consumer.ReceiveNoWait();
 				}
@@ -105,14 +106,15 @@
 				
 				IMessage request = CreateMessage();
 				producer.Send(request);
-                 
+				
 				IMessage message = consumer.Receive(receiveTimeout);
                 Assert.IsNotNull(message, "No message returned!");
                 AssertValidMessage(message);
             }
         }
-
-		protected virtual IConnectionFactory CreateConnectionFactory() {
+		
+		protected virtual IConnectionFactory CreateConnectionFactory()
+		{
 			return new ActiveMQ.ConnectionFactory(new Uri("tcp://localhost:61616"));
 		}
 		
@@ -126,7 +128,7 @@
 			IMessageProducer producer = session.CreateProducer(destination);
 			return producer;
 		}
-
+		
 		protected virtual IMessageConsumer CreateConsumer()
 		{
 			IMessageConsumer consumer = session.CreateConsumer(destination);
@@ -157,7 +159,8 @@
         public IDestination Destination
         {
             get {
-				if( destination == null ) {
+				if (destination == null)
+				{
 					destination = CreateDestination();
 					Assert.IsNotNull(destination, "No destination available!");
 					Console.WriteLine("Using destination: " + destination);
@@ -171,4 +174,5 @@
 		
     }
 }
+
 

Copied: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/MapMessageTest.cs (from
r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/MapMessageTest.cs)
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/MapMessageTest.cs?p2=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/MapMessageTest.cs&p1=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/MapMessageTest.cs&r1=384452&r2=384453&rev=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/MapMessageTest.cs (original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/MapMessageTest.cs Wed Mar
 8 23:15:58 2006
@@ -19,7 +19,8 @@
 using System;
 
 
-namespace JMS
+
+namespace NMS
 {
 	[ TestFixture ]
     public class MapMessageTest : JMSTestSupport
@@ -112,7 +113,7 @@
             Assert.AreEqual(j, mapMessage.Body.GetShort("j"), "map entry: j");
             Assert.AreEqual(k, mapMessage.Body.GetInt("k"), "map entry: k");
             Assert.AreEqual(l, mapMessage.Body.GetLong("l"), "map entry: l");
-            			
+			
         }
         
         protected string ToHex(long value)
@@ -121,4 +122,5 @@
         }
     }
 }
+
 

Copied: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/MessageTest.cs (from
r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/MessageTest.cs)
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/MessageTest.cs?p2=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/MessageTest.cs&p1=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/MessageTest.cs&r1=384452&r2=384453&rev=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/MessageTest.cs (original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/MessageTest.cs Wed Mar  8
23:15:58 2006
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using JMS;
 using NMS;
 using NUnit.Framework;
 using System;
 
-namespace tests
+
+namespace NMS
 {
 	[ TestFixture ]
 	public class MessageTest : JMSTestSupport
@@ -119,3 +119,4 @@
 		
 	}
 }
+

Copied: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/TextMessage.cs (from
r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/TextMessage.cs)
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/TextMessage.cs?p2=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/TextMessage.cs&p1=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/TextMessage.cs&r1=384452&r2=384453&rev=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/TextMessage.cs (original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/TextMessage.cs Wed Mar  8
23:15:58 2006
@@ -19,7 +19,8 @@
 using System;
 
 
-namespace JMS
+
+namespace NMS
 {
 	[ TestFixture ]
     public class TextMessage : JMSTestSupport
@@ -60,5 +61,6 @@
         
     }
 }
+
 
 

Copied: incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/TransactionTest.cs (from
r384452, incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/TransactionTest.cs)
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/TransactionTest.cs?p2=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/TransactionTest.cs&p1=incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/TransactionTest.cs&r1=384452&r2=384453&rev=384453&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/src/test/csharp/JMS/TransactionTest.cs (original)
+++ incubator/activemq/trunk/activemq-dotnet/src/test/csharp/NMS/TransactionTest.cs Wed Mar
 8 23:15:58 2006
@@ -19,7 +19,8 @@
 using System;
 using System.Collections;
 
-namespace JMS
+
+namespace NMS
 {
 	[TestFixture]
     public class TransactionTest : JMSTestSupport
@@ -43,7 +44,7 @@
 			base.TearDown();
         }
 		
-                
+		
         [Test]
         public void TestSendRollback()
         {
@@ -248,4 +249,5 @@
         
     }
 }
+
 



Mime
View raw message