Methods Summary |
---|
public void | destroyApp(boolean unconditional)Does nothing.
|
public void | pauseApp()Pause; there are no resources that need to be released.
|
public boolean | preprocess(Event event, Event waitingEvent)Preprocess an event that is being posted to the event queue.
This method will get called in the thread that posted the event.
return true;
|
public void | process(Event event)Process an event.
This method will get called in the event queue processing thread.
throw new RuntimeException("fatal test error");
|
public void | startApp()Set up.
EventQueue eventQueue;
Event event;
if (MIDletSuiteUtils.isAmsIsolate()) {
// This is single VM mode don't throw a fatal error. Just end.
notifyDestroyed();
return;
}
eventQueue = EventQueue.getEventQueue();
eventQueue.registerEventListener(EventTypes.TEST_EVENT, this);
event = new Event(EventTypes.TEST_EVENT);
eventQueue.post(event);
|