My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 138: Make window disposal optional
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  Alex.Ruiz.05
Closed:  Jun 2008
Type-Patch
Priority-High
OpSys-All
Milestone-Release1.0
Module-fest-swing


Sign in to add a comment
 
Reported by Alex.Ruiz.05, May 19, 2008
From J. Simmons:

Using FEST-Swing to run partial tests.

One of our products uses an embedded jre to allow third parties to add
new dialogs and behaviors to the program.  We also use this
architecture internally to develop PlugIns for the product.  We have
been experimenting with using FEST-Swing to build tests for these Java
elements and ran into a small problem with the cleanup process.

Almost all of our tests require interacting with both the core
product's interface and the Java interfaces.  So we need to use FEST
to perform only some of the steps for the actual test, namely those
that require interacting with the Java UI.  This works pretty well
until we run cleanUp(), and FEST destroys all of our Java UI elements,
in turn breaking the larger context of our tests.

We found that if we add an option to cleanUp() to not call
disposeWindows() everything appears to work fine.  So, we wanted to
check and see if there were any reasons we should not use this
approach.  And if there are not, we wanted to see if we could
contribute a patch that implements this feature.


 
fest_run_partial.diff
646 bytes Download
Comment 2 by Alex.Ruiz.05, Jun 01, 2008
Added method 'cleanUpWithoutDisposingWindows' to Robot and RobotFixture in package
'org.fest.swing.core'.

Status: Fixed
Comment 3 by Alex.Ruiz.05, Nov 30, 2008
Set the module as a label, instead of being part of the title.
Summary: Make window disposal optional
Labels: Module-fest-swing
Sign in to add a comment

Hosted by Google Code