summaryrefslogtreecommitdiff
path: root/render-test/runner.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'render-test/runner.hpp')
-rw-r--r--render-test/runner.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/render-test/runner.hpp b/render-test/runner.hpp
index cbc0f42546..920a9ee372 100644
--- a/render-test/runner.hpp
+++ b/render-test/runner.hpp
@@ -14,6 +14,11 @@ public:
bool run(TestMetadata&);
void reset();
+ /// Returns path of the render tests root directory.
+ static const std::string& getBasePath();
+ /// Returns path of mapbox-gl-native expectations directory.
+ static const std::string& getPlatformExpectationsPath();
+
private:
bool runOperations(const std::string& key, TestMetadata&);
bool checkImage(mbgl::PremultipliedImage&& image, TestMetadata&);