activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r986135 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/BytesMessageTest.cs
Date Mon, 16 Aug 2010 21:45:35 GMT
Author: tabish
Date: Mon Aug 16 21:45:34 2010
New Revision: 986135

URL: http://svn.apache.org/viewvc?rev=986135&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQNET-272

Alter the BytesMessageTest so that the read-only check is done before the equality check

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/BytesMessageTest.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/BytesMessageTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/BytesMessageTest.cs?rev=986135&r1=986134&r2=986135&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/BytesMessageTest.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/BytesMessageTest.cs Mon Aug
16 21:45:34 2010
@@ -47,8 +47,8 @@ namespace Apache.NMS.Test
 						producer.Send(request);
 
 						IMessage message = consumer.Receive(receiveTimeout);
-						AssertBytesMessageEqual(request, message);
                         AssertMessageIsReadOnly(message);
+						AssertBytesMessageEqual(request, message);
 						Assert.AreEqual(deliveryMode, message.NMSDeliveryMode, "NMSDeliveryMode does not match");
 
 					}
@@ -90,8 +90,8 @@ namespace Apache.NMS.Test
                         producer.Send(request);
 
                         IMessage message = consumer.Receive(receiveTimeout);
-                        AssertBytesMessageEqual(request, message);
                         AssertMessageIsReadOnly(message);
+                        AssertBytesMessageEqual(request, message);
                         Assert.AreEqual(deliveryMode, message.NMSDeliveryMode, "NMSDeliveryMode
does not match");
 
                     }



Mime
View raw message