/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
D | FieldTest.java | 91 f = x.getClass().getDeclaredField("shortField"); in test_equalsLjava_lang_Object() 94 assertTrue("Inherited Field returned false", f.equals(x.getClass() in test_equalsLjava_lang_Object() 107 Field f = x.getClass().getDeclaredField("doubleField"); in test_getLjava_lang_Object() 113 f = x.getClass().getDeclaredField("doubleSField"); in test_getLjava_lang_Object() 135 f = x.getClass().getDeclaredField("doubleField"); in test_getLjava_lang_Object() 187 .getClass().equals(expectedException)); in getField() 234 .getClass().equals(expectedException)); in setField() 261 Class fieldClass = new Support_Field().getClass(); in testProtectedFieldAccess() 312 .getClass(); in testProtectedFieldAccess() 314 .getClass(); in testProtectedFieldAccess() [all …]
|
D | ConstructorTest.java | 54 ctor1 = new ConstructorTestHelper().getClass().getConstructor( in test_equalsLjava_lang_Object() 59 parms[0] = new Object().getClass(); in test_equalsLjava_lang_Object() 60 ctor2 = new ConstructorTestHelper().getClass().getConstructor(parms); in test_equalsLjava_lang_Object() 73 Class pclass = new ConstructorTestHelper().getClass(); in test_getDeclaringClass() 86 Constructor ctor = new ConstructorTestHelper().getClass() in test_getExceptionTypes() 89 ex = new IndexOutOfBoundsException().getClass(); in test_getExceptionTypes() 102 Constructor ctor = new ConstructorTestHelper().getClass() in test_getModifiers() 113 Constructor ctor = new ConstructorTestHelper().getClass() in test_getModifiers() 124 Constructor ctor = new ConstructorTestHelper().getClass() in test_getModifiers() 139 Constructor ctor = new ConstructorTestHelper().getClass() in test_getName() [all …]
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | DateFormatTest.java | 56 f1.format(new Date()).getClass() == String.class); in test_getAvailableLocales() 76 assertTrue("Wrong class", f2.getClass() == SimpleDateFormat.class); in test_getDateInstance() 82 f2.format(new Date()).getClass() == String.class); in test_getDateInstance() 94 assertTrue("Wrong class1", f2.getClass() == SimpleDateFormat.class); in test_getDateInstanceI() 100 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI() 103 assertTrue("Wrong class2", f2.getClass() == SimpleDateFormat.class); in test_getDateInstanceI() 109 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI() 112 assertTrue("Wrong class3", f2.getClass() == SimpleDateFormat.class); in test_getDateInstanceI() 118 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI() 121 assertTrue("Wrong class4", f2.getClass() == SimpleDateFormat.class); in test_getDateInstanceI() [all …]
|
/external/proguard/src/proguard/evaluation/value/ |
D | Value.java | 48 …throw new IllegalArgumentException("Value is not a Category 1 value [" + this.getClass().getName()… in category1Value() 56 …throw new IllegalArgumentException("Value is not a Category 2 value [" + this.getClass().getName()… in category2Value() 65 …throw new IllegalArgumentException("Value is not an integer value [" + this.getClass().getName() +… in integerValue() 73 …throw new IllegalArgumentException("Value is not a long value [" + this.getClass().getName() + "]"… in longValue() 81 …throw new IllegalArgumentException("Value is not a float value [" + this.getClass().getName() + "]… in floatValue() 89 …throw new IllegalArgumentException("Value is not a double value [" + this.getClass().getName() + "… in doubleValue() 97 …throw new IllegalArgumentException("Value is not a reference value [" + this.getClass().getName() … in referenceValue() 105 …alArgumentException("Value is not an instruction offset value [" + this.getClass().getName() + "]"… in instructionOffsetValue()
|
D | TopValue.java | 46 return this.getClass() == other.getClass() ? this : null; in generalize() 65 this.getClass() == object.getClass(); in equals() 71 return this.getClass().hashCode(); in hashCode()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ObjectArraysTest.java | 48 assertEquals(String[].class, empty.getClass()); in testNewArray_fromClass_Empty() 55 assertEquals(String[].class, array.getClass()); in testNewArray_fromClass_Nonempty() 63 assertEquals(String[][].class, array.getClass()); in testNewArray_fromClass_OfArray() 76 assertEquals(String[].class, array.getClass()); in testNewArray_fromArray_Nonempty() 83 assertEquals(String[][].class, array.getClass()); in testNewArray_fromArray_OfArray() 92 assertEquals(String[].class, result.getClass()); in testConcatEmptyEmpty() 100 assertEquals(String[].class, result.getClass()); in testConcatEmptyNonempty() 108 assertEquals(String[].class, result.getClass()); in testConcatNonemptyEmpty() 116 assertEquals(String[].class, result.getClass()); in testConcatBasic() 124 assertEquals(Serializable[].class, result.getClass()); in testConcatWithMoreGeneralType() [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | UnsupportedOperationExceptionTest.java | 52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage()); in test_ConstructorLjava_lang_Throwable() 53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 54 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable() 58 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); in test_ConstructorLjava_lang_Throwable() 59 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 60 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable() 72 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_StringLjava_lang_Throwable() 79 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
|
D | IllegalStateExceptionTest.java | 51 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage()); in test_ConstructorLjava_lang_Throwable() 52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable() 57 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); in test_ConstructorLjava_lang_Throwable() 58 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 59 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable() 70 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_StringLjava_lang_Throwable() 76 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
|
D | RuntimeExceptionTest.java | 49 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage()); in test_ConstructorLjava_lang_Throwable() 50 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 51 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable() 55 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); in test_ConstructorLjava_lang_Throwable() 56 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 57 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable()
|
D | IllegalArgumentExceptionTest.java | 51 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage()); in test_ConstructorLjava_lang_Throwable() 52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable() 57 assertEquals(exception.getClass().getName() + ": " + "msg", e.getMessage()); in test_ConstructorLjava_lang_Throwable() 58 assertEquals(exception.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable() 59 assertEquals(exception.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable()
|
D | TypeNotPresentExceptionTest.java | 32 e = new TypeNotPresentException(getClass().getName(), null); in test_constructorLjava_lang_StringLjava_lang_Throwable() 38 e = new TypeNotPresentException(getClass().getName(), npe); in test_constructorLjava_lang_StringLjava_lang_Throwable() 50 e = new TypeNotPresentException(getClass().getName(), null); in test_typeName() 51 assertEquals(getClass().getName(), e.typeName()); in test_typeName()
|
D | BooleanTest.java | 76 System.setProperty(getClass().getName(), "true"); in test_getBooleanLjava_lang_String() 77 assertTrue(Boolean.getBoolean(getClass().getName())); in test_getBooleanLjava_lang_String() 79 System.setProperty(getClass().getName(), "TRUE"); in test_getBooleanLjava_lang_String() 80 assertTrue(Boolean.getBoolean(getClass().getName())); in test_getBooleanLjava_lang_String() 82 System.setProperty(getClass().getName(), "false"); in test_getBooleanLjava_lang_String() 83 assertFalse(Boolean.getBoolean(getClass().getName())); in test_getBooleanLjava_lang_String()
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
D | NetObject.java | 80 if (!this.getClass().equals(that.getClass())) in equals() 82 Class<?> myclass = this.getClass(); in equals() 83 Class<?> hisclass = that.getClass(); in equals() 166 if (!this.getClass().equals(other.getClass())) in match() 172 Class<?> hisclass = other.getClass(); in match() 173 Class<?> myclass = this.getClass(); in match() 237 GenericObject.isMySubclass(myObj.getClass()) in match() 238 && GenericObject.isMySubclass(hisObj.getClass()) in match() 239 && myObj.getClass().equals(hisObj.getClass()) in match() 250 GenericObject.isMySubclass(myObj.getClass()) in match() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | SIPObject.java | 83 if (!this.getClass().equals(other.getClass())) in equals() 86 Class myclass = this.getClass(); in equals() 87 Class hisclass = other.getClass(); in equals() 176 if (!this.getClass().equals(other.getClass())) in match() 179 Class myclass = this.getClass(); in match() 180 Class hisclass = other.getClass(); in match() 247 && GenericObject.isMySubclass(myObj.getClass()) in match() 248 && GenericObject.isMySubclass(hisObj.getClass()) in match() 249 && myObj.getClass().equals(hisObj.getClass()) in match() 260 GenericObject.isMySubclass(myObj.getClass()) in match() [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ResourcesTest.java | 48 URL url = getClass().getResource("/com/google/common/io/Resources.class"); in testUrlSupplier() 56 URL resource = getClass().getResource("testdata/i18n.txt"); in testToString() 63 URL url = getClass().getResource("/com/google/common/io/Resources.class"); in testToToByteArray() 71 URL resource = getClass().getResource("testdata/i18n.txt"); in testReadLines() 77 URL resource = getClass().getResource("testdata/alice_in_wonderland.txt"); in testReadLines_withLineProcessor() 101 URL resource = getClass().getResource("testdata/i18n.txt"); in testCopyToOutputStream() 123 getClass(), "com/google/common/io/testdata/i18n.txt"); in testGetResource_relativePath_notFound() 133 assertNotNull(Resources.getResource(getClass(), "testdata/i18n.txt")); in testGetResource_relativePath()
|
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/ |
D | SSLSocketFactoryTest.java | 73 if (!factory.getClass().getName().equals(customSocketFactory.getClass().getName())) { in testGetDefault() 74 fail("incorrect instance: " + factory.getClass()+ in testGetDefault() 75 " expected: " + customSocketFactory.getClass().getName()); in testGetDefault() 79 fail("incorrect instance " + factory.getClass()); in testGetDefault()
|
D | SSLServerSocketFactoryTest.java | 73 … if (!factory.getClass().getName().equals(customServerSocketFactory.getClass().getName())) { in testGetDefault() 74 fail("incorrect instance: " + factory.getClass()+ in testGetDefault() 75 " expected: " + customServerSocketFactory.getClass().getName()); in testGetDefault() 79 fail("incorrect instance " + factory.getClass()); in testGetDefault()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
D | SecurityAgreeParser.java | 86 if (header.getClass().isInstance(new SecurityClient())) { in parse() 88 } else if (header.getClass().isInstance(new SecurityServer())) { in parse() 90 } else if (header.getClass().isInstance(new SecurityVerify())) { in parse() 127 if (header.getClass().isInstance(new SecurityClient())) { in parse() 129 } else if (header.getClass().isInstance(new SecurityServer())) { in parse() 131 } else if (header.getClass().isInstance(new SecurityVerify())) { in parse()
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/ |
D | InstructionWithReference.java | 97 throw new RuntimeException(referencedItem.getClass().getSimpleName() + in checkReferenceType() 103 throw new RuntimeException(referencedItem.getClass().getSimpleName() + in checkReferenceType() 109 throw new RuntimeException(referencedItem.getClass().getSimpleName() + in checkReferenceType() 115 throw new RuntimeException(referencedItem.getClass().getSimpleName() + in checkReferenceType() 121 throw new RuntimeException(referencedItem.getClass().getSimpleName() + in checkReferenceType()
|
/external/nist-sip/java/gov/nist/core/ |
D | GenericObject.java | 150 Class<?> c = obj.getClass(); in makeClone() 222 if (!mergeObject.getClass().equals(this.getClass())) in merge() 225 Class<?> myclass = this.getClass(); in merge() 411 if (!this.getClass().equals(that.getClass())) in equals() 413 Class<?> myclass = this.getClass(); in equals() 414 Class<?> hisclass = that.getClass(); in equals() 496 if (!this.getClass().equals(other.getClass())) in match() 499 Class<?> myclass = this.getClass(); in match() 501 Class<?> hisclass = other.getClass(); in match() 563 GenericObject.isMySubclass(myObj.getClass()) in match() [all …]
|
/external/javassist/src/test/test/javassist/bytecode/analysis/ |
D | AnalyzerTest.java | 30 CtClass clazz = pool.get(getClass().getName() + "$Dummy"); in testCommonSupperArray() 37 CtClass clazz = pool.get(getClass().getName() + "$Dummy"); in testCommonInterfaceArray() 44 getClass().getName() + "$Dummy", "sharedInterfaceAndSuperClass"); in testSharedInterfaceAndSuperClass() 48 getClass().getName() + "$Dummy", "sharedOffsetInterfaceAndSuperClass"); in testSharedInterfaceAndSuperClass() 52 getClass().getName() + "$Dummy", "sharedSuperWithSharedInterface"); in testSharedInterfaceAndSuperClass() 53 verifyReturn(method, getClass().getName() + "$Dummy$A"); in testSharedInterfaceAndSuperClass() 58 getClass().getName() + "$Dummy", "arrayDifferentDimensions1"); in testArrayDifferentDims() 62 getClass().getName() + "$Dummy", "arrayDifferentDimensions2"); in testArrayDifferentDims() 68 getClass().getName() + "$Dummy", "reusedLocalMerge"); in testReusedLocalMerge() 197 CtClass clazz = pool.makeClass(getClass().getName() + "$Generated0"); in generateDeadCode() [all …]
|
/external/proguard/src/proguard/classfile/attribute/ |
D | Attribute.java | 79 …throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()… in accept() 94 …throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()… in accept() 110 …throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()… in accept() 126 …throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()… in accept()
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | BatchUpdateExceptionTest.java | 66 assertEquals(i + "Exception mismatch", e.getClass(), in testBatchUpdateException() 67 theExceptions[i].getClass()); in testBatchUpdateException() 112 assertEquals(i + "Exception mismatch", e.getClass(), in testBatchUpdateExceptionintArray() 113 theExceptions[i].getClass()); in testBatchUpdateExceptionintArray() 167 assertEquals(i + "Exception mismatch", e.getClass(), in testBatchUpdateExceptionStringintArray() 168 theExceptions[i].getClass()); in testBatchUpdateExceptionStringintArray() 224 assertEquals(i + "Exception mismatch", e.getClass(), in testBatchUpdateExceptionStringStringintArray() 225 theExceptions[i].getClass()); in testBatchUpdateExceptionStringStringintArray() 282 assertEquals(i + "Exception mismatch", e.getClass(), in testBatchUpdateExceptionStringStringintintArray() 283 theExceptions[i].getClass()); in testBatchUpdateExceptionStringStringintintArray() [all …]
|
D | SQLExceptionTest.java | 97 assertEquals(i + "Exception mismatch", e.getClass(), in testSQLExceptionStringStringint() 98 theExceptions[i].getClass()); in testSQLExceptionStringStringint() 146 assertEquals(i + "Exception mismatch", e.getClass(), in testSQLExceptionStringString() 147 theExceptions[i].getClass()); in testSQLExceptionStringString() 193 assertEquals(i + "Exception mismatch", e.getClass(), in testSQLExceptionString() 194 theExceptions[i].getClass()); in testSQLExceptionString() 235 assertEquals(i + "Exception mismatch", e.getClass(), in testSQLException() 236 theExceptions[i].getClass()); in testSQLException() 288 assertEquals(i + "Exception mismatch", e.getClass(), in testGetErrorCode() 289 theExceptions[i].getClass()); in testGetErrorCode() [all …]
|
D | SQLWarningTest.java | 64 assertEquals(i + "Exception mismatch", e.getClass(), in testSQLWarning() 65 theExceptions[i].getClass()); in testSQLWarning() 111 assertEquals(i + "Exception mismatch", e.getClass(), in testSQLWarningString() 112 theExceptions[i].getClass()); in testSQLWarningString() 160 assertEquals(i + "Exception mismatch", e.getClass(), in testSQLWarningStringString() 161 theExceptions[i].getClass()); in testSQLWarningStringString() 212 assertEquals(i + "Exception mismatch", e.getClass(), in testSQLWarningStringStringint() 213 theExceptions[i].getClass()); in testSQLWarningStringStringint() 261 assertEquals(i + "Exception mismatch", e.getClass(), in testGetNextWarning() 262 theExceptions[i].getClass()); in testGetNextWarning() [all …]
|