summaryrefslogtreecommitdiff
path: root/test/storage
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-03-23 10:09:35 -0300
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-03-23 09:53:08 -0700
commitf854368f2906f89caa55cad150f3d86409ef9c0a (patch)
tree5b427698880a9964b1d0e5729c715a024cde0616 /test/storage
parente7c41bb7ca035c922cf5bab372350320468b5d45 (diff)
downloadqtlocation-mapboxgl-f854368f2906f89caa55cad150f3d86409ef9c0a.tar.gz
[tests] Mark some tests as requiring server
Otherwise they will fail on iOS with connection error. Fixex #4434
Diffstat (limited to 'test/storage')
-rw-r--r--test/storage/http_expires.cpp6
-rw-r--r--test/storage/http_reading.cpp2
-rw-r--r--test/storage/http_retry_network_status.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/test/storage/http_expires.cpp b/test/storage/http_expires.cpp
index 0a2f610e46..0d64d31049 100644
--- a/test/storage/http_expires.cpp
+++ b/test/storage/http_expires.cpp
@@ -6,7 +6,7 @@
#include <mbgl/util/run_loop.hpp>
#include <mbgl/util/timer.hpp>
-TEST_F(Storage, HTTPRetryDelayOnExpiredTile) {
+TEST_F(Storage, TEST_REQUIRES_SERVER(HTTPRetryDelayOnExpiredTile)) {
SCOPED_TEST(HTTPRetryDelayOnExpiredTile)
using namespace mbgl;
@@ -35,7 +35,7 @@ TEST_F(Storage, HTTPRetryDelayOnExpiredTile) {
HTTPRetryDelayOnExpiredTile.finish();
}
-TEST_F(Storage, HTTPRetryOnClockSkew) {
+TEST_F(Storage, TEST_REQUIRES_SERVER(HTTPRetryOnClockSkew)) {
SCOPED_TEST(HTTPRetryOnClockSkew)
using namespace mbgl;
@@ -69,7 +69,7 @@ TEST_F(Storage, HTTPRetryOnClockSkew) {
HTTPRetryOnClockSkew.finish();
}
-TEST_F(Storage, HTTPRespectPriorExpires) {
+TEST_F(Storage, TEST_REQUIRES_SERVER(HTTPRespectPriorExpires)) {
SCOPED_TEST(HTTPRespectPriorExpires)
using namespace mbgl;
diff --git a/test/storage/http_reading.cpp b/test/storage/http_reading.cpp
index 8e4dc4b0d5..607a5fd487 100644
--- a/test/storage/http_reading.cpp
+++ b/test/storage/http_reading.cpp
@@ -84,7 +84,7 @@ TEST_F(Storage, TEST_REQUIRES_SERVER(HTTPTile404)) {
loop.run();
}
-TEST_F(Storage, HTTP200EmptyData) {
+TEST_F(Storage, TEST_REQUIRES_SERVER(HTTP200EmptyData)) {
SCOPED_TEST(HTTP200EmptyData)
using namespace mbgl;
diff --git a/test/storage/http_retry_network_status.cpp b/test/storage/http_retry_network_status.cpp
index 9cf1971e72..34d0ecaf19 100644
--- a/test/storage/http_retry_network_status.cpp
+++ b/test/storage/http_retry_network_status.cpp
@@ -102,7 +102,7 @@ TEST_F(Storage, TEST_REQUIRES_SERVER(HTTPNetworkStatusChangePreempt)) {
loop.run();
}
-TEST_F(Storage, HTTPNetworkStatusOnlineOffline) {
+TEST_F(Storage, TEST_REQUIRES_SERVER(HTTPNetworkStatusOnlineOffline)) {
SCOPED_TEST(HTTPNetworkStatusOnlineOffline)
using namespace mbgl;