[tests] Mark some tests as requiring server

Otherwise they will fail on iOS with connection error.

Fixex #4434
This commit is contained in:
Thiago Marcos P. Santos
2016-03-23 10:09:35 -03:00
committed by John Firebaugh
parent e7c41bb7ca
commit f854368f29
3 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;