[android] - instrumentation tests upgrade, move view checking to utility class, remove inheritance in runtime style test (#6803)

update gitignore for generated tests

add camera move test

add realtime geojson to be excluded when generating Activity sanity tests

by default show workaround for showing a MapView in a dialog

add annotation tests

remove older camera tests, introduce tests for move, ease and animate, bring back setLatLng and getLatLng on MapView, add tests for internal camera API.

compass view tests

add tests for attribution and logo.

fix annotation tests

Rename Actiivity test class, split up annotation tests, added MarkerView tests, added infowindow tests, added MyLocationView tests

fix addRemoveLayer test by integrating map interactions inside a ViewAction
This commit is contained in:
Tobrun
2016-11-09 12:56:49 +01:00
committed by GitHub
parent 2411ec83b1
commit 33aa14c939
62 changed files with 2241 additions and 1342 deletions

View File

@@ -701,6 +701,17 @@ public class MapView extends FrameLayout {
nativeMapView.setPitch(pitch, 0);
}
//
// Center coordinate
//
LatLng getCenterCoordinate(){
return nativeMapView.getLatLng();
}
void setCenterCoordinate(LatLng centerCoordinate){
nativeMapView.setLatLng(centerCoordinate);
}
//
// Direction