summaryrefslogtreecommitdiff
path: root/test/style/source.test.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-04-27 15:05:11 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-05-04 07:29:08 -0700
commit89f1ffc6d29d5631dfd322834397ec2247c5c9d7 (patch)
tree277bd6ca61cbecaa9c659273992da2abbe9a431e /test/style/source.test.cpp
parent806da5d940aed7021f921ab98b9ae8e4e364f732 (diff)
downloadqtlocation-mapboxgl-89f1ffc6d29d5631dfd322834397ec2247c5c9d7.tar.gz
[core] UpdateParameters ⇢ TileParameters
Diffstat (limited to 'test/style/source.test.cpp')
-rw-r--r--test/style/source.test.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp
index a651fd8964..c60a473589 100644
--- a/test/style/source.test.cpp
+++ b/test/style/source.test.cpp
@@ -11,6 +11,7 @@
#include <mbgl/renderer/sources/render_raster_source.hpp>
#include <mbgl/renderer/sources/render_vector_source.hpp>
#include <mbgl/renderer/sources/render_geojson_source.hpp>
+#include <mbgl/renderer/tile_parameters.hpp>
#include <mbgl/util/run_loop.hpp>
#include <mbgl/util/string.hpp>
@@ -23,7 +24,6 @@
#include <mbgl/map/transform.hpp>
#include <mbgl/style/style.hpp>
-#include <mbgl/renderer/update_parameters.hpp>
#include <mbgl/style/layers/line_layer.hpp>
#include <mbgl/annotation/annotation_manager.hpp>
#include <mbgl/annotation/annotation_source.hpp>
@@ -46,7 +46,7 @@ public:
AnnotationManager annotationManager { 1.0 };
style::Style style { threadPool, fileSource, 1.0 };
- UpdateParameters updateParameters {
+ TileParameters tileParameters {
1.0,
MapDebugOptions(),
transformState,
@@ -150,7 +150,7 @@ TEST(Source, RasterTileEmpty) {
RenderRasterSource renderSource(*source.impl);
renderSource.setObserver(&test.renderSourceObserver);
- renderSource.updateTiles(test.updateParameters);
+ renderSource.updateTiles(test.tileParameters);
test.run();
}
@@ -181,7 +181,7 @@ TEST(Source, VectorTileEmpty) {
RenderVectorSource renderSource(*source.impl);
renderSource.setObserver(&test.renderSourceObserver);
- renderSource.updateTiles(test.updateParameters);
+ renderSource.updateTiles(test.tileParameters);
test.run();
}
@@ -212,7 +212,7 @@ TEST(Source, RasterTileFail) {
RenderRasterSource renderSource(*source.impl);
renderSource.setObserver(&test.renderSourceObserver);
- renderSource.updateTiles(test.updateParameters);
+ renderSource.updateTiles(test.tileParameters);
test.run();
}
@@ -243,7 +243,7 @@ TEST(Source, VectorTileFail) {
RenderVectorSource renderSource(*source.impl);
renderSource.setObserver(&test.renderSourceObserver);
- renderSource.updateTiles(test.updateParameters);
+ renderSource.updateTiles(test.tileParameters);
test.run();
}
@@ -273,7 +273,7 @@ TEST(Source, RasterTileCorrupt) {
RenderRasterSource renderSource(*source.impl);
renderSource.setObserver(&test.renderSourceObserver);
- renderSource.updateTiles(test.updateParameters);
+ renderSource.updateTiles(test.tileParameters);
test.run();
}
@@ -307,7 +307,7 @@ TEST(Source, VectorTileCorrupt) {
RenderVectorSource renderSource(*source.impl);
renderSource.setObserver(&test.renderSourceObserver);
- renderSource.updateTiles(test.updateParameters);
+ renderSource.updateTiles(test.tileParameters);
test.run();
}
@@ -336,7 +336,7 @@ TEST(Source, RasterTileCancel) {
RenderRasterSource renderSource(*source.impl);
renderSource.setObserver(&test.renderSourceObserver);
- renderSource.updateTiles(test.updateParameters);
+ renderSource.updateTiles(test.tileParameters);
test.run();
}
@@ -365,7 +365,7 @@ TEST(Source, VectorTileCancel) {
RenderVectorSource renderSource(*source.impl);
renderSource.setObserver(&test.renderSourceObserver);
- renderSource.updateTiles(test.updateParameters);
+ renderSource.updateTiles(test.tileParameters);
test.run();
}
@@ -402,7 +402,7 @@ TEST(Source, RasterTileAttribution) {
source.baseImpl->loadDescription(test.fileSource);
RenderRasterSource renderSource(*source.impl);
- renderSource.updateTiles(test.updateParameters);
+ renderSource.updateTiles(test.tileParameters);
test.run();
}