You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/12/23 17:49:32 UTC

svn commit: r893575 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/CompositeTaskRunnerTest.cs

Author: tabish
Date: Wed Dec 23 16:49:32 2009
New Revision: 893575

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

Remove debugging output.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/CompositeTaskRunnerTest.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/CompositeTaskRunnerTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/CompositeTaskRunnerTest.cs?rev=893575&r1=893574&r2=893575&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/CompositeTaskRunnerTest.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/CompositeTaskRunnerTest.cs Wed Dec 23 16:49:32 2009
@@ -47,7 +47,7 @@
             {
                 get { return count; }
             }
-        
+
             public bool IsPending
             {
                 get { return count != goal; }
@@ -55,7 +55,6 @@
 
             public bool Iterate()
             {
-                Console.WriteLine(name + ": Running iteration " + count );
                 return !( ++count == goal );
             }
         }
@@ -63,9 +62,9 @@
         [Test]
         public void TestCompositeTaskRunner()
         {
-        
+
             int attempts = 0;
-        
+
             CompositeTaskRunner runner = new CompositeTaskRunner();
 
             CountingTask task1 = new CountingTask("task1", 100);
@@ -75,7 +74,7 @@
             runner.AddTask( task2 );
 
             runner.Wakeup();
-        
+
             while( attempts++ != 10 )
             {
                 Thread.Sleep( 1000 );
@@ -85,7 +84,7 @@
                     break;
                 }
             }
-        
+
             Assert.IsTrue(task1.Count == 100);
             Assert.IsTrue(task2.Count == 200);