Linux tests + coverage report with Bazel (#1139)

This commit is contained in:
Bart Louwers
2023-05-15 19:42:30 +02:00
committed by GitHub
parent 4ebb7c59dc
commit 824199f25a
14 changed files with 556 additions and 324 deletions

View File

@@ -7,6 +7,7 @@
#include <mbgl/test/map_adapter.hpp>
#include <mbgl/util/io.hpp>
#include <mbgl/util/run_loop.hpp>
#include <stdexcept>
#include <unordered_map>
#include <gtest/gtest.h>
@@ -34,6 +35,14 @@ public:
assets.emplace(key, std::make_shared<std::string>(data));
};
virtual void setResourceOptions(ResourceOptions _) override { throw std::runtime_error("Not implemented"); }
virtual ResourceOptions getResourceOptions() override { throw std::runtime_error("Not implemented"); }
virtual void setClientOptions(ClientOptions) override { throw std::runtime_error("Not implemented"); }
virtual ClientOptions getClientOptions() { throw std::runtime_error("Not implemented"); }
private:
std::unordered_map<std::string, std::shared_ptr<std::string>> assets;
};