Fix domain in manual test qhttpnetworkconnection.

Task-number: QTBUG-32390

Change-Id: Ic56640087d1f07edeca5f5fc36acac9dddc79c73
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
This commit is contained in:
Friedemann Kleint 2013-07-12 10:47:58 +02:00 committed by The Qt Project
parent b72a32b05d
commit 7e7c689c34

View File

@ -55,15 +55,17 @@ private slots:
};
const char urlC[] = "http://download.qt-project.org/official_releases/online_installers/qt-linux-opensource-1.4.0-x86-online.run";
void tst_qhttpnetworkconnection::bigRemoteFile()
{
QNetworkAccessManager manager;
qint64 size;
QTime t;
QNetworkRequest request(QUrl("http://nds1.nokia.com/files/support/global/phones/software/Nokia_Ovi_Suite_webinstaller.exe"));
QNetworkRequest request(QUrl(QString::fromLatin1(urlC)));
QNetworkReply* reply = manager.get(request);
connect(reply, SIGNAL(finished()), &QTestEventLoop::instance(), SLOT(exitLoop()), Qt::QueuedConnection);
qDebug() << "Starting download";
qDebug() << "Starting download" << urlC;
t.start();
QTestEventLoop::instance().enterLoop(50);
QVERIFY(!QTestEventLoop::instance().timeout());