Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: FEST-Swing 1.2a3
-
Fix Version/s: FEST-Swing 1.2a4
-
Component/s: Swing
-
Labels:None
-
Number of attachments :
Description
I have a GUI application that makes a call to System.exit, this action causes the tests to stop after one testcase. It would be great if FEST could intercept that call and prevent it from happening until all tests are complete
Refer to thread on google groups http://groups.google.com/group/easytesting/browse_thread/thread/e4b4b0d30d9bafb6 for possible solutions
I added the class org.fest.swing.security.NoExitSecurityManager and org.fest.swing.security.NoExitSecurityManagerInstaller. The following is an example on how to use them: