summaryrefslogtreecommitdiff
path: root/test/storage/http_timeout.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-12-23 14:55:12 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-12-23 14:55:12 -0800
commit7a6076ea9df72f34565d8f316f8c5c19279677b8 (patch)
tree0018a698e9fa97273c5b515b71ccf0b8f7398253 /test/storage/http_timeout.cpp
parentd238e00d9b1e78e98392ac2cab30f8a2fcd3c1fd (diff)
downloadqtlocation-mapboxgl-7a6076ea9df72f34565d8f316f8c5c19279677b8.tar.gz
[tests] Test with OnlineFileSource
When we introduce OfflineFileSource, the behavior of existing tests should not change.
Diffstat (limited to 'test/storage/http_timeout.cpp')
-rw-r--r--test/storage/http_timeout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/storage/http_timeout.cpp b/test/storage/http_timeout.cpp
index 26ce0f5c3a..241d5f5549 100644
--- a/test/storage/http_timeout.cpp
+++ b/test/storage/http_timeout.cpp
@@ -1,6 +1,6 @@
#include "storage.hpp"
-#include <mbgl/storage/default_file_source.hpp>
+#include <mbgl/storage/online_file_source.hpp>
#include <mbgl/storage/network_status.hpp>
#include <mbgl/util/chrono.hpp>
#include <mbgl/util/run_loop.hpp>
@@ -11,7 +11,7 @@ TEST_F(Storage, HTTPTimeout) {
using namespace mbgl;
util::RunLoop loop;
- DefaultFileSource fs(nullptr);
+ OnlineFileSource fs(nullptr);
int counter = 0;