Home | History | Annotate | Download | only in robolectric
      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 {
     13     public static ShadowGeoPoint shadowOf(GeoPoint instance) {
     14         return (ShadowGeoPoint) Robolectric.shadowOf_(instance);
     15     }
     16 
     17     public static ShadowMapView shadowOf(MapView instance) {
     18         return (ShadowMapView) Robolectric.shadowOf_(instance);
     19     }
     20 
     21     public static ShadowMapController shadowOf(MapController instance) {
     22         return (ShadowMapController) Robolectric.shadowOf_(instance);
     23     }
     24 
     25     public static ShadowItemizedOverlay shadowOf(ItemizedOverlay instance) {
     26         return (ShadowItemizedOverlay) Robolectric.shadowOf_(instance);
     27     }
     28 }
     29