| java.lang.Object com.sun.midp.i3test.TestCase com.sun.midp.events.TestHandleFatalError
TestHandleFatalError | public class TestHandleFatalError extends TestCase implements MIDletProxyListListener(Code) | | Test that the if an event listener in an application isolate throws a
runtime exception, that the isolate is killed.
|
Method Summary | |
public void | midletAdded(MIDletProxy midlet) Called when a MIDlet is added to the list. | public void | midletRemoved(MIDletProxy midlet) Called when a MIDlet is removed from the list. | public void | midletStartError(int externalAppId, int suiteId, String className, int errorCode, String errorDetails) Called when error occurred while starting a MIDlet object. | public void | midletUpdated(MIDletProxy midlet, int fieldId) Called when the state of a MIDlet in the list is updated. | public void | runTests() Run all tests. | void | testMvmHandleFatalError() Launch the test MIDlet and it it ends by the end of the time out period
than consider the test passed. |
midletAdded | public void midletAdded(MIDletProxy midlet)(Code) | | Called when a MIDlet is added to the list.
Parameters: midlet - The proxy of the MIDlet being added |
midletRemoved | public void midletRemoved(MIDletProxy midlet)(Code) | | Called when a MIDlet is removed from the list.
Parameters: midlet - The proxy of the removed MIDlet |
midletStartError | public void midletStartError(int externalAppId, int suiteId, String className, int errorCode, String errorDetails)(Code) | | Called when error occurred while starting a MIDlet object.
Parameters: externalAppId - ID assigned by the external application manager Parameters: suiteId - Suite ID of the MIDlet Parameters: className - Class name of the MIDlet Parameters: errorCode - start error code Parameters: errorDetails - start error code |
midletUpdated | public void midletUpdated(MIDletProxy midlet, int fieldId)(Code) | | Called when the state of a MIDlet in the list is updated.
Parameters: midlet - The proxy of the MIDlet that was updated Parameters: fieldId - code for which field of the proxy was updated |
runTests | public void runTests()(Code) | | Run all tests.
|
testMvmHandleFatalError | void testMvmHandleFatalError()(Code) | | Launch the test MIDlet and it it ends by the end of the time out period
than consider the test passed.
|
Methods inherited from com.sun.midp.i3test.TestCase | public void assertEquals(Object expected, Object actual)(Code)(Java Doc) public void assertEquals(String message, Object expected, Object actual)(Code)(Java Doc) public void assertEquals(int expected, int actual)(Code)(Java Doc) public void assertEquals(String message, int expected, int actual)(Code)(Java Doc) public void assertFalse(boolean condition)(Code)(Java Doc) public void assertFalse(String message, boolean condition)(Code)(Java Doc) public void assertNotNull(Object object)(Code)(Java Doc) public void assertNotNull(String message, Object object)(Code)(Java Doc) public void assertNotSame(Object expected, Object actual)(Code)(Java Doc) public void assertNotSame(String message, Object expected, Object actual)(Code)(Java Doc) public void assertNull(Object object)(Code)(Java Doc) public void assertNull(String message, Object object)(Code)(Java Doc) public void assertSame(Object expected, Object actual)(Code)(Java Doc) public void assertSame(String message, Object expected, Object actual)(Code)(Java Doc) public void assertTrue(String message, boolean condition)(Code)(Java Doc) public void assertTrue(boolean condition)(Code)(Java Doc) public void declare(String testName)(Code)(Java Doc) public void fail()(Code)(Java Doc) public void fail(String message)(Code)(Java Doc) protected SecurityToken getSecurityToken()(Code)(Java Doc) protected boolean getVerbose()(Code)(Java Doc) public void info(String s)(Code)(Java Doc) abstract public void runTests() throws Throwable(Code)(Java Doc)
|
|
|