Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/bugs/
DCovariantOverrideTest.java17 public interface ReturnsObject { interface in CovariantOverrideTest
22 public interface ReturnsString extends ReturnsObject {
30 ReturnsObject mock = mock(ReturnsObject.class); in returnFoo1()
44 ReturnsObject mock = mock(ReturnsString.class); in returnFoo3()
53 ReturnsObject mock2 = mock; // Switch to base type to call covariant override in returnFoo4()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/
DProxyBuilderTest.java677 public static class ReturnsObject { class in ProxyBuilderTest
683 public static class ReturnsString extends ReturnsObject {
694 assertSame(expected, proxyFor(ReturnsObject.class).build().getValue()); in testCovariantReturnTypes_NormalBehaviour()