This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Test MGLOfflinePack and MGLOfflineStorage #4426
Milestone
Comments
#4482 adds functional tests for the offline SDK classes. |
1ec5
added a commit
that referenced
this issue
Mar 28, 2016
Added unit tests for MGLTilePyramidOfflineRegion, MGLOfflinePack, and MGLOfflineStorage. Fixes #4426.
1ec5
added a commit
that referenced
this issue
Mar 29, 2016
Added unit tests for MGLTilePyramidOfflineRegion, MGLOfflinePack, and MGLOfflineStorage. Fixes #4426.
1ec5
added a commit
that referenced
this issue
Mar 29, 2016
Added unit tests for MGLTilePyramidOfflineRegion, MGLOfflinePack, and MGLOfflineStorage. Fixes #4426.
Fixed in #4482, which will be in v3.2.0-beta.3. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We need tests for the iOS SDK’s offline functionality. The underlying mbgl classes are tested via a command-line tool, but we have nothing in this repo that specifically tests the SDK classes.
There are integration tests in a Mapbox-internal testbed application that cover an interface very similar to iosapp’s MBXOfflinePacksTableViewController. That could be a starting point, but #4287 and #4421 illustrate some difficulties in isolating MGLOfflinePack and MGLOfflineStorage for unit testing. For now, we can prebake a cache.db that contains offline packs and test the MGLOfflineStorage APIs against it.
/cc @boundsj @friedbunny
The text was updated successfully, but these errors were encountered: