| org.apache.harmony.jpda.tests.jdwp.share.JDWPSyncTestCase org.apache.harmony.jpda.tests.jdwp.ObjectReference.InvokeMethodTest
InvokeMethodTest | public class InvokeMethodTest extends JDWPSyncTestCase (Code) | | JDWP unit test for ObjectReference.InvokeMethod command.
|
clearEvent | protected void clearEvent(int requestID)(Code) | | |
getDebuggeeClassName | protected String getDebuggeeClassName()(Code) | | |
makeNewInstance | protected TaggedObject makeNewInstance(long typeID, long threadID, long constructorID, int testNumber)(Code) | | |
setEventRequest | protected int setEventRequest()(Code) | | |
testInvokeMethod001 | public void testInvokeMethod001()(Code) | | This testcase exercises ObjectReference.InvokeMethod command.
At first the test starts debuggee.
Then does the following checks:
- send ObjectReference.InvokeMethod command for method,
which should not throw any Exception, and checks,
that returned value is int value and returned
exception object is null;
- send ObjectReference.InvokeMethod command for method,
which should throw some Exception, and checks, that
returned exception object is not null and has expected attributes;
|
testInvokeMethod002 | public void testInvokeMethod002()(Code) | | This testcase exercises ObjectReference.InvokeMethod command with INVOKE_NONVIRTUAL InvokeOption.
At first the test starts debuggee.
Then does the following checks:
- send ObjectReference.InvokeMethod command for nonvirtual
child method (from subclass), which should not throw any Exception, and checks,
that returned value is expected int value and returned
exception object is null;
- send ObjectReference.InvokeMethod command for nonvirtual
super method (from super class), which should not throw any Exception, and checks,
that returned value is expected int value and returned
exception object is null;
|
waitEvent | protected long waitEvent(int requestID)(Code) | | |
|
|