コード例 #1
0
ファイル: MapFragmentTest.java プロジェクト: haovn577/open
 @Test
 public void showLocationMarker_shouldNotCrashIfLayersIsNull() throws Exception {
   mapFragment.setAct(new BaseActivityWithNullLayers());
   mapFragment.showLocationMarker();
 }
コード例 #2
0
ファイル: MapFragmentTest.java プロジェクト: haovn577/open
 @Test
 public void onActivityCreated_shouldVerifyTileCacheDirectoryIsAvailable() throws Exception {
   BaseActivityWithNullCache baseActivityWithNullCache = new BaseActivityWithNullCache();
   mapFragment.setAct(baseActivityWithNullCache);
   mapFragment.onActivityCreated(null);
 }