| org.apache.harmony.jpda.tests.jdwp.share.JDWPRawTestCase org.apache.harmony.jpda.tests.jdwp.DebuggerOnDemand.OnthrowDebuggerLaunchTest
Method Summary | |
protected JDWPUnitDebuggeeProcessWrapper | createDebuggeeWrapper() Creates wrapper for debuggee process. | protected JPDADebuggeeSynchronizer | createDebuggerSyncronizer() Creates wrapper for synch connection with debugger. | protected JPDATestOptions | createTestOptions() | protected String | getDebuggeeClassName() | protected void | internalSetUp() | protected void | internalTearDown() Overrides inherited method to stop started debuggee VM and close all
connections. | public static void | main(String[] args) | void | performTest(String debuggerName, String isSuspendDebuggee, String isOnuncaught) Method prepares cmd for launching debuggee and debugger. | public void | testDebuggerLaunch001() Test launches debuggee (without establishing synchronization connection)
with options suspend=y,onuncaught=n, debuggee executes
OnthrowLaunchedDebugger001 , test establishes synch
connection with debugger and in cycle receives messages from debugger. | public void | testDebuggerLaunch002() Test launches debuggee (without establishing synchronization connection)
with option suspend=y,onuncaught=n, debuggee executes
OnthrowLaunchedDebugger002 , test establishes synch
connection with debugger and in cycle receives messages from debugger. | public void | testDebuggerLaunch003() Test launches debuggee (without establishing synchronization connection)
with option suspend=n,onuncaught=n debuggee executes
OnthrowLaunchedDebugger001 , test establishes synch
connection with debugger and in cycle receives messages from debugger. | public void | testDebuggerLaunch004() Test executes debuggee (without establishing synchronization connection)
with option suspend=n,onuncaught=n debuggee executes
OnthrowLaunchedDebugger002 , test establishes synch
connection with debugger and in cycle receives messages from debugger. |
DEBUGGEE_CLASS | final public static String DEBUGGEE_CLASS(Code) | | |
EXCEPTION_CLASS_FOR_DEBUGGER | final public static String EXCEPTION_CLASS_FOR_DEBUGGER(Code) | | |
createTestOptions | protected JPDATestOptions createTestOptions()(Code) | | Creates wrapper object for accessing test options;
|
getDebuggeeClassName | protected String getDebuggeeClassName()(Code) | | |
internalTearDown | protected void internalTearDown()(Code) | | Overrides inherited method to stop started debuggee VM and close all
connections.
|
performTest | void performTest(String debuggerName, String isSuspendDebuggee, String isOnuncaught)(Code) | | Method prepares cmd for launching debuggee and debugger. Passes
debugger's cmd as parameter "launch" to debuggee's cmd. Then launches
debuggee and wait for synch connection from debugger, that should be
launched by debuggee. After that, method starts receiving messages in
loop from debugger. Messages of three types: OK, FAIL, END. In case of
FAIL or END messages, loop is ended.
Parameters: DEBUGGER_NAME - name of debugger that debuggee will launch Parameters: isSuspendDebuggee - option defines should debuggee be suspended on start Parameters: isOnuncaught - parameter that is passed to debuggee (see JDWP agent launchoptions) |
testDebuggerLaunch001 | public void testDebuggerLaunch001()(Code) | | Test launches debuggee (without establishing synchronization connection)
with options suspend=y,onuncaught=n, debuggee executes
OnthrowLaunchedDebugger001 , test establishes synch
connection with debugger and in cycle receives messages from debugger.
|
testDebuggerLaunch002 | public void testDebuggerLaunch002()(Code) | | Test launches debuggee (without establishing synchronization connection)
with option suspend=y,onuncaught=n, debuggee executes
OnthrowLaunchedDebugger002 , test establishes synch
connection with debugger and in cycle receives messages from debugger.
|
testDebuggerLaunch003 | public void testDebuggerLaunch003()(Code) | | Test launches debuggee (without establishing synchronization connection)
with option suspend=n,onuncaught=n debuggee executes
OnthrowLaunchedDebugger001 , test establishes synch
connection with debugger and in cycle receives messages from debugger.
|
testDebuggerLaunch004 | public void testDebuggerLaunch004()(Code) | | Test executes debuggee (without establishing synchronization connection)
with option suspend=n,onuncaught=n debuggee executes
OnthrowLaunchedDebugger002 , test establishes synch
connection with debugger and in cycle receives messages from debugger.
|
|
|