/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
D | Signature002Test.java | 42 static final String thisCommandName = "ReferenceType.Signature command"; field in Signature002Test 62 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSignature002() 94 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSignature002() 117 … ("\n=> CHECK: send " + thisCommandName + " for checked ObjectID: INVALID_CLASS is expected..."); in testSignature002() 130 logWriter.println("## CHECK: FAILURE: " + thisCommandName in testSignature002() 133 fail(thisCommandName in testSignature002() 141 … ("\n## FAILURE: " + thisCommandName + " does NOT return expected error - INVALID_CLASS"); in testSignature002() 142 fail(thisCommandName + " does NOT return expected error - INVALID_CLASS"); in testSignature002() 146 … ("\n=> CHECK: send " + thisCommandName + " for checked fieldID: INVALID_OBJECT is expected..."); in testSignature002() 159 logWriter.println("## CHECK: FAILURE: " + thisCommandName in testSignature002() [all …]
|
D | InstancesTest.java | 37 static final String thisCommandName = "ReferenceType.Instances command"; field in InstancesTest 61 logWriter.println("==> " + thisTestName + " for " + thisCommandName in runTestInstances() 86 logWriter.println("=> CHECK: send " + thisCommandName in runTestInstances() 116 assertEquals(thisCommandName + "returned instances number is wrong.", in runTestInstances() 124 assertEquals(thisCommandName in runTestInstances() 133 printErrorAndFail(thisCommandName in runTestInstances() 141 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in runTestInstances() 210 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testInstances_String() 217 logWriter.println("=> CHECK: send " + thisCommandName in testInstances_String() 237 assertEquals(thisCommandName + "returned String tag is invalid.", in testInstances_String() [all …]
|
D | ClassFileVersionTest.java | 36 static final String thisCommandName = "ReferenceType.ClassFileVersion command"; field in ClassFileVersionTest 56 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testClassFileVersion001() 65 logWriter.println("=> CHECK: send " + thisCommandName in testClassFileVersion001() 76 checkReplyPacket(classFileVersionReply, thisCommandName); in testClassFileVersion001() 94 printErrorAndFail(thisCommandName + "has error in reading target class file!"); in testClassFileVersion001() 97 …assertEquals(thisCommandName + "returned invalid majorVersion,", expectedMajorVersion, majorVersio… in testClassFileVersion001() 98 …assertEquals(thisCommandName + "returned invalid minorVersion,", expectedMinorVersion, minorVersio… in testClassFileVersion001() 105 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testClassFileVersion001()
|
D | ConstantPoolTest.java | 41 static final String thisCommandName = "ReferenceType.ConstantPool command"; field in ConstantPoolTest 70 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testConstantPool001() 78 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testConstantPool001() 88 checkReplyPacket(ConstantPoolReply, thisCommandName); in testConstantPool001() 111 printErrorAndFail(thisCommandName + "has error in reading target class file!"); in testConstantPool001() 118 …assertEquals(thisCommandName + "returned invalid entry count,", expectedEntryCount, returnedEntryC… in testConstantPool001() 126 …assertEquals(thisCommandName + "returned invalid entry count,", bytes[startIndex+i], returnedCpByt… in testConstantPool001() 133 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testConstantPool001()
|
D | SignatureWithGenericTest.java | 42 static final String thisCommandName = "ReferenceType.SignatureWithGeneric command"; field in SignatureWithGenericTest 60 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSignatureWithGeneric001() 67 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testSignatureWithGeneric001() 76 checkReplyPacket(signatureWithGenericReply, thisCommandName); in testSignatureWithGeneric001() 81 assertString(thisCommandName + " returned invalid signature,", in testSignatureWithGeneric001() 83 assertString(thisCommandName + " returned invalid generic signature,", in testSignatureWithGeneric001() 91 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSignatureWithGeneric001()
|
D | ModifiersTest.java | 42 static final String thisCommandName = "ReferenceType.Modifiers command"; field in ModifiersTest 62 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testModifiers001() 70 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testModifiers001() 79 checkReplyPacket(modifiersReply, thisCommandName); in testModifiers001() 132 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testModifiers001() 154 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testModifiers002() 162 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testModifiers002() 171 checkReplyPacket(modifiersReply, thisCommandName); in testModifiers002() 224 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testModifiers002()
|
D | SignatureTest.java | 42 static final String thisCommandName = "ReferenceType.Signature command"; field in SignatureTest 60 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSignature001() 67 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testSignature001() 76 checkReplyPacket(signatureReply, thisCommandName); in testSignature001() 81 printErrorAndFail(thisCommandName + " returned invalid signature" + in testSignature001() 90 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSignature001()
|
D | StatusTest.java | 42 static final String thisCommandName = "ReferenceType.Status command"; field in StatusTest 59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testStatus001() 66 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testStatus001() 75 checkReplyPacket(checkedReply, thisCommandName); in testStatus001() 107 logWriter.println("\n## FAILURE: " + thisCommandName in testStatus001() 114 thisCommandName in testStatus001() 131 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testStatus001()
|
D | SourceFileTest.java | 42 static final String thisCommandName = "ReferenceType.SourceFile command"; field in SourceFileTest 59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSourceFile001() 67 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testSourceFile001() 76 checkReplyPacket(sourceFileReply, thisCommandName); in testSourceFile001() 81 assertString(thisCommandName + " returned invalid source file,", in testSourceFile001() 89 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSourceFile001()
|
D | GetValues002Test.java | 44 static final String thisCommandName = "ReferenceType.GetValues command"; field in GetValues002Test 63 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testGetValues002() 88 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testGetValues002() 104 logWriter.println("## Reply packet CHECK: FAILURE: " + thisCommandName in testGetValues002() 107 fail(thisCommandName in testGetValues002() 113 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testGetValues002() 117 ("\n## FAILURE: " + thisCommandName + " does NOT return expected error - INVALID_FIELDID"); in testGetValues002() 188 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testGetValues002() 190 fail(thisCommandName + " does NOT return expected error - INVALID_FIELDID"); in testGetValues002()
|
D | ClassLoaderTest.java | 43 static final String thisCommandName = "ReferenceType.ClassLoader command"; field in ClassLoaderTest 78 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testClassLoader003() 103 checkReplyPacket(classLoaderReply, thisCommandName, JDWPConstants.Error.INVALID_CLASS); in testClassLoader003() 106 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testClassLoader003() 113 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in classLoaderTest() 120 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply for ERROR..."); in classLoaderTest() 129 checkReplyPacket(classLoaderReply, thisCommandName); in classLoaderTest() 144 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in classLoaderTest()
|
D | SourceDebugExtensionTest.java | 43 static final String thisCommandName = "ReferenceType.SourceDebugExtension command"; field in SourceDebugExtensionTest 63 logWriter.println("==> " + testName + " for " + thisCommandName + ": START..."); in doTest() 68 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in doTest() 92 … logWriter.println("\n## FAILURE: " + thisCommandName + " returns unexpected ERROR = " in doTest() 94 fail(thisCommandName + " returns unexpected ERROR = " in doTest() 103 logWriter.println("==> " + testName + " for " + thisCommandName + ": FINISH"); in doTest()
|
D | GetValues005Test.java | 43 static final String thisCommandName = "ReferenceType.GetValues command"; field in GetValues005Test 61 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testGetValues005() 84 ("=> CHECK: send " + thisCommandName in testGetValues005() 99 checkReplyPacket(checkedReply, thisCommandName); in testGetValues005() 107 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testGetValues005() 144 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": OK."); in testGetValues005()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
D | MonitorInfoTest.java | 42 static final String thisCommandName = "ObjectReference.MonitorInfo command"; field in MonitorInfoTest 65 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testMonitorInfo001() 117 ("\n=> CHECK 1: send " + thisCommandName + " for checked ObjectID and check reply..."); in testMonitorInfo001() 130 logWriter.println("=> " + thisCommandName + " returns ERROR = " + errorCode in testMonitorInfo001() 135 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testMonitorInfo001() 137 checkReplyPacket(checkedReply, thisCommandName); in testMonitorInfo001() 144 ("## FAILURE: " + thisCommandName + " returns unexpected monitorOwnerThreadID:" + in testMonitorInfo001() 148 thisCommandName + " returns unexpected monitorOwnerThreadID: " + in testMonitorInfo001() 157 ("## FAILURE: " + thisCommandName + " returns unexpected monitorEntryCount:"); in testMonitorInfo001() 160 thisCommandName + " returns unexpected monitorEntryCount:" + in testMonitorInfo001() [all …]
|
D | IsCollectedTest.java | 43 static final String thisCommandName = "ObjectReference.IsCollected command"; field in IsCollectedTest 64 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testIsCollected001() 152 logWriter.println("\n=> Send " + thisCommandName in testIsCollected001() 163 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001() 174 + thisCommandName + ":"); in testIsCollected001() 179 + thisCommandName + "\n"; in testIsCollected001() 185 + thisCommandName + ":"); in testIsCollected001() 190 + thisCommandName + "\n"; in testIsCollected001() 196 logWriter.println("\n=> Send " + thisCommandName in testIsCollected001() 206 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001() [all …]
|
D | DisableCollectionTest.java | 43 static final String thisCommandName = "ObjectReference::DisableCollection command"; field in DisableCollectionTest 63 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testDisableCollection001() 111 logWriter.println("\n=> CHECK: send " + thisCommandName in testDisableCollection001() 122 checkReplyPacket(checkedReply, thisCommandName); in testDisableCollection001() 134 + thisCommandName); in testDisableCollection001() 135 fail("Checked Object is UNLOADed after " + thisCommandName); in testDisableCollection001() 139 + thisCommandName); in testDisableCollection001() 144 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testDisableCollection001() 187 checkReplyPacket(reply, thisCommandName, expectedErrorCode); in disableCollection()
|
D | SetValues002Test.java | 44 static final String thisCommandName = "ObjectReference.SetValues command"; field in SetValues002Test 63 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSetValues002() 107 ("=> CHECK: send " + thisCommandName in testSetValues002() 133 logWriter.println("## CHECK: FAILURE: " + thisCommandName in testSetValues002() 136 fail(thisCommandName in testSetValues002() 144 … ("\n## FAILURE: " + thisCommandName + " does NOT return expected error - INVALID_OBJECT"); in testSetValues002() 145 fail(thisCommandName + " does NOT return expected error - INVALID_OBJECT"); in testSetValues002() 151 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSetValues002()
|
D | EnableCollectionTest.java | 45 static final String thisCommandName = "ObjectReference::EnableCollection command"; field in EnableCollectionTest 64 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testEnableCollection001() 120 ("\n=> CHECK: Send " + thisCommandName + " for checked ObjectID..."); in testEnableCollection001() 129 checkReplyPacket(checkedReply, thisCommandName); in testEnableCollection001() 142 ("## FAILURE: Checked Object is NOT UNLOADed after " + thisCommandName ); in testEnableCollection001() 143 fail("Checked Object is NOT UNLOADed after " + thisCommandName); in testEnableCollection001() 152 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testEnableCollection001() 192 checkReplyPacket(reply, thisCommandName, expectedErrorCode); in enableCollection()
|
D | ReferringObjectsTest.java | 37 static final String thisCommandName = "ObjectReference.ReferringObjects command"; field in ReferringObjectsTest 95 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in DoTestReferringObjects() 147 …assertEquals(thisCommandName + "returned instances number is wrong.", expectedReferringObjNum, ref… in DoTestReferringObjects() 157 assertEquals(thisCommandName in DoTestReferringObjects() 166 printErrorAndFail(thisCommandName in DoTestReferringObjects() 174 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in DoTestReferringObjects() 188 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testReferringObjects_IllegalArgument() 233 …printErrorAndFail(thisCommandName + " should throw ILLEGAL_ARGUMENT exception when maxReferrers is… in testReferringObjects_IllegalArgument()
|
D | ReferenceTypeTest.java | 44 static final String thisCommandName = "ObjectReference.ReferenceType command"; field in ReferenceTypeTest 62 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testReferenceType001() 121 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testReferenceType001() 158 … logWriter.println("=> CHECK: send " + thisCommandName + " for this objectID and check reply..."); in testReferenceType001() 166 checkReplyPacket(checkedReply, thisCommandName); in testReferenceType001() 174 ("\n## FAILURE: " + thisCommandName + " returned unexpected refTypeTag:"); in testReferenceType001() 179 thisCommandName + " returned unexpected refTypeTag: " + in testReferenceType001() 216 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testReferenceType001()
|
D | SetValues003Test.java | 44 static final String thisCommandName = "ObjectReference.SetValues command"; field in SetValues003Test 63 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSetValues003() 107 ("=> CHECK: send " + thisCommandName in testSetValues003() 130 logWriter.println("=> " + thisCommandName in testSetValues003() 133 logWriter.println("=> " + thisCommandName in testSetValues003() 148 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": OK."); in testSetValues003()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
D | RedefineClassesTest.java | 46 static final String thisCommandName = "VirtualMachine::RedefineClasses command"; field in RedefineClassesTest 119 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testRedefineClasses001() 129 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001() 163 logWriter.println("\n=> Preparing info for " + thisCommandName); in testRedefineClasses001() 175 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001() 187 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001() 209 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001() 231 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001() 244 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001() 248 logWriter.println("\n=> Send " + thisCommandName + " and check reply..."); in testRedefineClasses001() [all …]
|
D | InstanceCountsTest.java | 35 static final String thisCommandName = "VirtualMachine.InstanceCounts command "; field in InstanceCountsTest 58 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_Normal() 83 logWriter.println("=> CHECK: send " + thisCommandName in testInstanceCounts_Normal() 111 assertEquals(thisCommandName + "returned reference types count is wrong.", in testInstanceCounts_Normal() 117 assertEquals(thisCommandName + "returned instance count of MockClass1 is wrong.", in testInstanceCounts_Normal() 123 assertEquals(thisCommandName + "returned instance count of MockClass2 is wrong.", in testInstanceCounts_Normal() 129 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testInstanceCounts_Normal() 143 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_IllegalArgument() 170 …printErrorAndFail(thisCommandName + " should throw ILLEGAL_ARGUMENT exception when refTypesCount i… in testInstanceCounts_IllegalArgument() 183 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_Zero() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
D | ForceEarlyReturnTest.java | 35 static final String thisCommandName = "ThreadReference.ForceEarlyReturn command "; field in ForceEarlyReturnTest 78 logWriter.println("==> " + thisTestName + " for " + thisCommandName in RunTestForceEarlyReturn() 113 logWriter.println("==> Perform " + thisCommandName); in RunTestForceEarlyReturn() 129 printErrorAndFail(thisCommandName in RunTestForceEarlyReturn() 233 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testForceEarlyReturn_NotSuspended() 263 logWriter.println("==> Perform " + thisCommandName); in testForceEarlyReturn_NotSuspended() 279 printErrorAndFail(thisCommandName in testForceEarlyReturn_NotSuspended()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
D | SetValues002Test.java | 44 static final String thisCommandName = "ClassType::SetValues command"; field in SetValues002Test 60 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSetValues002() 123 ("=> CHECK: send " + thisCommandName in testSetValues002() 146 logWriter.println("=> " + thisCommandName in testSetValues002() 149 logWriter.println("=> " + thisCommandName in testSetValues002() 164 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": OK"); in testSetValues002()
|