/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | CombinedEventsTest.java | 72 logWriter.println("==> testCombinedEvents_01 started"); in testCombinedEvents_01() 85 logWriter.println("=> debuggeeClassID = " + debuggeeClassID); in testCombinedEvents_01() 88 logWriter.println("=> threadID = " + threadID); in testCombinedEvents_01() 91 logWriter.println("=> runMethodID = " + runMethodID); in testCombinedEvents_01() 93 logWriter.println(""); in testCombinedEvents_01() 94 logWriter.println("=> Info for tested method '" + methodForEvents + "':"); in testCombinedEvents_01() 101 logWriter.println("=> testedMethodID = " + testedMethodID); in testCombinedEvents_01() 105 logWriter.println(""); in testCombinedEvents_01() 106 logWriter.println("=> Set request for BREAKPOINT event in debuggee: " in testCombinedEvents_01() 117 logWriter.println("=> Breakpoint requestID = " + breakpointRequestID); in testCombinedEvents_01() [all …]
|
D | CombinedEvents003Test.java | 65 logWriter.println("==> testCombinedEvents003_01 started"); in testCombinedEvents003_01() 76 logWriter.println("=> debuggeeClassID = " + debuggeeClassID); in testCombinedEvents003_01() 79 logWriter.println("=> threadID = " + threadID); in testCombinedEvents003_01() 82 logWriter.println("=> runMethodID = " + runMethodID); in testCombinedEvents003_01() 85 logWriter.println("=> dummyMethodID = " + dummyMethodID); in testCombinedEvents003_01() 87 logWriter.println(""); in testCombinedEvents003_01() 88 logWriter.println("=> Info for tested method '" + methodForEvents + "':"); in testCombinedEvents003_01() 95 logWriter.println("=> testedMethodID = " + testedMethodID); in testCombinedEvents003_01() 99 logWriter.println(""); in testCombinedEvents003_01() 100 logWriter.println("=> Set request for BREAKPOINT event in debuggee: " in testCombinedEvents003_01() [all …]
|
D | Breakpoint002Debuggee.java | 82 logWriter.println("Calling breakpointReturnVoid"); in callSmallMethods() 85 logWriter.println("Calling breakpointReturnIntConst"); in callSmallMethods() 87 logWriter.println("intConstant = " + intConstant); in callSmallMethods() 89 logWriter.println("Calling breakpointReturnLongConst"); in callSmallMethods() 91 logWriter.println("longConstant = " + longConstant); in callSmallMethods() 93 logWriter.println("Calling breakpointReturnIntArg"); in callSmallMethods() 95 logWriter.println("intArg = " + intArg); in callSmallMethods() 97 logWriter.println("Calling breakpointReturnLongArg"); in callSmallMethods() 99 logWriter.println("longArg = " + longArg); in callSmallMethods() 101 logWriter.println("Calling breakpointReturnLongArg"); in callSmallMethods() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
D | PopFrames002Test.java | 68 logWriter.println("==> testPopSeveralFrames started"); in testPopSeveralFrames() 71 logWriter.println("=> Check capability: canPopFrames"); in testPopSeveralFrames() 73 logWriter.println("##WARNING: this VM doesn't possess capability: canPopFrames"); in testPopSeveralFrames() 82 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in testPopSeveralFrames() 85 logWriter.println("=> Set breakpoint at the beginning of " + breakpointMethodName); in testPopSeveralFrames() 93 logWriter.println("=> Wait for breakpoint in " + breakpointMethodName); in testPopSeveralFrames() 97 logWriter.println("=> breakpointThreadID = " + breakpointThreadID); in testPopSeveralFrames() 100 logWriter.println(""); in testPopSeveralFrames() 101 logWriter.println("=> Get frames before PopFrames command, thread = " + breakpointThreadID); in testPopSeveralFrames() 103 logWriter.println("=> Frames before popFrame"); in testPopSeveralFrames() [all …]
|
D | GetValuesTest.java | 64 logWriter.println("Send StackFrame.GetValues with invalid thread " + invalidThreadID); in testGetValues002_InvalidObjectError() 109 logWriter.println("Send StackFrame.GetValues with invalid frameID " + invalidFrameID); in testGetValues004_InvalidFrameIDError() 136 logWriter.println(""); in testGetValues005_InvalidSlotError() 137 logWriter.println("=> Getting Variable Table..."); in testGetValues005_InvalidSlotError() 139 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in testGetValues005_InvalidSlotError() 140 logWriter.println("=> referenceTypeID for Debuggee class = " in testGetValues005_InvalidSlotError() 143 if (GetValuesTest.checkVarTable(logWriter, varInfos, varTags, varSignatures, varNames)) { in testGetValues005_InvalidSlotError() 144 logWriter.println("=> Variable table check passed."); in testGetValues005_InvalidSlotError() 150 logWriter.println("Send StackFrame.GetValues with invalid slot " + invalidSlotId); in testGetValues005_InvalidSlotError() 165 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in examineGetValues() [all …]
|
D | SetValuesTest.java | 65 logWriter.println("Send StackFrame.SetValues with invalid thread " + invalidThreadID); in testSetValues002_InvalidObjectError() 110 logWriter.println("Send StackFrame.SetValues with invalid frameID " + invalidFrameID); in testSetValues004_InvalidFrameIDError() 139 logWriter.println(""); in testSetValues005_InvalidSlotError() 140 logWriter.println("=> Getting Variable Table..."); in testSetValues005_InvalidSlotError() 142 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in testSetValues005_InvalidSlotError() 143 logWriter.println("=> referenceTypeID for Debuggee class = " in testSetValues005_InvalidSlotError() 146 if (GetValuesTest.checkVarTable(logWriter, varInfos, varTags, varSignatures, varNames)) { in testSetValues005_InvalidSlotError() 147 logWriter.println("=> Variable table check passed."); in testSetValues005_InvalidSlotError() 153 logWriter.println("Send StackFrame.SetValues with invalid slot " + invalidSlotId); in testSetValues005_InvalidSlotError() 169 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in examineGetValues() [all …]
|
D | PopFramesTest.java | 59 logWriter.println("==> testPopFramesTest001 started"); in testPopFramesTest001() 62 logWriter.println("=> Check capability: canPopFrames"); in testPopFramesTest001() 64 logWriter.println("##WARNING: this VM doesn't possess capability: canPopFrames"); in testPopFramesTest001() 73 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in testPopFramesTest001() 75 logWriter.println("=> Set breakpoint at the beginning of " + breakpointMethodName); in testPopFramesTest001() 82 logWriter.println("=> Wait for breakpoint in " + breakpointMethodName); in testPopFramesTest001() 86 logWriter.println("=> breakpointThreadID = " + breakpointThreadID); in testPopFramesTest001() 89 logWriter.println(""); in testPopFramesTest001() 90 logWriter.println("=> Get frames before PopFrames command, thread = " + breakpointThreadID); in testPopFramesTest001() 92 logWriter.println("=> Frames before popFrame"); in testPopFramesTest001() [all …]
|
D | ThisObjectTest.java | 54 logWriter.println("==> ThisObjectTestTest001 started"); in testThisObjectTest001() 59 logWriter.println("==> Searching for main thread by name: " + mainThreadName); in testThisObjectTest001() 61 logWriter.println("==> Found main thread: " + mainThread); in testThisObjectTest001() 78 logWriter.println("## FAILURE: main thread is not found!"); in testThisObjectTest001() 84 logWriter.println("==> Suspending main thread"); in testThisObjectTest001() 87 logWriter.println("==> Getting frames count"); in testThisObjectTest001() 89 logWriter.println("==> frames count = " + frameCount); in testThisObjectTest001() 91 logWriter.println("==> Getting frames"); in testThisObjectTest001() 93 logWriter.println("==> frames count = " + frameIDs.length); in testThisObjectTest001() 98 logWriter.println("\n==> frame #" + i); in testThisObjectTest001() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
D | SetValues004Debuggee.java | 53 logWriter.println("--> Debuggee: SetValues004Debuggee: START"); in run() 67 …logWriter.println("\n--> Debuggee: SetValues004Debuggee: Before ObjectReference::SetValues command… in run() 68 … logWriter.println("--> intArrayField value = " + Arrays.toString(testedObject.intArrayField)); in run() 69 …logWriter.println("--> objectArrayField value = " + Arrays.toString(testedObject.objectArrayField)… in run() 70 logWriter.println("--> objectField value = " + testedObject.objectField); in run() 71 logWriter.println("--> stringField value = " + testedObject.stringField); in run() 72 logWriter.println("--> threadField value = " + testedObject.threadField); in run() 73 logWriter.println("--> threadGroupField value = " + testedObject.threadGroupField); in run() 74 logWriter.println("--> classField value = " + testedObject.classField); in run() 75 logWriter.println("--> classLoaderField value = " + testedObject.classLoaderField); in run() [all …]
|
D | SetValuesDebuggee.java | 47 logWriter.println("--> Debuggee: SetValuesDebuggee: START"); in run() 52 logWriter.println("--> Debuggee: SetValuesDebuggee: CHECK for set fields..."); in run() 55 logWriter.println("\n--> intField value = " + setValuesDebuggeeObject.intField); in run() 57 logWriter.println("##> Debuggee: FAILURE: Unexpected value"); in run() 58 logWriter.println("##> Expected value = 1111"); in run() 61 logWriter.println("--> Debuggee: PASSED: Expected value"); in run() 64 logWriter.println("\n--> longField value = " + setValuesDebuggeeObject.longField); in run() 66 logWriter.println("##> Debuggee: FAILURE: Unexpected value"); in run() 67 logWriter.println("##> Expected value = 22222222"); in run() 70 logWriter.println("--> Debuggee: PASSED: Expected value"); in run() [all …]
|
D | MonitorInfoTest.java | 65 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testMonitorInfo001() 72 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in testMonitorInfo001() 73 logWriter.println("=> referenceTypeID for Debuggee class = " + refTypeID); in testMonitorInfo001() 77 logWriter.println in testMonitorInfo001() 92 logWriter.println("=> Returned values number = " + returnedValuesNumber); in testMonitorInfo001() 97 logWriter.println("=> Returned field value tag for checked object= " + checkedObjectFieldTag in testMonitorInfo001() 104 logWriter.println("=> Returned checked ObjectID = " + checkedObjectID); in testMonitorInfo001() 106 logWriter.println("=> Send VirtualMachine::Suspend command..."); in testMonitorInfo001() 116 logWriter.println in testMonitorInfo001() 130 logWriter.println("=> " + thisCommandName + " returns ERROR = " + errorCode in testMonitorInfo001() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
D | RedefineClassesTest.java | 113 logWriter.println("=> Check capability: canRedefineClasses"); in testRedefineClasses001() 115 logWriter.println("##WARNING: this VM doesn't possess capability: canRedefineClasses"); in testRedefineClasses001() 119 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testRedefineClasses001() 123 logWriter.println in testRedefineClasses001() 125 logWriter.println in testRedefineClasses001() 127 logWriter.println in testRedefineClasses001() 129 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001() 133 logWriter.println in testRedefineClasses001() 135 logWriter.println("=> checkedClassSignature = " + checkedClassSignature); in testRedefineClasses001() 147 logWriter.println("=> ReturnedClassesNumber = " + returnedClassesNumber); in testRedefineClasses001() [all …]
|
D | ResumeTest.java | 55 logWriter.println("Finish debuggee tested threads"); in internalTearDown() 70 logWriter.println("==> testResume001: START..."); in testResume001() 82 logWriter.println("\n==> Check that all tested threads are suspended " + in testResume001() 90 logWriter.println("\n==> Check that all tested threads are resumed " + in testResume001() 97 logWriter.printError(errorMessage + "\n"); in testResume001() 101 logWriter.println("\n==> testResume001 - OK!"); in testResume001() 118 logWriter.println("==> testResume002: START..."); in testResume002() 130 logWriter.println("\n==> Check that all tested threads are suspended " + in testResume002() 138 logWriter.println("\n==> Check that all tested threads are still " + in testResume002() 146 logWriter.println("\n==> Check that all tested threads are still " + in testResume002() [all …]
|
D | AllClassesWithGenericTest.java | 57 logWriter.println("==> testAllClassesWithGeneric002: START..."); in testAllClassesWithGeneric002() 61 logWriter.println("==> Send VirtualMachine::AllClassesWithGeneric command..."); in testAllClassesWithGeneric002() 85 logWriter.println("## FAILURE: Unexpected status is returned:"); in testAllClassesWithGeneric002() 86 logWriter.println("## ReferenceTypeId = " + typeID); in testAllClassesWithGeneric002() 87 logWriter.println("## Class signature: " + signature); in testAllClassesWithGeneric002() 88 logWriter.println("## Class generic signature: " + genericSignature); in testAllClassesWithGeneric002() 89 logWriter.println("## Class status = 0x" + Integer.toHexString(status) in testAllClassesWithGeneric002() 91 logWriter.println("## Status \"0x" in testAllClassesWithGeneric002() 99 logWriter.println("## FAILURE: Unexpected status is returned:"); in testAllClassesWithGeneric002() 100 logWriter.println("## ReferenceTypeId = " + typeID); in testAllClassesWithGeneric002() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
D | FieldsWithGenericTest.java | 60 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testFieldsWithGeneric001() 66 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in testFieldsWithGeneric001() 67 logWriter.println("=> referenceTypeID for Debuggee class = " + refTypeID); in testFieldsWithGeneric001() 68 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testFieldsWithGeneric001() 80 logWriter.println("=> Returned fields number = " + returnedFieldsNumber); in testFieldsWithGeneric001() 120 logWriter.println("=> CHECK for all expected fields..."); in testFieldsWithGeneric001() 127 logWriter.println("\n=> Field ID = " + returnedFieldID); in testFieldsWithGeneric001() 128 logWriter.println("=> Field name = " + returnedFieldName); in testFieldsWithGeneric001() 129 logWriter.println("=> Field signature = \"" + returnedFieldSignature + "\""); in testFieldsWithGeneric001() 130 logWriter.println("=> Field generic signature = \"" + returnedGenericSignature + "\""); in testFieldsWithGeneric001() [all …]
|
D | MethodsWithGenericTest.java | 59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testMethodsWithGeneric001() 66 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in testMethodsWithGeneric001() 67 logWriter.println("=> referenceTypeID for Debuggee class = " + refTypeID); in testMethodsWithGeneric001() 68 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testMethodsWithGeneric001() 80 logWriter.println("=> Returned methods number = " + returnedMethodsNumber); in testMethodsWithGeneric001() 124 logWriter.println("=> CHECK for all expected methods..."); in testMethodsWithGeneric001() 131 logWriter.println("\n=> Method ID = " + returnedMethodID); in testMethodsWithGeneric001() 132 logWriter.println("=> Method name = " + returnedMethodName); in testMethodsWithGeneric001() 133 logWriter.println("=> Method signature = \"" + returnedMethodSignature + "\""); in testMethodsWithGeneric001() 134 logWriter.println("=> Method generic signature = \"" + returnedGenericSignature + "\""); in testMethodsWithGeneric001() [all …]
|
D | MethodsTest.java | 59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testMethods001() 65 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in testMethods001() 66 logWriter.println("=> referenceTypeID for Debuggee class = " + refTypeID); in testMethods001() 67 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testMethods001() 79 logWriter.println("=> Returned methods number = " + returnedMethodsNumber); in testMethods001() 116 logWriter.println("=> CHECK for all expected methods..."); in testMethods001() 122 logWriter.println("\n=> Method ID = " + returnedMethodID); in testMethods001() 123 logWriter.println("=> Method name = " + returnedMethodName); in testMethods001() 124 logWriter.println("=> Method signature = " + returnedMethodSignature); in testMethods001() 125 … logWriter.println("=> Method modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethods001() [all …]
|
D | FieldsTest.java | 59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testFields001() 65 logWriter.println("=> Debuggee class = " + getDebuggeeClassName()); in testFields001() 66 logWriter.println("=> referenceTypeID for Debuggee class = " + refTypeID); in testFields001() 67 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testFields001() 79 logWriter.println("=> Returned fields number = " + returnedFieldsNumber); in testFields001() 108 logWriter.println("=> CHECK for all expected fields..."); in testFields001() 114 logWriter.println("\n=> Field ID = " + returnedFieldID); in testFields001() 115 logWriter.println("=> Field name = " + returnedFieldName); in testFields001() 116 logWriter.println("=> Field signature = " + returnedFieldSignature); in testFields001() 117 … logWriter.println("=> Field modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFields001() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
D | ForceEarlyReturnDebuggee.java | 79 logWriter.println("thread is finished"); in run() 86 logWriter.println("In func_Object"); in func_Object() 94 logWriter.println("In func_Int"); in func_Int() 102 logWriter.println("In func_Short"); in func_Short() 110 logWriter.println("In func_Byte"); in func_Byte() 118 logWriter.println("In func_Char"); in func_Char() 126 logWriter.println("In func_Boolean"); in func_Boolean() 134 logWriter.println("In func_Long"); in func_Long() 142 logWriter.println("In func_Float"); in func_Float() 150 logWriter.println("In func_Double"); in func_Double() [all …]
|
D | SuspendCountTest.java | 67 logWriter.println("==> testSuspendCount001: START..."); in testSuspendCount001() 73 logWriter.println in testSuspendCount001() 79 logWriter.println("==> There are no started threads in debuggee to test" in testSuspendCount001() 84 … logWriter.println("==> Number of started threads in debuggee to test = " + testedThreadsNumber); in testSuspendCount001() 97 logWriter.println in testSuspendCount001() 103 logWriter.println("==> Number of all threads in debuggee = " + threads); in testSuspendCount001() 118 logWriter.println in testSuspendCount001() 135 logWriter.println("\n==> Check for Thread: threadID = " + threadID in testSuspendCount001() 138 logWriter.println("==> Send ThreadReference.SuspendCount command..."); in testSuspendCount001() 148 …logWriter.println("==> ThreadReference.SuspendCount command returns suspendCount = " + suspendCoun… in testSuspendCount001() [all …]
|
D | ResumeTest.java | 63 logWriter.println("==> testResume001: START..."); in testResume001() 69 logWriter.println in testResume001() 75 logWriter.println("==> Number of threads in debuggee to test = " + testedThreadsNumber); in testResume001() 93 logWriter.println in testResume001() 99 logWriter.println("==> Number of all threads in debuggee = " + threads); in testResume001() 106 logWriter.println in testResume001() 122 … logWriter.println("## FAILURE: Tested thread is not found out among debuggee threads!"); in testResume001() 123 logWriter.println("## Thread name = " + testedThreadsNames[i]); in testResume001() 141 logWriter.println in testResume001() 145 logWriter.println("\n==> Check for Thread: threadID = " + testedThreadsIDs[i] in testResume001() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/ |
D | ThreadStartTest.java | 49 logWriter.println("==> testThreadStart001 - STARTED..."); in testThreadStart001() 53 logWriter.println("=> set ThreadStartEvent..."); in testThreadStart001() 58 logWriter.println("=> set ThreadStartEvent - DONE"); in testThreadStart001() 60 logWriter.println(""); in testThreadStart001() 61 logWriter.println("=> CLOSE CONNECTION"); in testThreadStart001() 63 logWriter.println("=> CONNECTION CLOSED"); in testThreadStart001() 65 logWriter.println(""); in testThreadStart001() 66 logWriter.println("=> OPEN NEW CONNECTION"); in testThreadStart001() 68 logWriter.println("=> CONNECTION OPENED"); in testThreadStart001() 70 logWriter.println("=> Resuming debuggee"); in testThreadStart001() [all …]
|
D | ThreadEndTest.java | 49 logWriter.println("==> testThreadEnd001 - STARTED..."); in testThreadEnd001() 53 logWriter.println("=> set ThreadEndEvent..."); in testThreadEnd001() 58 logWriter.println("=> set ThreadEndEvent - DONE"); in testThreadEnd001() 60 logWriter.println(""); in testThreadEnd001() 61 logWriter.println("=> CLOSE CONNECTION"); in testThreadEnd001() 63 logWriter.println("=> CONNECTION CLOSED"); in testThreadEnd001() 65 logWriter.println(""); in testThreadEnd001() 66 logWriter.println("=> OPEN NEW CONNECTION"); in testThreadEnd001() 68 logWriter.println("=> CONNECTION OPENED"); in testThreadEnd001() 70 logWriter.println("=> Resuming debuggee"); in testThreadEnd001() [all …]
|
D | MethodEntryExitTest.java | 61 logWriter.println("==> testMethodEvent001 started.."); in testMethodEvent001() 67 logWriter.println("=> Set breakpoint at method begin"); in testMethodEvent001() 72 logWriter.println("=> Set request for METHOD_ENTRY event"); in testMethodEvent001() 76 logWriter.println("=> Set request for METHOD_EXIT event"); in testMethodEvent001() 79 logWriter.println(""); in testMethodEvent001() 80 logWriter.println("=> CLOSE CONNECTION.."); in testMethodEvent001() 82 logWriter.println("=> CONNECTION CLOSED"); in testMethodEvent001() 84 logWriter.println(""); in testMethodEvent001() 85 logWriter.println("=> OPEN NEW CONNECTION.."); in testMethodEvent001() 87 logWriter.println("=> CONNECTION OPENED"); in testMethodEvent001() [all …]
|
D | ExceptionTest.java | 54 logWriter.println(">> testException001: STARTED..."); in testException001() 61 logWriter.println("\n>> testExceptionEvent: => setException(...)..."); in testException001() 64 logWriter.println(">> testExceptionEvent: setException(...) DONE"); in testException001() 66 logWriter.println(""); in testException001() 67 logWriter.println("=> CLOSE CONNECTION"); in testException001() 69 logWriter.println("=> CONNECTION CLOSED"); in testException001() 71 logWriter.println(""); in testException001() 72 logWriter.println("=> OPEN NEW CONNECTION"); in testException001() 74 logWriter.println("=> CONNECTION OPENED"); in testException001() 76 logWriter.println("=> Resuming debuggee"); in testException001() [all …]
|