activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r898082 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/Commands/TextMessageTest.cs
Date Mon, 11 Jan 2010 21:50:32 GMT
Author: tabish
Date: Mon Jan 11 21:50:31 2010
New Revision: 898082

URL: http://svn.apache.org/viewvc?rev=898082&view=rev
Log:
port code to build on .NET CF 2.0 and above

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/Commands/TextMessageTest.cs

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/Commands/TextMessageTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/Commands/TextMessageTest.cs?rev=898082&r1=898081&r2=898082&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/Commands/TextMessageTest.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/Commands/TextMessageTest.cs
Mon Jan 11 21:50:31 2010
@@ -154,7 +154,9 @@
             TextMessage nullMessage = new TextMessage();
             SetContent(nullMessage, null);
             Assert.IsNull(nullMessage.Text);
+#if !NETCF
             Assert.IsTrue(nullMessage.ToString().Contains("Text = null"));
+#endif
         }
 
         protected void SetContent(Message message, String text)



Mime
View raw message