Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public void test() {
  2. ShadowPath shadowPath = Robolectric.shadowOf(new Path());
  3. drawToPath(shadowPath);
  4. List<Point> points = path.getPoints();
  5. ...assertPoints...
  6. }
  7.  
  8. public void drawToPath(Path path) {
  9. path.moveTo(x, y);
  10. path.drawTo(x1, y1);
  11. ...
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement