Author: mes
Date: 2011-01-21 13:22:40 -0800 (Fri, 21 Jan 2011)
New Revision: 23549

Modified:
   
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/tests/InfiniteTask.java
Log:
tweaked test

Modified: 
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/tests/InfiniteTask.java
===================================================================
--- 
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/tests/InfiniteTask.java
        2011-01-21 20:45:24 UTC (rev 23548)
+++ 
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/tests/InfiniteTask.java
        2011-01-21 21:22:40 UTC (rev 23549)
@@ -13,6 +13,13 @@
        public void run(final TaskMonitor taskMonitor) throws Exception {
                taskMonitor.setProgress(0.0);
                taskMonitor.setStatusMessage("Excuting forever...");
-               while(true){ /*System.out.println("still working...");*/}
+               while(true){ 
+                       System.out.println("still working..."); 
+//                     Thread.sleep(1000);
+//                     if ( cancelled ) {
+//                             System.out.println("cancelling Infinite Task");
+//                             return;
+//                     }
+               }
        }
 }

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to