summaryrefslogtreecommitdiff
path: root/render-test/runner.hpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-12-12 09:34:35 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-12-13 15:34:06 +0200
commit426f714c04f563c892f35e0f5dfd97137dc977d9 (patch)
tree44376265421b19665aeff4cdbe2fbf852ac75c2d /render-test/runner.hpp
parent4a30f7469994dc29e5fd790952f8a16e7caab9f9 (diff)
downloadqtlocation-mapboxgl-426f714c04f563c892f35e0f5dfd97137dc977d9.tar.gz
[test runner] Introduce TestOperation
Diffstat (limited to 'render-test/runner.hpp')
-rw-r--r--render-test/runner.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/render-test/runner.hpp b/render-test/runner.hpp
index d278d90ec4..7076cdfd78 100644
--- a/render-test/runner.hpp
+++ b/render-test/runner.hpp
@@ -26,6 +26,8 @@ protected:
virtual ~TestContext() = default;
};
+using TestOperation = std::function<bool(TestContext&)>;
+
class TestRunner {
public:
enum class UpdateResults { NO, DEFAULT, PLATFORM, METRICS, REBASELINE };