diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-10-17 20:13:45 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-10-21 16:10:45 +0300 |
commit | b03982730e6c02dcc166a609bf4b8fd17b3cf01d (patch) | |
tree | c900a916364eb8c7275112869b6afede725c2132 /render-test/runner.cpp | |
parent | eb3c203d4ed65a91b818c42876bf2f23784aa9c5 (diff) | |
download | qtlocation-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/runner.cpp')
-rw-r--r-- | render-test/runner.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/render-test/runner.cpp b/render-test/runner.cpp index 651361994a..0464fd861a 100644 --- a/render-test/runner.cpp +++ b/render-test/runner.cpp @@ -39,15 +39,6 @@ const std::string& TestRunner::getBasePath() { return result; } -// static -const std::vector<std::string>& TestRunner::getPlatformExpectationsPaths() { - // TODO: Populate from command line. - const static std::vector<std::string> result { - std::string(TEST_RUNNER_ROOT_PATH).append("/render-test/expected") - }; - return result; -} - std::string simpleDiff(const Value& result, const Value& expected) { std::vector<std::string> resultTokens{tokenize(toJSON(result, 2, false))}; std::vector<std::string> expectedTokens{tokenize(toJSON(expected, 2, false))}; |