Home
last modified time | relevance | path

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

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPathTest.java12 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.LINE_TO;
13 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.MOVE_TO;
24 ShadowPath shadowPath = shadowOf(path); in testGradTo()
34 List<ShadowPath.Point> moveToPoints = shadowOf(path).getPoints(); in testMoveTo()
36 assertEquals(new ShadowPath.Point(2, 3, MOVE_TO), moveToPoints.get(0)); in testMoveTo()
37 assertEquals(new ShadowPath.Point(3, 4, MOVE_TO), moveToPoints.get(1)); in testMoveTo()
46 List<ShadowPath.Point> lineToPoints = shadowOf(path).getPoints(); in testLineTo()
48 assertEquals(new ShadowPath.Point(2, 3, LINE_TO), lineToPoints.get(0)); in testLineTo()
49 assertEquals(new ShadowPath.Point(3, 4, LINE_TO), lineToPoints.get(1)); in testLineTo()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPath.java10 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.LINE_TO;
11 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.MOVE_TO;
19 public class ShadowPath { class
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java267 ShadowPath.class, in getDefaultShadowClasses()
789 public static ShadowPath shadowOf(Path instance) { in shadowOf()
790 return (ShadowPath) shadowOf_(instance); in shadowOf()