Author: allain.lalonde
Date: Fri Jul 17 21:16:16 2009
New Revision: 506

Modified:
     
piccolo2d.java/trunk/extras/src/test/java/edu/umd/cs/piccolox/pswing/PSwingCanvasTest.java

Log:
Commenting out assert since it doesn't work on all environments

Modified:  
piccolo2d.java/trunk/extras/src/test/java/edu/umd/cs/piccolox/pswing/PSwingCanvasTest.java
==============================================================================
---  
piccolo2d.java/trunk/extras/src/test/java/edu/umd/cs/piccolox/pswing/PSwingCanvasTest.java
       
(original)
+++  
piccolo2d.java/trunk/extras/src/test/java/edu/umd/cs/piccolox/pswing/PSwingCanvasTest.java
       
Fri Jul 17 21:16:16 2009
@@ -56,11 +56,11 @@
          }
          panel = null;
          System.gc();
-        System.runFinalization();
-        Thread.sleep(10);
+        System.runFinalization();

          // Not sure why I need -1 here, but I do. If I create 10000 it'll  
always
          // be 1 less
-        assertEquals(10 - 1, finalizerCallCount);
+        //TODO: make this work in all environments.  Will not work at the  
command line for some.
+        //assertEquals(10 - 1, finalizerCallCount);
      }
  }

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to