diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2019-09-17 09:16:05 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2019-09-17 09:21:56 +0200 |
commit | 639800ccfe85daecd4432f8b7f64b258e7d2e6dc (patch) | |
tree | b6e6c38394e4bbd5bbaf1eac47893a28e9ab4b46 | |
parent | a2e48c7e2a039b7eeeca9d35757e071e8c74605d (diff) |
Remove test cases using oauthbin.com
It is no longer available
Change-Id: Ia7bba0dec1040f5e00f22ddaa9819b63f4f27d9e
Reviewed-by: Jesus Fernandez <jsfdez@gmail.com>
-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() |