activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r833073 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/BytesMessageTest.cs
Date Thu, 05 Nov 2009 16:26:40 GMT
Author: tabish
Date: Thu Nov  5 16:26:24 2009
New Revision: 833073

URL: http://svn.apache.org/viewvc?rev=833073&view=rev
Log:
* BytesMessageTest.cs: 

Fix test for new readonly / writeonly model of the Messages

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=833073&r1=833072&r2=833073&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 Thu Nov
 5 16:26:24 2009
@@ -133,6 +133,7 @@
 		protected void AssertBytesMessageEqual(IMessage expected, IMessage actual)
 		{
 			IBytesMessage expectedBytesMsg = expected as IBytesMessage;
+			expectedBytesMsg.Reset();
 			Assert.IsNotNull(expectedBytesMsg, "'expected' message not a bytes message");
 			IBytesMessage actualBytesMsg = actual as IBytesMessage;
 			Assert.IsNotNull(actualBytesMsg, "'actual' message not a bytes message");



Mime
View raw message