/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/objenesis/main/test/org/objenesis/ |
D | ObjenesisTest.java | 41 assertEquals(o.getInstantiatorOf(getClass()).newInstance().getClass(), getClass()); in testObjenesis_WithoutCache() 46 assertEquals(getClass(), o.newInstance(getClass()).getClass()); in testNewInstance() 51 ObjectInstantiator i1 = o.getInstantiatorOf(getClass()); in testGetInstantiatorOf() 53 assertEquals(getClass(), i1.newInstance().getClass()); in testGetInstantiatorOf() 56 ObjectInstantiator i2 = o.getInstantiatorOf(getClass()); in testGetInstantiatorOf()
|
/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 | 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 | 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 | 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()
|
/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 | 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()
|
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()
|
/external/mockito/src/org/mockito/internal/matchers/ |
D | Equals.java | 54 if (o == null || !this.getClass().equals(o.getClass())) { in equals() 69 … description.appendText(describe("("+ wanted.getClass().getSimpleName() +") " + wanted)); in withExtraTypeInfo() 74 return wanted != null && object != null && object.getClass() == wanted.getClass();
|
/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/robolectric/src/test/java/com/xtremelabs/robolectric/ |
D | TemporaryBindingsTest.java | 18 …assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimple… in overridingShadowBindingsShouldNotAffectBindingsInLaterTests() 22 assertThat(Robolectric.shadowOf_(new View(null)).getClass().getSimpleName(), in overridingShadowBindingsShouldNotAffectBindingsInLaterTests() 28 …assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimple… in overridingShadowBindingsShouldNotAffectBindingsInLaterTestsAgain() 32 assertThat(Robolectric.shadowOf_(new View(null)).getClass().getSimpleName(), in overridingShadowBindingsShouldNotAffectBindingsInLaterTestsAgain()
|
/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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AlarmManagerTest.java | 43 …REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); in shouldSupportSet() 53 … PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); in shouldSupportSetRepeating() 60 …REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); in setShouldReplaceDuplicates() 61 …REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); in setShouldReplaceDuplicates() 66 …TERVAL_HOUR, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); in setRepeatingShouldReplaceDuplicates() 67 …TERVAL_HOUR, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); in setRepeatingShouldReplaceDuplicates() 76 …ndingIntent = PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0); in shouldSupportGetNextScheduledAlarm() 89 …ndingIntent = PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0); in shouldSupportGetNextScheduledAlarmForRepeatingAlarms() 102 …ndingIntent = PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0); in shouldSupportPeekScheduledAlarm()
|
/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 …]
|