6067 annotation manager (#6913)

* [android] - AnnotationManager and InfoWindowManager refactor

* make AnnotationManager independent from MapView/MapboxMap, add IconManager,

* make code unit testable

* added some class level documentation (for internal use)
This commit is contained in:
Tobrun
2016-11-07 17:23:51 +01:00
committed by GitHub
parent 5412191ab4
commit 1f8f85fab3
8 changed files with 942 additions and 765 deletions

View File

@@ -79,10 +79,13 @@ public class MapboxMapTest {
@Mock
MapboxMap.OnMyBearingTrackingModeChangeListener mMyBearingTrackingModeChangeListener;
@Mock
IconManager iconManager;
@Before
public void beforeTest() {
MockitoAnnotations.initMocks(this);
mMapboxMap = new MapboxMap(mMapView);
mMapboxMap = new MapboxMap(mMapView, iconManager);
}
@Test