Commit Graph

27 Commits

Author SHA1 Message Date
Julian Rex
c7d53676d0 [ios, core] Updates project for iOS SDK 12.2 / Always use vendored optional (#14241) 2019-03-27 09:58:41 -04:00
Jason Wray
d0ffaa4245 [ios] Reset access token state after running tests 2019-03-07 11:36:04 -08:00
Julian Rex
405e20e3c8 [ios] CADisplayLink method now takes a parameter as required. (#14018) 2019-03-01 16:04:37 -05:00
Jason Wray
67e5761e72 [ios] Update more URLs to docs.mapbox.com/ios 2019-01-25 11:57:45 -08:00
Nadia Barbosa
332c1ac96a [ios] Fix links in documentation
[ios] Update to docs.mapbox.com

Update links
2019-01-23 13:16:28 -08:00
Julian Rex
b460efdf00 [ios] Partially offscreen annotations (without callouts) are no longer moved on-screen (#13727) 2019-01-22 17:45:06 -05:00
Heather Stenson
b7cd091ce1 [ios] - update links to new API doc format (#13694) 2019-01-10 12:54:08 -08:00
Julian Rex
1c7cd243c4 [core,ios,macos] Updates default styles to streets v11, etc. (#13585) 2018-12-18 16:00:19 -05:00
Alexander Shalamov
b6b1067caf [ios, darwin] Make MGLFeature.attributes non-nullable and add integration test
Enforce non-nullable semantics for MGLFeature.attributes, to avoid construction of invalid mbgl::Feature properties
from nil NSDictionary object and align with public SDK property definition.

Integration test "testShapeSourceWithLineDistanceMetrics" is added to verify that MGLFeature is correctly converted.

Fixes issue #13378
2018-12-13 19:38:50 +02:00
Jason Wray
b6909748c1 [ios, tests] Bump integration tests timeout to 10s 2018-11-02 17:49:32 -04:00
Chris Loer
8368bd4878 [tests, darwin] Standardize on 10 second timeout for map loading
5 second timeouts have been intermittently failing on CI.
2018-10-17 13:14:44 -07:00
Nadia Barbosa
7b243392e3 [ios] Add delegate method to specify the user location annotation’s position
Update method name

More API drafting

Add deprecation flag

Add Swift delegate integration test

Update method name and documentation

Update deprecation notices

Update method name

Offset anchor point relative to contentFrame

Update docs

Only run through switch statement if delegate is unimplemented

Account for content inset + refactor logic

Adjust edgePaddingForFollowing

Fix Swift delegate integration test

Set up integration test

Set up test location manager

.

Remove unused file reference from test

Return CGPoint value from delegate method within integration test setup

Test anchor points

Make updateUserLocationAnnotationView public

Refactor test

Update test location manager

Changelog entry

Doc fixes
2018-10-02 18:28:53 -04:00
Jason Wray
1ce31af289 [ios] Bump more test timeouts for Xcode 10 sluggishness 2018-09-26 14:12:57 -07:00
Julian Rex
66e95ac2ab [ios] Move pending test check into invokeTest (#12964) 2018-09-25 13:31:47 -04:00
Jason Wray
737ebed7d5 [ios, tests] Bump most waitForExpectationsWithTimeout's to 5s
[skip firebase]

Bump MGLOfflineStorageTests timeouts to 5 seconds
2018-09-20 14:57:07 -07:00
Julian Rex
315a9e3cdf [ios, macos] Call snapshotter (Obj-C) completion block on dealloc/cancel if snapshot hasn't finished. (#12355) 2018-09-05 11:53:12 -04:00
Julian Rex
3710ef8810 [iOS] Update annotation view touch handling (with offsets) (#12234) 2018-07-09 10:01:11 -04:00
Julian Rex
56ab3318a3 [ios] [macos] Added -[MGLSnapshot coordinateForPoint:] and associated test. 2018-07-05 18:50:21 +02:00
Julian Rex
87143a355d [ios] Fix for integration tests not running on iOS 9. (#12145) 2018-06-18 14:24:14 -04:00
Chris Loer
6eee872955 [test,ios] Disable multiple mapsnapshotter test.
8 simultaneous mapsnapshotter test periodically deadlocks in simulator.
Also, increase timeouts to decrease chance of spurious test failure.
2018-06-04 11:32:20 -07:00
Chris Loer
af4efd4fa7 [ios, test] Add MGLMapSnapshotter integration tests. 2018-06-04 11:32:20 -07:00
Julian Rex
5e65cb7812 [ios, macos] Added macro to handle pending iOS tests (rather than disabling via scheme) (#11806) 2018-05-24 00:43:29 -04:00
Julian Rex
bef2a7ccb6 [ios,macos] Fix for infinite loop crash when setting shape to nil in MGLMapViewDelegate methods (#11614) 2018-05-21 14:14:58 -04:00
Julian Rex
1f4e3e0f6e [ios, macos] Raise exceptions for empty expression stops dictionaries (#9539) 2018-04-26 12:40:26 -04:00
Julian Rex
80474b24f2 [ios] Refactor integrations tests 2018-04-10 14:56:38 -04:00
Asheem Mamoowala
099fcc3b3c Use a host interface for CustomLayer instead of function pointers (#11553)
Use a host interface for CustomLayer instead of function pointers

Co-authored-by: Julian Rex <julian.rex@mapbox.com>
2018-04-02 16:15:25 -07:00
Andrew Kitchen
2c48871c06 Adds an integration test harness to the iOS project
This will allow us to write lightweight integration tests between MGLMapView and the core renderer.
Also includes a test for the recent custom layer memory fix, reverting the fix in order to demonstrate the failing test.
2018-01-19 20:28:57 -05:00