summaryrefslogtreecommitdiff
path: root/render-test/metadata.hpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-10-17 20:13:45 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-10-21 16:10:45 +0300
commitb03982730e6c02dcc166a609bf4b8fd17b3cf01d (patch)
treec900a916364eb8c7275112869b6afede725c2132 /render-test/metadata.hpp
parenteb3c203d4ed65a91b818c42876bf2f23784aa9c5 (diff)
downloadqtlocation-mapboxgl-b03982730e6c02dcc166a609bf4b8fd17b3cf01d.tar.gz
[test runner] Command line option for the tests expectations path
-e[expectationsPath], --expectationsPath=[expectationsPath] Test expectations path.
Diffstat (limited to 'render-test/metadata.hpp')
-rw-r--r--render-test/metadata.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/render-test/metadata.hpp b/render-test/metadata.hpp
index 20cc440fd4..1d5a346f22 100644
--- a/render-test/metadata.hpp
+++ b/render-test/metadata.hpp
@@ -22,6 +22,10 @@ struct TestStatistics {
};
struct TestPaths {
+ TestPaths() = default;
+ TestPaths(mbgl::filesystem::path stylePath_, std::vector<mbgl::filesystem::path> expectations_)
+ : stylePath(std::move(stylePath_)), expectations(std::move(expectations_)) {}
+
mbgl::filesystem::path stylePath;
std::vector<mbgl::filesystem::path> expectations;