Home
last modified time | relevance | path

Searched refs:privateField (Results 1 – 2 of 2) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DLenientCopyToolTest.java32 private int privateField = -100; field in LenientCopyToolTest.SomeObject
93 from.privateField = 1; in shouldShallowCopyFieldValuesIntoMock()
99 assertThat(to.privateField).isNotEqualTo(from.privateField); in shouldShallowCopyFieldValuesIntoMock()
109 assertEquals(from.privateField, to.privateField); in shouldShallowCopyFieldValuesIntoMock()
132 Field privateField = SomeObject.class.getDeclaredField("privateField"); in shouldEnableAndThenDisableAccessibility() local
133 assertFalse(privateField.isAccessible()); in shouldEnableAndThenDisableAccessibility()
139 privateField = SomeObject.class.getDeclaredField("privateField"); in shouldEnableAndThenDisableAccessibility()
140 assertFalse(privateField.isAccessible()); in shouldEnableAndThenDisableAccessibility()
167 from.privateField = 1; in shouldBeAbleToCopyFromRealObjectToRealObject()
179 assertEquals(from.privateField, to.privateField); in shouldBeAbleToCopyFromRealObjectToRealObject()
/external/guava/guava-tests/test/com/google/common/reflect/
DElementTest.java193 @Tested private boolean privateField; field in ElementTest.A