Home
last modified time | relevance | path

Searched refs:getDeclaredField (Results 1 – 25 of 75) sorted by relevance

123

/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DBeanPropertySetterTest.java24 Field theField = someBean.getClass().getDeclaredField("theField"); in use_the_correct_setter_on_the_target()
40 Field theField = someBean.getClass().getDeclaredField("UUID"); in use_the_setter_on_the_target_when_field_name_begins_by_at_least_2_caps()
56 Field theField = someBean.getClass().getDeclaredField("theField"); in should_not_fail_if_bean_class_declares_only_the_setter_for_the_property()
71 Field theField = bean.getClass().getDeclaredField("theField"); in should_fail_if_matching_setter_cannot_be_found_and_if_report_failure_is_true()
88 Field theField = bean.getClass().getDeclaredField("theField"); in return_false_if_no_setter_was_found()
102 Field theField = bean.getClass().getDeclaredField("theField"); in return_false_if_no_setter_was_found_and_if_reportNoSetterFound_is_false()
DFieldReaderTest.java24 FieldReader reader = new FieldReader(new Foo(), Foo.class.getDeclaredField("isNull")); in shouldKnowWhenNull()
32 FieldReader reader = new FieldReader(new Foo(), Foo.class.getDeclaredField("notNull")); in shouldKnowWhenNotNull()
DFieldInitializerTest.java130 … new FieldInitializer(testWithLocalType, testWithLocalType.getClass().getDeclaredField("field")); in should_fail_for_local_type_field()
145 … new FieldInitializer(testWithLocalType, testWithLocalType.getClass().getDeclaredField("field")); in should_not_fail_if_local_type_field_is_instantiated()
169 return this.getClass().getDeclaredField(fieldName); in field()
DLenientCopyToolTest.java132 Field privateField = SomeObject.class.getDeclaredField("privateField"); in shouldEnableAndThenDisableAccessibility()
139 privateField = SomeObject.class.getDeclaredField("privateField"); in shouldEnableAndThenDisableAccessibility()
DAccessibilityChangerTest.java35 return this.getClass().getDeclaredField(fieldName); in field()
DGenericMasterTest.java57 return this.getClass().getDeclaredField(fieldName); in field()
DFieldsTest.java52 return instance.getClass().getDeclaredField(name); in field()
/external/guice/core/test/com/google/inject/util/
DTypesTest.java65 mapStringInteger = (ParameterizedType) getClass().getDeclaredField("a").getGenericType(); in setUp()
66 innerFloatDouble = (ParameterizedType) getClass().getDeclaredField("b").getGenericType(); in setUp()
67 listSetStringArray = (ParameterizedType) getClass().getDeclaredField("c").getGenericType(); in setUp()
68 listString = (ParameterizedType) getClass().getDeclaredField("d").getGenericType(); in setUp()
69 setString = (ParameterizedType) getClass().getDeclaredField("e").getGenericType(); in setUp()
70 outerInner = (ParameterizedType) getClass().getDeclaredField("f").getGenericType(); in setUp()
/external/vogar/src/vogar/target/
DTestEnvironment.java54 f = dateFormatClass.getDeclaredField("is24Hour");
218 Field modifiersField = Field.class.getDeclaredField("modifiers"); in disableSecurity()
221 Field verifyMapField = securityBrokerClass.getDeclaredField("verificationResults"); in disableSecurity()
226 Field restrictedField = securityBrokerClass.getDeclaredField("isRestricted"); in disableSecurity()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPair.java43 Field f = Pair.class.getDeclaredField("first"); in setFields()
47 Field s = Pair.class.getDeclaredField("second"); in setFields()
DShadowSyncResult.java19 Field f = SyncResult.class.getDeclaredField("stats"); in __constructor__()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DOpenSSLX509CertificateTest.java41 Field targetUID = ZpenSSLX509Certificate.class.getDeclaredField("serialVersionUID"); in testSerialization_NoContextDeserialization()
46 Field modifiersField = Field.class.getDeclaredField("modifiers"); in testSerialization_NoContextDeserialization()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DProvidesIntoTest.java187 field = ProvidesIntoTest.class.getDeclaredField("wrappedKey1Holder"); in wrappedKeyFor()
190 field = ProvidesIntoTest.class.getDeclaredField("wrappedKey2Holder"); in wrappedKeyFor()
245 field = ProvidesIntoTest.class.getDeclaredField("arrayWrappedKeyHolder12"); in arrayWrappedKeyFor()
248 field = ProvidesIntoTest.class.getDeclaredField("arrayWrappedKeyHolder34"); in arrayWrappedKeyFor()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DCompiler.java29 Compiler.class.getDeclaredField("$SWITCH_TABLE$" in isJDK()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DShortNameFactoryTest.java78 Member field = Obj.class.getDeclaredField("field"); in testGetMemberName_field()
99 Obj.class.getDeclaredField("field").getDeclaredAnnotations()[0]); in testGetAnnotationName_annotationInstance()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DPlatform.java70 Field f_fd = channel.getClass().getDeclaredField("fd"); in getFileDescriptor()
79 Field f_impl = Socket.class.getDeclaredField("impl"); in getFileDescriptor()
82 Field f_fd = SocketImpl.class.getDeclaredField("fd"); in getFileDescriptor()
/external/testng/src/test/java/test/multiplelisteners/
DSimpleReporter.java24 final Field field = SuiteRunner.class.getDeclaredField("m_configuration"); in generateReport()
/external/guava/guava-tests/test/com/google/common/base/
DFinalizableReferenceQueueClassLoaderUnloadingTest.java103 Field disabled = sepFrqSystemLoaderC.getDeclaredField("disabled"); in useFrqInSeparateLoader()
215 Field disabled = sepFrqSystemLoaderC.getDeclaredField("disabled"); in doTestUnloadableInStaticFieldIfClosed()
/external/mockito/src/test/java/org/mockito/internal/configuration/injection/
DConstructorInjectionTest.java50 return this.getClass().getDeclaredField(fieldName); in field()
/external/objenesis/main/src/main/java/org/objenesis/instantiator/sun/
DUnsafeFactoryInstantiator.java53 f = unsafeClass.getDeclaredField("theUnsafe"); in UnsafeFactoryInstantiator()
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DUnsafeAllocator.java39 Field f = unsafeClass.getDeclaredField("theUnsafe"); in create()
/external/mockito/src/main/java/org/mockito/internal/junit/util/
DJUnitFailureHacker.java72 return clazz.getDeclaredField(field); in getField()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DRootFinder.java48 viewsField = clazz.getDeclaredField(VIEW_FIELD_NAME);
/external/mockito/src/test/java/org/mockito/internal/configuration/
DMockInjectionTest.java90 return getClass().getDeclaredField(field); in field()
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/
DAndroidTempFileLocator.java32 Field pathField = clazz.getDeclaredField("path");

123