summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-02-08 14:20:34 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-02-10 15:40:20 -0800
commitc91b44b02f658548bdc70a625eb54d0ea86f6737 (patch)
tree4bcc7b0ef8f9ffd0ee87270da3fc07f912daf9a8 /test
parentc3c4c7b9a695ad1dbebe57242ba071103fe9a567 (diff)
downloadqtlocation-mapboxgl-c91b44b02f658548bdc70a625eb54d0ea86f6737.tar.gz
Add binary for smoke-testing offline downloads
Diffstat (limited to 'test')
-rw-r--r--test/storage/storage.hpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/storage/storage.hpp b/test/storage/storage.hpp
index a4bb1bfbb7..3dc13d0d9f 100644
--- a/test/storage/storage.hpp
+++ b/test/storage/storage.hpp
@@ -3,7 +3,6 @@
#include "../fixtures/util.hpp"
#include <mbgl/storage/response.hpp>
-#include <iostream>
#include <memory>
class Storage : public testing::Test {
@@ -15,20 +14,4 @@ protected:
static std::unique_ptr<mbgl::test::Server> server;
};
-namespace mbgl {
-
-inline std::ostream& operator<<(std::ostream& os, Response::Error::Reason r) {
- // Special case
- if (uint8_t(r) == 1) return os << "Response::Error::Reason::Success";
- switch (r) {
- case Response::Error::Reason::NotFound: return os << "Response::Error::Reason::NotFound";
- case Response::Error::Reason::Server: return os << "Response::Error::Reason::Server";
- case Response::Error::Reason::Connection: return os << "Response::Error::Reason::Connection";
- case Response::Error::Reason::Other: return os << "Response::Error::Reason::Other";
- default: return os << "<Unknown>";
- }
-}
-
-} // namespace mbgl
-
#endif