diff options
Diffstat (limited to 'test/fixtures/util.hpp')
-rw-r--r-- | test/fixtures/util.hpp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/test/fixtures/util.hpp b/test/fixtures/util.hpp index 8dc02eb054..71f7c2a4b3 100644 --- a/test/fixtures/util.hpp +++ b/test/fixtures/util.hpp @@ -16,19 +16,25 @@ } name; namespace mbgl { - + class Map; - + namespace test { - + std::string getFileSourceRoot(); -pid_t startServer(const char *executable); -void stopServer(pid_t pid); +class Server { +public: + Server(const char* executable); + ~Server(); + +private: + int fd = -1; +}; uint64_t crc64(const char*, size_t); uint64_t crc64(const std::string&); - + PremultipliedImage render(Map&); void checkImage(const std::string& base, |