Commit Graph

394 Commits

Author SHA1 Message Date
Brad Leege
c3fe83f709 #2414 - Add explicit null check for infoWindow 2015-09-24 10:36:36 -05:00
Brad Leege
db2afca078 #2414 - Removing Crashlytics NDK integration as it's preventing TestApp from running 2015-09-24 10:11:58 -05:00
Leith Bade
85ec3eb0a5 Refactor Android render loop to limit frame rate to 60 FPS
Move expensive cache size calulation to initialisation
Fix setGestureInProgress bug
Renamed several functions to match current usage
Refactor map updates to reduce GPS marker lag
Fixes #1676
Fixes #2290
Fixes #2396
2015-09-24 18:04:26 +10:00
Leith Bade
e5ff4638b3 Actually disable universal APKs 2015-09-24 13:33:01 +10:00
Leith Bade
18bc490f40 Fix build with Crashlytics NDK on 64bit 2015-09-24 10:38:03 +10:00
Leith Bade
8cf927f6c4 Improve handling of cancelled HTTP requests
Fix a memory leak of NativeMapView Java object
2015-09-23 11:57:41 +10:00
Leith Bade
db6a08d8ca Add Crashlytics NDK to Android
Closes #2107
2015-09-23 11:19:58 +10:00
Leith Bade
feae692dba Fix freezing on Android when rotating
Fixes #1941
2015-09-22 16:23:39 +10:00
Leith Bade
1d565a5159 Remove Android style URL validation
Fixes #2370
2015-09-21 14:38:11 +10:00
Bastien Mayard
8d322c6572 Change MapView.MapChange visibility to public since OnMapChangedListener.onMapChanged requires it. 2015-09-16 14:00:00 -07:00
Antonio Zugaldia
ec19af2aa5 import JUnit tests instructions 2015-09-16 14:03:03 -04:00
Antonio Zugaldia
ce2793d84d placeholders for the remaining objects 2015-09-16 13:49:52 -04:00
Antonio Zugaldia
0281d010bd two classes at once on aws 2015-09-16 13:43:26 -04:00
Antonio Zugaldia
573b43f257 unit tests + mockito 2015-09-16 13:39:46 -04:00
Antonio Zugaldia
77faa7ea15 zoom in 2015-09-16 11:19:44 -04:00
Antonio Zugaldia
ed33a5ee64 screenshots should be taken on ui thread 2015-09-16 11:17:42 -04:00
Antonio Zugaldia
f775348ec3 fixed the screenshot class to include the surface view 2015-09-16 11:03:32 -04:00
Antonio Zugaldia
602a075333 using the new version way of instanstiating the activity class 2015-09-16 11:03:10 -04:00
Antonio Zugaldia
c3dffb6e46 moved screenshot tests to its own class 2015-09-16 11:02:11 -04:00
Antonio Zugaldia
e4d1e67d71 second activity test class 2015-09-16 11:01:45 -04:00
Antonio Zugaldia
97d53be25e docs for junit tests 2015-09-16 09:29:31 -04:00
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
Brad Leege
b9cf720d32 #2018 - Cleaning 2015-09-15 15:56:45 -04:00
Brad Leege
f460cf9fb4 #2018 - Changing Second Activity style to Emerald 2015-09-15 15:55:37 -04:00
Brad Leege
83a3148921 #2018 - Making Launch 2nd Activity draw menu item not checkable 2015-09-15 15:54:58 -04:00
Brad Leege
ac64c34a49 #2018 - Toolbar on Second Activity with back button support 2015-09-15 15:53:32 -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
Brad Leege
2ae0fbeec4 #2018 - Adding basic second activity that displays a map 2015-09-15 14:07:24 -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