Home
last modified time | relevance | path

Searched refs:Pony (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DRealApisTest.java11 import org.robolectric.testing.Pony;
18 assertEquals("Off I saunter to the salon!", new Pony().saunter("the salon")); in whenShadowHandlerIsInRealityBasedMode_shouldNotCallRealForUnshadowedMethod()
21 @Implements(Pony.class)
22 public static class ShimmeryShadowPony extends Pony.ShadowPony {
DShadowingTest.java22 import org.robolectric.testing.Pony;
131 @SandboxConfig(shadows = {Pony.ShadowPony.class})
133 Pony pony = new Pony(); in directlyOn_shouldCallThroughToOriginalMethodBody()
136 assertEquals("Whinny! You're on my neck!", Shadow.directlyOn(pony, Pony.class).ride("neck")); in directlyOn_shouldCallThroughToOriginalMethodBody()
142 @SandboxConfig(shadows = {Pony.ShadowPony.class})
144 assertEquals("Off I saunter to the salon!", new Pony().saunter("the salon")); in shouldCallRealForUnshadowedMethod()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/testing/
DPony.java8 public class Pony { class
9 public Pony() { in Pony() method in Pony
24 @Implements(Pony.class)