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

Integration test: expression-test #12045

Closed
tobrun opened this issue Jun 1, 2018 · 2 comments
Closed

Integration test: expression-test #12045

tobrun opened this issue Jun 1, 2018 · 2 comments
Labels
Android Mapbox Maps SDK for Android archived Archived because of inactivity tests

Comments

@tobrun
Copy link
Member

tobrun commented Jun 1, 2018

In the test/integration/expression-test, we define expression tests to verify correctness and consistency between mapbox-gl-js and mapbox-gl-native. With render test now executing on Android in #12041 we can add the similar integration for expression tests.

Example expression test:

{
  "expression": ["+", 1, 2, 3, 4],
  "inputs": [[{}, {}]],
  "expected": {
    "compiled": {
      "result": "success",
      "isFeatureConstant": true,
      "isZoomConstant": true,
      "type": "number"
    },
    "outputs": [10],
    "serialized": 10
  }
}

cc @LukasPaczos @ChrisLoer

@tobrun tobrun added Android Mapbox Maps SDK for Android tests labels Jun 1, 2018
@stale stale bot added the archived Archived because of inactivity label Nov 28, 2018
@stale
Copy link

stale bot commented Nov 29, 2018

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this as completed Nov 29, 2018
@tobrun tobrun reopened this Nov 29, 2018
@stale stale bot removed the archived Archived because of inactivity label Nov 29, 2018
@stale stale bot added the archived Archived because of inactivity label May 28, 2019
@stale
Copy link

stale bot commented May 28, 2019

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this as completed May 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android archived Archived because of inactivity tests
Projects
None yet
Development

No branches or pull requests

1 participant