applet
action test
didn't run my main
method!
applet
action tests do not call main
. A test
which uses the applet
action is run by invoking its
init
, start
, and setVisible(true)
methods. Depending on the value of manual
, the harness will pause
either for a few seconds or until the user clicks on the pass
,
fail
, or done
buttons. Finally, the harness will invoke
the stop
and destroy
methods.
The main
method of an applet
action will only be
used if the test was run outside of the harness.