Commit Graph

368 Commits

Author SHA1 Message Date
Antonio Zugaldia
7e30025abb Merge remote-tracking branch 'mapbox/master' into 2317-espresso
Conflicts:
	src/mbgl/util/geojsonvt
2015-09-15 17:58:36 -04:00
Antonio Zugaldia
187cc36eb5 pure junit tests 2015-09-15 17:57:12 -04:00
Antonio Zugaldia
ed161e020a fixed teardown 2015-09-15 17:28:43 -04:00
Antonio Zugaldia
d9376a3c0f added LargeTest annotation 2015-09-15 17:28:11 -04:00
Antonio Zugaldia
57a7f13203 bumped versions to todays release 2015-09-15 17:01:44 -04:00
Antonio Zugaldia
c0b9ec6da4 ready for aws screenshots 2015-09-15 14:19:23 -04:00
Antonio Zugaldia
df7ef8ee87 flag to enable automatic screenshots on teardown 2015-09-15 14:18:22 -04:00
Antonio Zugaldia
2235a86054 manually add a screenshot name 2015-09-15 14:18:00 -04:00
Antonio Zugaldia
3f837ecd94 added permission to save tests screenshots 2015-09-15 14:17:46 -04:00
Antonio Zugaldia
06d609d630 we now have 26 UI tests that cover all main elements and core interactions, including drawer and map inner elements 2015-09-15 12:23:03 -04:00
Antonio Zugaldia
019a3c05b0 added espresso-contrib to have access to contrib.DrawerMatchers.* 2015-09-15 11:20:24 -04:00
Antonio Zugaldia
d8ffb76ff3 Take a screenshot after every test 2015-09-15 10:33:34 -04:00
Antonio Zugaldia
8dd8e01961 switch id to new layout mainMapView 2015-09-14 17:48:43 -04:00
Antonio Zugaldia
7d2f060887 match the new annotations version 2015-09-14 17:27:08 -04:00
Antonio Zugaldia
7756f7727c Merge remote-tracking branch 'mapbox/master' into 2317-espresso
Conflicts:
	android/java/MapboxGLAndroidSDKTestApp/build.gradle
2015-09-14 17:24:59 -04:00
Antonio Zugaldia
5c74d202d3 added info about Monkey 2015-09-14 17:18:52 -04:00
Antonio Zugaldia
9a0d12e142 basic espresso testSanity() working locally and on was device farm 2015-09-14 17:04:55 -04:00
Antonio Zugaldia
6f7aa10609 one more exclude required for testing 2015-09-14 17:04:10 -04:00
Antonio Zugaldia
e95d0e0303 tests documentation 2015-09-14 17:03:46 -04:00
Antonio Zugaldia
67586c13fc Specify AndroidJUnitRunner as the default test instrumentation runner 2015-09-14 16:08:00 -04:00
Antonio Zugaldia
6d18a2dd6e Bumped version to remove conflict with com.android.support:support-annotations versions for app (22.1.1) and test app (22.2.0). 2015-09-14 16:01:13 -04:00
Antonio Zugaldia
4a11c31275 #2317 - added testing dependencies 2015-09-14 12:51:40 -04:00
Antonio Zugaldia
b9d34b55e2 #2317 - README to set up and run Espresso testing 2015-09-14 12:45:59 -04:00
Leith Bade
cdafaf49cf Add missing support libs 2015-09-11 15:47:28 +10:00
Leith Bade
344a7b2ffd Update to Android build tools 23.0.1
Closes #2303
2015-09-11 12:14:45 +10:00
Leith Bade
a9b163fadc Call cancelTransitions when setting map position, zoom level, or direction.
Fixes # 2296
2015-09-11 11:34:04 +10:00
Brad Leege
aa001f07c3 #2293 - Removing Drawable 2015-09-09 15:15:23 -05:00
Brad Leege
b45b42590f Merge branch 'master' of github.com:mapbox/mapbox-gl-native
# Conflicts:
#	android/java/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxgl/views/MapView.java
2015-09-09 15:08:49 -05:00
Brad Leege
93940864ec Merge branch 'master' into 2244-texture-view
# Conflicts:
#	android/java/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxgl/views/MapView.java
2015-09-09 14:59:42 -05:00
tobrun
d371dd07cb Changed title dialog 2015-09-09 10:25:35 -07:00
tobrun
290a857b51 Moved icon to the right of Mapbox logo 2015-09-09 10:24:46 -07:00
tobrun
36a754a1fe Using AlertDialog from AppCompat instead of SDKs version 2015-09-09 10:24:46 -07:00
tobrun
e7398c16c1 Added "Improve this map" functionality, current zoom level, center latitude and longitude will be parsed in to the url of improve this map. 2015-09-09 10:24:46 -07:00
tobrun
9a6924435b Added styling to the Attribution AlertDialog 2015-09-09 10:24:46 -07:00
tobrun
f8b8ca7273 Refactored ColorStateList of attribution control to a Drawable selector, added images responding to different states. 2015-09-09 10:24:10 -07:00
tobrunvannuland
75aefb7f9d Added save/restore state for CompassView, LogoView and AttributionView 2015-09-09 10:23:51 -07:00
tobrunvannuland
ea0992b72f Added info icon and map box logo 2015-09-09 10:23:51 -07:00
Brad Leege
3f497ff9d2 #2283 - Supporting custom InfoWindow touch listeners via Marker.setInfoWindowOnTouchListener(). Added Test to Custom Annotations in TestApp's MainActivity. 2015-09-08 14:46:18 -05:00
Leith Bade
8f37502c71 Use MapView as parent for InfoWindow
See comment in #894
2015-09-08 14:01:53 +10:00
Justin R. Miller
704a4e499b #894 - only select/deselect markers on true single-tap 2015-09-07 12:09:48 -07:00
Justin R. Miller
7ed7729cf2 #894 - remove debug log 2015-09-07 12:09:48 -07:00
Justin R. Miller
bac590298a #894 - add lat/lon to marker snippets 2015-09-07 12:09:48 -07:00
Justin R. Miller
d394be0bb8 #894 - remove debug polyline 2015-09-07 12:09:48 -07:00
Justin R. Miller
9210a71fdf #894 - flip marker tap bounds to be top-biased 2015-09-07 12:09:48 -07:00
Justin R. Miller
1fd0cedfd6 #894 - properly extend tap bounds for marker selection 2015-09-07 12:09:48 -07:00
Brad Leege
e8d415367e #894 - Resetting height tolerance to 80 2015-09-07 12:05:50 -07:00
Brad Leege
8f98024f37 #894 - Flipping the Y value to make screen touch event locations line up with marker. Updating marker selection and deselection logic to allow for proper selection and reselection. 2015-09-07 12:05:49 -07:00
Brad Leege
77951eea93 #894 - Moving annotation selection determination to onSingleTapUp() to only run it when it's actual single tap. Fixing newSelectedAnnotationID to be greater than or equals to 0 to handle first annotation case 2015-09-07 12:05:49 -07:00
Brad Leege
902b80888f #894 - Initial port of selectAnnotation and removing auto display of InfoWindow on long press marker addition in TestApp 2015-09-07 12:05:49 -07:00
Brad Leege
4837a247e5 #894 - Initial port of selected annotation api 2015-09-07 12:05:49 -07:00