You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Create and run a test method (i.e.
TestMethodExecution.testAllMetaDataMethodsExecuted)
2. Within the said test method, create and run another Runner with an
assertion that fails synchronously
An uncaught Flash Error is displayed (in the debug Flash player). This is
because the Wrapper for the first test method has not completed execution
of its method before the second test method failed.
Original issue reported on code.google.com by boynamed...@gmail.com on 13 Mar 2008 at 3:33
The text was updated successfully, but these errors were encountered:
This one may not be fixable, since ActionScript does not allow you to set a
default
error-handler (and the Error in question is being thrown after an event is
dispatched).
Original comment by boynamed...@gmail.com on 13 Mar 2008 at 11:27
Perhaps the RunNotifier could be made aware of all associated ITestWatcher
classes.
Then, instead of notifying them via an Event, it could call methods on them
directly
and inform them of what has happened.
In this situation, catching a resulting Error would be possible.
Original comment by boynamed...@gmail.com on 13 Mar 2008 at 11:30
Upon further review of this issue, I'm not sure it's worth resolving. It may be
fair
to make the assertion that runtime errors and/or assertion failures can *only*
occur
within (a) the test method itself or (b) one of the wrapped event handlers
(created
using addAsync).
Original comment by boynamed...@gmail.com on 15 Mar 2008 at 3:07
Original issue reported on code.google.com by
boynamed...@gmail.com
on 13 Mar 2008 at 3:33The text was updated successfully, but these errors were encountered: