diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-09-17 09:56:35 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-09-17 09:56:58 +0200 |
commit | 26c83ec466d67e7b51763f47d42795629dea4e24 (patch) | |
tree | 8e310d2260d04bee27078cc45a44c081d103f7b2 /tests | |
parent | 272ea7f508d8ee30311c08c07c6e0501f17338c2 (diff) | |
parent | 639800ccfe85daecd4432f8b7f64b258e7d2e6dc (diff) |
Merge remote-tracking branch 'origin/5.13' into 5.14
Change-Id: I4fc22d12fb31adb080d58e0791d79a133b416e24
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() |