diff options
author | Kurt Korbatits <kurt.korbatits@nokia.com> | 2012-02-14 11:46:03 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-17 08:25:10 +0100 |
commit | d0759e348dd4d49b2e7e3907776406e93374ea40 (patch) | |
tree | ea7d8f8ab7f794d53862fa876532f2ec06c5fde4 /tests/auto/network/access/qnetworkreply/echo | |
parent | c08fb806bb75db7b7b71103e47d5c6c3287ad011 (diff) |
Changed qnetworkreply unittest to work from install directory
- made subdir test depend on echo
- remove SRCDIR and changed to use TESTDATA and QFINDTESTDATA
- added waitForFinish() to handle slow networks
- removed core module header from echo subprogram and replaced
with needed header only
- Added ipv6 skip to connectToIPV6Address() if not available
- Added check QT_BUILD_INTERNAL and skip tests if backend
not available
- Skip permission tests if run as root
- Removed win32 debug and release directory locations so that
application is in known location relative to test data
Change-Id: I58c3c2fca3cd2fee72fdb81d016bb4fd7fe08ac2
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/network/access/qnetworkreply/echo')
-rw-r--r-- | tests/auto/network/access/qnetworkreply/echo/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/network/access/qnetworkreply/echo/main.cpp b/tests/auto/network/access/qnetworkreply/echo/main.cpp index 8e6811d2ff..90217e4923 100644 --- a/tests/auto/network/access/qnetworkreply/echo/main.cpp +++ b/tests/auto/network/access/qnetworkreply/echo/main.cpp @@ -39,8 +39,7 @@ ** ****************************************************************************/ - -#include <QtCore> +#include <QtCore/QFile> int main(int argc, char **) { |