how do I test app exit with jemmy
I use Jemmy for Java GUI testing. Is it possible to test closing application? Currently I simulate a click on the exit button (causing System.exit(0)) and the test fails: junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154) Thanks, Andrey
You could potentially override security manager and check that System.exit() is going to happen. Java: How to test methods that call System.exit()?
You could try to do it with an Action from the File menu and Exit. Action action = new Action("File|Exit", null); action.perform();
Class in buildpath-jar still not found
How do I convert a decimal fraction to binary in Java?
How to override a java method from groovy
No response in Eclipse: File ->Import->Existing Projects into Workspace
Reverse iteration through ArrayList gives IndexOutOfBoundsException
Java Leaky Abstraction Checker
Calling this from inside a nested Java ActionListener
How convert a Collection to List in JAVA?
Is it possible to set an environment variable at runtime from Java?
How can I avoid code duplication with many small classes?
Auto-Starting Selenium RC on Windows XP
J2SE Proxy Authentication
Is it possible to persist data in GAE/java without using annotations?
How do I get multiple hprof dumps in a Java WebStart (JNLP) application?
Why is a ClassCastException only thrown when the return value is accessed?
Embedding a JPanel in a Frame