1 package com.xtremelabs.robolectric; 2 3 import com.google.android.maps.GeoPoint; 4 import com.google.android.maps.ItemizedOverlay; 5 import com.google.android.maps.MapController; 6 import com.google.android.maps.MapView; 7 import com.xtremelabs.robolectric.shadows.ShadowGeoPoint; 8 import com.xtremelabs.robolectric.shadows.ShadowItemizedOverlay; 9 import com.xtremelabs.robolectric.shadows.ShadowMapController; 10 import com.xtremelabs.robolectric.shadows.ShadowMapView; 11 12 public class RobolectricForMaps { shadowOf(GeoPoint instance)13 public static ShadowGeoPoint shadowOf(GeoPoint instance) { 14 return (ShadowGeoPoint) Robolectric.shadowOf_(instance); 15 } 16 shadowOf(MapView instance)17 public static ShadowMapView shadowOf(MapView instance) { 18 return (ShadowMapView) Robolectric.shadowOf_(instance); 19 } 20 shadowOf(MapController instance)21 public static ShadowMapController shadowOf(MapController instance) { 22 return (ShadowMapController) Robolectric.shadowOf_(instance); 23 } 24 shadowOf(ItemizedOverlay instance)25 public static ShadowItemizedOverlay shadowOf(ItemizedOverlay instance) { 26 return (ShadowItemizedOverlay) Robolectric.shadowOf_(instance); 27 } 28 } 29