| java.lang.Object com.sun.midp.i3test.TestCase javax.microedition.lcdui.TestDisplayPreempt
TestDisplayPreempt | public class TestDisplayPreempt extends TestCase (Code) | | This test is designed to verify values returned by Displayable.isShown.
According to the spec isShown should be true only
Displayable is visible in the foreground and no system screen/menu
is up.
|
endMIDlet0 | protected void endMIDlet0()(Code) | | Terminates DummyMIDlet
|
endMIDlet1 | protected void endMIDlet1()(Code) | | Terminates DummyMIDlet2
|
runTests | public void runTests()(Code) | | |
sleep | public static void sleep(int time)(Code) | | |
startMIDlet0 | protected void startMIDlet0()(Code) | | starts DummyMIDlet
|
startMIDlet1 | protected void startMIDlet1()(Code) | | starts DummyMIDlet2
|
test1 | protected void test1()(Code) | | test checks how SystemAlert preempts headless midlet
|
test2 | protected void test2()(Code) | | test checks how SystemAlert preempts normal midlet (with screens)
|
test3 | protected void test3()(Code) | | test checks how systemAlert w/o midlets works
|
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)
|
|
|