diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-09-19 14:26:28 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-09-19 14:26:28 +0200 |
commit | e31ed2abc236f0c92ede9e1dd5ad6ecd53cc26f4 (patch) | |
tree | 668aea95cb941f1b88670d74e32ab482e97bb960 /tests | |
parent | 316db244bd6eccd53b8857c1a260f1c7646095a6 (diff) | |
parent | 9226e90f4a39cfbaff5db05cb0360681acfa76b9 (diff) |
Merge remote-tracking branch 'origin/5.14' into wip/cmake
Change-Id: I692753cbb1f23d73b1f2280f8f36242e1780a299
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/oauth1/tst_oauth1.cpp | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/tests/auto/oauth1/tst_oauth1.cpp b/tests/auto/oauth1/tst_oauth1.cpp index eb13420..10da4f9 100644 --- a/tests/auto/oauth1/tst_oauth1.cpp +++ b/tests/auto/oauth1/tst_oauth1.cpp @@ -637,28 +637,6 @@ void tst_OAuth1::grant_data() << QUrl("http://term.ie/oauth/example/echo_api.php") << QNetworkAccessManager::PostOperation; } - if (hostReachable(QLatin1String("oauthbin.com"))) { - QTest::newRow("oauthbin.com_get") << "key" - << "secret" - << "requestkey" - << "requestsecret" - << "accesskey" - << "accesssecret" - << QUrl("http://oauthbin.com/v1/request-token") - << QUrl("http://oauthbin.com/v1/access-token") - << QUrl("http://oauthbin.com/v1/echo") - << QNetworkAccessManager::GetOperation; - QTest::newRow("oauthbin.com_post") << "key" - << "secret" - << "requestkey" - << "requestsecret" - << "accesskey" - << "accesssecret" - << QUrl("http://oauthbin.com/v1/request-token") - << QUrl("http://oauthbin.com/v1/access-token") - << QUrl("http://oauthbin.com/v1/echo") - << QNetworkAccessManager::PostOperation; - } } void tst_OAuth1::grant() @@ -762,30 +740,6 @@ void tst_OAuth1::authenticatedCalls_data() << parameters << QNetworkAccessManager::GetOperation; } - if (hostReachable(QLatin1String("oauthbin.com"))) { - QTest::newRow("oauthbin.com_get") << "key" - << "secret" - << "accesskey" - << "accesssecret" - << QUrl("http://oauthbin.com/v1/echo") - << parameters - << QNetworkAccessManager::GetOperation; - QTest::newRow("oauthbin.com_post") << "key" - << "secret" - << "accesskey" - << "accesssecret" - << QUrl("http://oauthbin.com/v1/echo") - << parameters - << QNetworkAccessManager::PostOperation; - QTest::newRow("oauthbin.com_percent_encoded_query") - << "key" - << "secret" - << "accesskey" - << "accesssecret" - << QUrl("http://oauthbin.com/v1/echo?key=%40value+1%2B2=3") - << parameters - << QNetworkAccessManager::GetOperation; - } } void tst_OAuth1::authenticatedCalls() @@ -879,37 +833,6 @@ void tst_OAuth1::prepareRequestCalls_data() << parameters << QByteArray("GET"); } - if (hostReachable(QLatin1String("oauthbin.com"))) { - QTest::newRow("oauthbin.com_get") << "key" - << "secret" - << "accesskey" - << "accesssecret" - << QUrl("http://oauthbin.com/v1/echo") - << parameters - << QByteArray("GET"); - QTest::newRow("oauthbin.com_post") << "key" - << "secret" - << "accesskey" - << "accesssecret" - << QUrl("http://oauthbin.com/v1/echo") - << parameters - << QByteArray("POST"); - QTest::newRow("oauthbin.com_percent_encoded_query") - << "key" - << "secret" - << "accesskey" - << "accesssecret" - << QUrl("http://oauthbin.com/v1/echo?key=%40value+1%2B2=3") - << parameters - << QByteArray("GET"); - QTest::newRow("oauthbin.com_patch") << "key" - << "secret" - << "accesskey" - << "accesssecret" - << QUrl("http://oauthbin.com/v1/echo") - << parameters - << QByteArray("PATCH"); - } } void tst_OAuth1::prepareRequestCalls() |