diff --git a/test/fixtures/styles/1.actual.png b/test/fixtures/styles/1.actual.png new file mode 100644 index 000000000..d34c46a6c Binary files /dev/null and b/test/fixtures/styles/1.actual.png differ diff --git a/test/fixtures/styles/1.expected.png b/test/fixtures/styles/1.expected.png new file mode 100644 index 000000000..d34c46a6c Binary files /dev/null and b/test/fixtures/styles/1.expected.png differ diff --git a/test/fixtures/styles/1.info.json b/test/fixtures/styles/1.info.json new file mode 100644 index 000000000..3501d30ed --- /dev/null +++ b/test/fixtures/styles/1.info.json @@ -0,0 +1,8 @@ +{ + "zoom": 0, + "latitude": 0, + "longitude": 0, + "angle": 0, + "width": 512, + "height": 512 +} diff --git a/test/fixtures/styles/1.style.json b/test/fixtures/styles/1.style.json new file mode 100644 index 000000000..d35c4bc0f --- /dev/null +++ b/test/fixtures/styles/1.style.json @@ -0,0 +1,33 @@ +{ + "version": 3, + "sources": { + "mapbox": { + "type": "vector", + "url": "tiles/%d-%d-%d.vector.pbf", + "tileSize": 512, + "maxZoom": 14 + } + }, + "layers": [ + { + "id": "background", + "render": { + "type": "background" + }, + "style": { + "background-color": "red" + } + }, + { + "id": "water", + "source": "mapbox", + "source-layer": "water", + "render": { + "type": "fill" + }, + "style": { + "fill-color": "blue" + } + } + ] +} diff --git a/test/headless.cpp b/test/headless.cpp index 2428b1a2f..0ed6e0a09 100644 --- a/test/headless.cpp +++ b/test/headless.cpp @@ -67,4 +67,4 @@ TEST_P(HeadlessTest, render) { } INSTANTIATE_TEST_CASE_P(Headless, HeadlessTest, - ::testing::Values("0")); + ::testing::Values("0", "1"));