summaryrefslogtreecommitdiff
path: root/test/storage/offline_download.test.cpp
diff options
context:
space:
mode:
authorHuyen Chau Nguyen <hello@chau-nguyen.de>2018-10-17 20:15:08 +0200
committerHuyen Chau Nguyen <hello@chau-nguyen.de>2018-10-22 15:02:53 +0200
commiteedf8cfc7ea4861326b18229cca2ca24d4183ad1 (patch)
tree6b049eb3a761be1ae6211e20dcb83f964247469e /test/storage/offline_download.test.cpp
parentdddef19fc2900d6a35bb4288fa34b303a7d8edb6 (diff)
downloadqtlocation-mapboxgl-eedf8cfc7ea4861326b18229cca2ca24d4183ad1.tar.gz
[core] add tests for handling requests with different prioritiesupstream/deprioritize_offline_downloads
- ensure that low priority requests are handled last - add option to set the number of maximum concurrent requests for tests - some style fixups
Diffstat (limited to 'test/storage/offline_download.test.cpp')
-rw-r--r--test/storage/offline_download.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/storage/offline_download.test.cpp b/test/storage/offline_download.test.cpp
index 01baf29592..4db807a204 100644
--- a/test/storage/offline_download.test.cpp
+++ b/test/storage/offline_download.test.cpp
@@ -663,7 +663,7 @@ TEST(OfflineDownload, Deactivate) {
}
-TEST(OfflineDownload, LowPriorityRequests) {
+TEST(OfflineDownload, AllOfflineRequestsHaveLowPriority) {
OfflineTest test;
auto region = test.createRegion();
ASSERT_TRUE(region);