summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-01-11 17:20:07 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-01-14 13:46:03 -0800
commit7fb5e973edbf546046defb67dd28f1275326319b (patch)
tree39240ab154af6919e15e6b1ebf52ed44f6cd6b99 /test
parentf9574e350c9634b5a4f9849fdfe66fbd84747b12 (diff)
downloadqtlocation-mapboxgl-7fb5e973edbf546046defb67dd28f1275326319b.tar.gz
[core] Eliminate FileCache interface
There is only one implementation and we're unlikely to add more.
Diffstat (limited to 'test')
-rw-r--r--test/storage/cache_response.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/storage/cache_response.cpp b/test/storage/cache_response.cpp
index b27f1caa9c..4f68edf0c4 100644
--- a/test/storage/cache_response.cpp
+++ b/test/storage/cache_response.cpp
@@ -66,7 +66,7 @@ TEST_F(Storage, CacheNotFound) {
// Insert existing data into the cache that will be marked as stale.
auto response = std::make_shared<Response>();
response->data = std::make_shared<const std::string>("existing data");
- cache.put(resource, response, FileCache::Hint::Full);
+ cache.put(resource, response, SQLiteCache::Hint::Full);
std::unique_ptr<FileRequest> req1;
std::unique_ptr<WorkRequest> req2;
@@ -124,7 +124,7 @@ TEST_F(Storage, DontCacheConnectionErrors) {
// Insert existing data into the cache that will be marked as stale.
auto response = std::make_shared<Response>();
response->data = std::make_shared<const std::string>("existing data");
- cache.put(resource, response, FileCache::Hint::Full);
+ cache.put(resource, response, SQLiteCache::Hint::Full);
std::unique_ptr<FileRequest> req1;
std::unique_ptr<WorkRequest> req2;
@@ -180,7 +180,7 @@ TEST_F(Storage, DontCacheServerErrors) {
// Insert existing data into the cache that will be marked as stale.
auto response = std::make_shared<Response>();
response->data = std::make_shared<const std::string>("existing data");
- cache.put(resource, response, FileCache::Hint::Full);
+ cache.put(resource, response, SQLiteCache::Hint::Full);
std::unique_ptr<FileRequest> req1;
std::unique_ptr<WorkRequest> req2;