diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-01-29 17:49:22 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-10 15:40:20 -0800 |
commit | 025375ad0b365a06e0742b92fecc9bc538b5a6e0 (patch) | |
tree | d94054813001e7b64c57d09651a47084064f9372 /test/style | |
parent | dbb8e58aea00a84716aafa6887b50c0186169f9e (diff) | |
download | qtlocation-mapboxgl-025375ad0b365a06e0742b92fecc9bc538b5a6e0.tar.gz |
[core] Cache with mapbox:// tile URLs
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/style_parser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/style/style_parser.cpp b/test/style/style_parser.cpp index 1554c76a27..8a9c4b3c4f 100644 --- a/test/style/style_parser.cpp +++ b/test/style/style_parser.cpp @@ -96,9 +96,9 @@ TEST(StyleParser, ParseTileJSONRaster) { EXPECT_EQ(15, result->maxZoom); EXPECT_EQ("attribution", result->attribution); #if !defined(__ANDROID__) && !defined(__APPLE__) - EXPECT_EQ("http://a.tiles.mapbox.com/mapbox.satellite/{z}-{x}-{y}{ratio}.webp?access_token=key", result->tiles[0]); + EXPECT_EQ("mapbox://tiles/mapbox.satellite/{z}/{x}/{y}{ratio}.webp", result->tiles[0]); #else - EXPECT_EQ("http://a.tiles.mapbox.com/mapbox.satellite/{z}-{x}-{y}{ratio}.png?access_token=key", result->tiles[0]); + EXPECT_EQ("mapbox://tiles/mapbox.satellite/{z}/{x}/{y}{ratio}.png", result->tiles[0]); #endif } @@ -111,7 +111,7 @@ TEST(StyleParser, ParseTileJSONVector) { EXPECT_EQ(0, result->minZoom); EXPECT_EQ(15, result->maxZoom); EXPECT_EQ("attribution", result->attribution); - EXPECT_EQ("http://a.tiles.mapbox.com/mapbox.streets/{z}-{x}-{y}.vector.pbf?access_token=key", result->tiles[0]); + EXPECT_EQ("mapbox://tiles/mapbox.streets/{z}/{x}/{y}.vector.pbf", result->tiles[0]); } TEST(StyleParser, FontStacks) { |