diff options
Diffstat (limited to 'render-test/runner.hpp')
-rw-r--r-- | render-test/runner.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/render-test/runner.hpp b/render-test/runner.hpp index 6aba2d2391..3efd17bf1e 100644 --- a/render-test/runner.hpp +++ b/render-test/runner.hpp @@ -4,6 +4,7 @@ #include <mbgl/map/map.hpp> #include <memory> +#include <string> class TestRunnerMapObserver; struct TestMetadata; @@ -11,13 +12,10 @@ struct TestMetadata; class TestRunner { public: TestRunner() = default; - + explicit TestRunner(const std::string& testRootPath); bool run(TestMetadata&); void reset(); - /// Returns path of the render tests root directory. - static const std::string& getBasePath(); - private: bool runOperations(const std::string& key, TestMetadata&); bool checkQueryTestResults(mbgl::PremultipliedImage&& actualImage, @@ -34,4 +32,5 @@ private: mbgl::Map map; }; std::unordered_map<std::string, std::unique_ptr<Impl>> maps; -};
\ No newline at end of file + std::string testRootPath{TEST_RUNNER_ROOT_PATH}; +}; |