Esempio n. 1
0
 @Test
 public void showLocationMarker_shouldNotCrashIfLayersIsNull() throws Exception {
   mapFragment.setAct(new BaseActivityWithNullLayers());
   mapFragment.showLocationMarker();
 }
Esempio n. 2
0
 @Test
 public void onActivityCreated_shouldVerifyTileCacheDirectoryIsAvailable() throws Exception {
   BaseActivityWithNullCache baseActivityWithNullCache = new BaseActivityWithNullCache();
   mapFragment.setAct(baseActivityWithNullCache);
   mapFragment.onActivityCreated(null);
 }