summaryrefslogtreecommitdiff
path: root/render-test/runner.hpp
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-11-26 11:54:08 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2019-11-27 16:43:33 +0200
commit2f8501043cb037234a5db82a2f32b49b29fdf8c8 (patch)
treebf662d30afa66b79aba4ec8afaaab0d8246c5e79 /render-test/runner.hpp
parentf10097640a8a62f9a139952844a75ac9b0b12543 (diff)
downloadqtlocation-mapboxgl-2f8501043cb037234a5db82a2f32b49b29fdf8c8.tar.gz
[test-runner] Move probe related command line args to manifest
- Move probe related command line arguments to manifest, example: "probes": ["probeGFX", "probeNetwork", "probeMemory"], "metric_path": "metrics/linux" - Use manifest file name as a postfix for a result page - Move injected probes 'begin' section before map object creation - Generalize artifact storing shell script
Diffstat (limited to 'render-test/runner.hpp')
-rw-r--r--render-test/runner.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/render-test/runner.hpp b/render-test/runner.hpp
index 5dd529f057..2503372602 100644
--- a/render-test/runner.hpp
+++ b/render-test/runner.hpp
@@ -15,7 +15,7 @@ struct TestMetadata;
class TestRunner {
public:
explicit TestRunner(Manifest);
- bool run(TestMetadata&, const std::set<std::string>&);
+ bool run(TestMetadata&);
void reset();
// Manifest
@@ -24,8 +24,8 @@ public:
private:
bool runOperations(const std::string& key, TestMetadata&, RunContext&);
- bool runInjectedProbesBegin(TestMetadata&, const std::set<std::string>&, RunContext&);
- bool runInjectedProbesEnd(TestMetadata&, const std::set<std::string>&, RunContext&, mbgl::gfx::RenderingStats);
+ bool runInjectedProbesBegin(TestMetadata&, RunContext&);
+ bool runInjectedProbesEnd(TestMetadata&, RunContext&, mbgl::gfx::RenderingStats);
bool checkQueryTestResults(mbgl::PremultipliedImage&& actualImage,
std::vector<mbgl::Feature>&& features,