| org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase org.apache.harmony.jpda.tests.jdwp.VirtualMachine.ExitTest
ExitTest | public class ExitTest extends JDWPTestCase (Code) | | JDWP Unit test for VirtualMachine.Exit command.
|
getDebuggeeClassName | protected String getDebuggeeClassName()(Code) | | |
testExit001 | public void testExit001()(Code) | | This testcase exercises VirtualMachine.Exit command.
At first the test starts HelloWorld debuggee.
Then the test performs VirtualMachine.Exit command
with exit code = 99 and checks that debuggee exit code, received
with help of debuggeeWrapper of test framework, is the same.
|
Methods inherited from org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase | protected void assertAllDataRead(Packet reply)(Code)(Java Doc) protected void assertEquals(String message, long expected, long actual, String strExpected, String strActual)(Code)(Java Doc) protected void assertString(String message, String expected, String actual)(Code)(Java Doc) protected void beforeDebuggeeStart(JDWPUnitDebuggeeWrapper debuggeeWrapper)(Code)(Java Doc) protected long checkField(long refTypeID, String fieldName)(Code)(Java Doc) protected long[] checkFields(long refTypeID, String checkedFieldNames)(Code)(Java Doc) protected long[] checkFields(long refTypeID, String checkedFieldNames, String expectedSignatures, int expectedModifiers)(Code)(Java Doc) protected void checkReplyPacket(ReplyPacket reply, String message, int errorCodeExpected)(Code)(Java Doc) protected void checkReplyPacket(ReplyPacket reply, String message)(Code)(Java Doc) protected void checkReplyPacket(ReplyPacket reply, String message, int[] expected)(Code)(Java Doc) protected boolean checkReplyPacket(ReplyPacket reply, String message, int[] expected, boolean failSign)(Code)(Java Doc) protected boolean checkReplyPacketWithoutFail(ReplyPacket reply, String message)(Code)(Java Doc) protected void clearEvent(byte eventKind, int requestID, boolean verbose)(Code)(Java Doc) public void closeConnection()(Code)(Java Doc) protected JDWPUnitDebuggeeWrapper createDebuggeeWrapper()(Code)(Java Doc) protected long createString(String value)(Code)(Java Doc) protected long getClassIDBySignature(String signature)(Code)(Java Doc) protected String getClassSignature(long classID)(Code)(Java Doc) protected ReplyPacket getLineTable(long classID, long methodID)(Code)(Java Doc) protected long getMethodID(long classID, String methodName)(Code)(Java Doc) protected String getMethodName(long classID, long methodID)(Code)(Java Doc) protected long getObjectReferenceType(long objectID)(Code)(Java Doc) protected String getObjectSignature(long objectID)(Code)(Java Doc) protected long getReferenceTypeID(String signature)(Code)(Java Doc) protected String getStringValue(long stringID)(Code)(Java Doc) protected void internalSetUp() throws Exception(Code)(Java Doc) protected void internalTearDown()(Code)(Java Doc) public void openConnection()(Code)(Java Doc) protected void printErrorAndFail(String message)(Code)(Java Doc) protected void receiveInitialEvent()(Code)(Java Doc) protected void resumeDebuggee()(Code)(Java Doc) protected boolean setStaticIntField(String classSignature, String fieldName, int newValue)(Code)(Java Doc) protected void startDebuggeeWrapper()(Code)(Java Doc)
|
|
|