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

Commit

Permalink
[tests] Update tests because of changes in style::UpdateParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpsantos committed Jan 17, 2017
1 parent f2754f9 commit da4e126
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 5 additions & 1 deletion test/style/source.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class SourceTest {
ThreadPool threadPool { 1 };
AnnotationManager annotationManager { 1.0 };
style::Style style { fileSource, 1.0 };
uint32_t fixedPrefetchZoom = 0;
uint32_t dynamicPrefetchZoom = 0;

style::UpdateParameters updateParameters {
1.0,
Expand All @@ -43,7 +45,9 @@ class SourceTest {
fileSource,
MapMode::Continuous,
annotationManager,
style
style,
fixedPrefetchZoom,
dynamicPrefetchZoom
};

SourceTest() {
Expand Down
6 changes: 5 additions & 1 deletion test/tile/geojson_tile.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class GeoJSONTileTest {
AnnotationManager annotationManager { 1.0 };
style::Style style { fileSource, 1.0 };
Tileset tileset { { "https://example.com" }, { 0, 22 }, "none" };
uint32_t fixedPrefetchZoom = 0;
uint32_t dynamicPrefetchZoom = 0;

style::UpdateParameters updateParameters {
1.0,
Expand All @@ -35,7 +37,9 @@ class GeoJSONTileTest {
fileSource,
MapMode::Continuous,
annotationManager,
style
style,
fixedPrefetchZoom,
dynamicPrefetchZoom
};
};

Expand Down
6 changes: 5 additions & 1 deletion test/tile/raster_tile.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class RasterTileTest {
AnnotationManager annotationManager { 1.0 };
style::Style style { fileSource, 1.0 };
Tileset tileset { { "https://example.com" }, { 0, 22 }, "none" };
uint32_t fixedPrefetchZoom = 0;
uint32_t dynamicPrefetchZoom = 0;

style::UpdateParameters updateParameters {
1.0,
Expand All @@ -30,7 +32,9 @@ class RasterTileTest {
fileSource,
MapMode::Continuous,
annotationManager,
style
style,
fixedPrefetchZoom,
dynamicPrefetchZoom
};
};

Expand Down
6 changes: 5 additions & 1 deletion test/tile/vector_tile.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class VectorTileTest {
AnnotationManager annotationManager { 1.0 };
style::Style style { fileSource, 1.0 };
Tileset tileset { { "https://example.com" }, { 0, 22 }, "none" };
uint32_t fixedPrefetchZoom = 0;
uint32_t dynamicPrefetchZoom = 0;

style::UpdateParameters updateParameters {
1.0,
Expand All @@ -36,7 +38,9 @@ class VectorTileTest {
fileSource,
MapMode::Continuous,
annotationManager,
style
style,
fixedPrefetchZoom,
dynamicPrefetchZoom
};
};

Expand Down

0 comments on commit da4e126

Please sign in to comment.