blob: 91f21107ad747b2033b51fd91cb0393abb319edc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "storage.hpp"
#include <mbgl/platform/platform.hpp>
std::unique_ptr<mbgl::test::Server> Storage::server;
void Storage::SetUpTestCase() {
const auto program = mbgl::platform::applicationRoot() + "/TEST_DATA/storage/server.js";
server = std::make_unique<mbgl::test::Server>(program.c_str());
}
void Storage::TearDownTestCase() {
server.reset();
}
|