Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Test MGLOfflinePack and MGLOfflineStorage #4426

Closed

Description

@1ec5

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

Activity

  1. added
    iOS
    on Mar 22, 2016
  2. self-assigned this
    on Mar 22, 2016
  3. added this to the ios-v3.2.0 milestone on Mar 27, 2016
  4. self-assigned this
    on Mar 27, 2016
  5. 1ec5 commented on Mar 27, 2016

    @1ec5
    ContributorAuthor

    #4482 adds functional tests for the offline SDK classes.

  6. added a commit that references this issue on Mar 28, 2016
    6ac5eb0
  7. added
    macOS
    on Mar 28, 2016
  8. added 3 commits that reference this issue on Mar 29, 2016
    49b4981
    b248e43
  9. 1ec5 commented on Mar 29, 2016

    @1ec5
    ContributorAuthor

    Fixed in #4482, which will be in v3.2.0-beta.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

iOSmacOStests

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions