You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2012/07/26 17:45:56 UTC
svn commit: r1366054 -
/pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/issues/pivot861/LeakTestWindow.java
Author: smartini
Date: Thu Jul 26 15:45:56 2012
New Revision: 1366054
URL: http://svn.apache.org/viewvc?rev=1366054&view=rev
Log:
PIVOT-861, test case: better info in log to console (useful even when debugging)
Modified:
pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/issues/pivot861/LeakTestWindow.java
Modified: pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/issues/pivot861/LeakTestWindow.java
URL: http://svn.apache.org/viewvc/pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/issues/pivot861/LeakTestWindow.java?rev=1366054&r1=1366053&r2=1366054&view=diff
==============================================================================
--- pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/issues/pivot861/LeakTestWindow.java (original)
+++ pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/issues/pivot861/LeakTestWindow.java Thu Jul 26 15:45:56 2012
@@ -63,11 +63,17 @@ public class LeakTestWindow extends Wind
button.setAction(new Action() {
@Override
- public void perform(Component arg0) {
+ public void perform(Component component) {
TestDialog dialog = TestDialog.create();
+
+ System.out.println("Opening the dialog");
dialog.open(LeakTestWindow.this);
+
// Close the dialog straight away
+ System.out.println("Closing the dialog");
dialog.close();
+
+ System.out.println("End of perform()\n");
}
});
}