]> source.dussan.org Git - vaadin-framework.git/commitdiff
svn changeset:3744/svn branch:trunk
authorJani Laakso <jani.laakso@itmill.com>
Thu, 7 Feb 2008 17:47:20 +0000 (17:47 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Thu, 7 Feb 2008 17:47:20 +0000 (17:47 +0000)
src/com/itmill/toolkit/tests/robustness/Robustness.java

index 68bb07831b4c69e99d7de70504fd22e396abdcd5..74f58f315d8920517217eb497f2c6db2b330d471 100644 (file)
@@ -45,6 +45,10 @@ public abstract class Robustness extends com.itmill.toolkit.Application
         remove.addListener(this);
         create.addListener(this);
 
+        remove.setDescription("After this garbage collector should"
+                + " be able to collect every component"
+                + " inside stressLayout.");
+
         close.setDebugId("close");
         remove.setDebugId("remove");
         create.setDebugId("create");
@@ -56,6 +60,9 @@ public abstract class Robustness extends com.itmill.toolkit.Application
             create();
         else if (event.getButton() == remove) {
             main.removeComponent(stressLayout);
+            stressLayout = null;
+            System.out.println("main.getLayout()=" + main.getLayout());
+            System.out.println(Log.getMemoryStatistics());
         } else if (event.getButton() == close) {
             System.out.println("Before close, memory statistics:");
             System.out.println(Log.getMemoryStatistics());