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