summaryrefslogtreecommitdiff
path: root/render-test/metadata.hpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-08-14 17:07:00 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-08-16 16:25:59 +0300
commita1904e802c61e5b5a0cef8cc9de9bf7c2c617552 (patch)
treee5c71ef187ca93be40a8228b59295358261873bf /render-test/metadata.hpp
parent1165f62df6dd344d83f88a6396cfba153e9271f3 (diff)
downloadqtlocation-mapboxgl-a1904e802c61e5b5a0cef8cc9de9bf7c2c617552.tar.gz
[test-runner] Introduce mapbox-gl-native test expectations
The `mapbox-gl-native`-specific render tests expected results will be stored at the `render-test/expected/` subfolder. Test runner will automatically put new expected results there if invoked with `UPDATE=true`.
Diffstat (limited to 'render-test/metadata.hpp')
-rw-r--r--render-test/metadata.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/render-test/metadata.hpp b/render-test/metadata.hpp
index 4be83a5436..2f568359ab 100644
--- a/render-test/metadata.hpp
+++ b/render-test/metadata.hpp
@@ -17,10 +17,16 @@ struct TestStatistics {
uint32_t passedTests = 0;
};
+struct TestPaths {
+ mbgl::filesystem::path stylePath;
+ mbgl::filesystem::path defaultExpectations;
+ mbgl::filesystem::path platformExpectations;
+};
+
struct TestMetadata {
TestMetadata() = default;
- mbgl::filesystem::path path;
+ TestPaths paths;
mbgl::JSDocument document;
mbgl::Size size{ 512u, 512u };