diff options
Diffstat (limited to 'tests/auto/oauth1/tst_oauth1.cpp')
-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() |