activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r893575 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/CompositeTaskRunnerTest.cs
Date Wed, 23 Dec 2009 16:49:32 GMT
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);
 



Mime
View raw message