diff options
author | Sami Merilä <sami.merila@nokia.com> | 2009-05-05 12:15:17 (GMT) |
---|---|---|
committer | Sami Merilä <sami.merila@nokia.com> | 2009-05-05 12:15:17 (GMT) |
commit | 5791fde8526afc49cdbeee080ead9e8a305e3cd5 (patch) | |
tree | cda5018b0e0a3fab6f9d4757f80cffdec566b980 | |
parent | 649b31e1222f551021739f71a5cc468f7df80e1c (diff) | |
parent | a3d08c254820f0d57e72929ddbd2d1b572060fe7 (diff) | |
download | Qt-5791fde8526afc49cdbeee080ead9e8a305e3cd5.zip Qt-5791fde8526afc49cdbeee080ead9e8a305e3cd5.tar.gz Qt-5791fde8526afc49cdbeee080ead9e8a305e3cd5.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
-rw-r--r-- | src/gui/painting/qbackingstore.cpp | 5 | ||||
-rw-r--r-- | src/testlib/qtestnetworkservers.h | 86 | ||||
-rw-r--r-- | tests/auto/qiodevice/tst_qiodevice.cpp | 2 |
3 files changed, 1 insertions, 92 deletions
diff --git a/src/gui/painting/qbackingstore.cpp b/src/gui/painting/qbackingstore.cpp index b533409..fbac811a 100644 --- a/src/gui/painting/qbackingstore.cpp +++ b/src/gui/painting/qbackingstore.cpp @@ -61,11 +61,6 @@ #include <private/qwsmanager_p.h> #endif -#ifdef Q_WS_S60 -#include <unistd.h> // For usleep -#include <qt_s60_p.h> -#endif - QT_BEGIN_NAMESPACE extern QRegion qt_dirtyRegion(QWidget *); diff --git a/src/testlib/qtestnetworkservers.h b/src/testlib/qtestnetworkservers.h deleted file mode 100644 index 4b11f27..0000000 --- a/src/testlib/qtestnetworkservers.h +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies). -** Contact: Qt Software Information (qt-info@nokia.com) -** -** This file is part of the $MODULE$ of the Qt Toolkit. -** -** $TROLLTECH_DUAL_LICENSE$ -** -****************************************************************************/ - -#ifndef QT_TESTNETWORKSERVERS_H -#define QT_TESTNETWORKSERVERS_H - -#if defined(Q_OS_SYMBIAN) && !defined(Q_CC_NOKIAX86) -#define FTP_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define FTP_TEST_SERVER_IP_1 "10.215.7.68" -#define FTPPROXY_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define PROXY_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define SOCKS5PROXY_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define HTTPPROXY_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define HTTP_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define HTTPS_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define NTLM_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define UDP_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define TCP_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define SSH_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define ECHO_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define DAYTIME_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define WILDCARD_TEST_SERVER_NAME_1 "netiks.wildcard.dev.troll.no" -#define WILDCARD_TEST_SERVER_NAME_2 "netiks.*.troll.no" -#define DOMAIN_TEST_SERVER_NAME_1 ".troll.no" -#define DOMAIN_TEST_SERVER_NAME_2 "troll.no" -#define INTERN_TEST_SERVER_NAME_1 "intern.nokia.troll.no" -#define HOSTLOOKUP_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define HOSTLOOKUP_TEST_SERVER_IP "10.215.7.68" -#else -#define FTP_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define FTP_TEST_SERVER_IP_1 "10.215.7.68" -#define FTPPROXY_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define PROXY_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define SOCKS5PROXY_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define HTTPPROXY_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define HTTP_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define HTTPS_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define NTLM_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define UDP_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define TCP_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define SSH_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define ECHO_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define DAYTIME_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define WILDCARD_TEST_SERVER_NAME_1 "aspiriniks.wildcard.dev.europe.nokia.com" -#define WILDCARD_TEST_SERVER_NAME_2 "netiks.*.troll.no" -#define INTERN_TEST_SERVER_NAME_1 "intern.nokia.troll.no" -#define DOMAIN_TEST_SERVER_NAME_1 ".europe.nokia.com" -#define DOMAIN_TEST_SERVER_NAME_2 "europe.nokia.com" -#define HOSTLOOKUP_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define HOSTLOOKUP_TEST_SERVER_IP "10.215.7.68" -#endif - -#define FTPS_TEST_SERVER_NAME_1 "aspiriniks.troll.no" -#define FOO_TEST_SERVER_NAME_1 HOSTWILLNEVEREXIST_TEST_SERVER_NAME_1 -#define LOCALHOST_TEST_SERVER_NAME_1 "localhost" -#define HTTP_TEST_SERVER_NAME_4 "www.ietf.org" -#define NONEXISTING_TEST_SERVER_NAME_1 "this-host-will-never-exist.troll.no" -#define NONEXISTING_TEST_SERVER_NAME_2 "fluke-nosuchhost.troll.no" -#define NOSUCH_TEST_SERVER_NAME_1 "nosuchserver.troll.no" -#define IMAP_TEST_SERVER_NAME_1 "fluke.troll.no" -#define IMAP_TEST_SERVER_NAME_2 "imap.troll.no" -#define IMAP_TEST_SERVER_NAME_3 "imap.trolltech.com" -#define IMAPS_TEST_SERVER_NAME_1 "fluke.troll.no" -#define HOSTNOTFOUND_TEST_SERVER_NAME_1 "hostnotfoundhostnotfound.troll.no" -#define TIMEOUT_TEST_SERVER_NAME_1 "cisco.com" -#define UMA_TEST_SERVER_NAME_1 "fluke.troll.no" -#define HOSTWILLNEVEREXIST_TEST_SERVER_NAME_1 "this-host-will-never-exist.troll.no" - -#define QBYTEARRAY_DEBUG(ba, maxsize)\ - printf( "ByteArray content (%d/%d bytes):\n", ba.size() <= maxsize ? ba.size() : maxsize , ba.size() ); \ - printf( "===========================================================================\n" ); \ - printf( ba.mid( 0, ba.size() <= maxsize ? ba.size() : maxsize ).constData() ); \ - printf( "\n==========================================================================\n" ); - - -static const char *IFNAME = "Lab"; - -#endif // QT_TESTNETWORKSERVERS_H diff --git a/tests/auto/qiodevice/tst_qiodevice.cpp b/tests/auto/qiodevice/tst_qiodevice.cpp index f55c659..38eac55 100644 --- a/tests/auto/qiodevice/tst_qiodevice.cpp +++ b/tests/auto/qiodevice/tst_qiodevice.cpp @@ -124,7 +124,7 @@ void tst_QIODevice::constructing_QTcpSocket() QVERIFY(!device->isOpen()); - socket.connectToHost(FTP_TEST_SERVER_NAME_1, 21); + socket.connectToHost(QtNetworkSettings::serverName(), 21); QVERIFY(socket.waitForConnected(5000)); QVERIFY(device->isOpen()); |