summaryrefslogtreecommitdiff
path: root/render-test/runner.cpp
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/runner.cpp
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/runner.cpp')
-rw-r--r--render-test/runner.cpp9
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))};