WinRT: Fix various test compilations winrt
authorAndrew Knight <andrew.knight@digia.com>
Sun, 1 Sep 2013 16:05:46 +0000 (19:05 +0300)
committerOliver Wolff <oliver.wolff@digia.com>
Mon, 2 Sep 2013 11:43:19 +0000 (13:43 +0200)
commit06c1ec4dd1df6e0bc417241bd15f164b38de87b3
tree0b29ca3d73bcdf22664cd6e63703258de7bfa565
parentce65e5ef6fd1da5de952b9491942083aedeacd40
WinRT: Fix various test compilations

- Remove irrelevant test subdirs via .pro files
- Follow WinCE codepaths where applicable
- Replace unsupported Win32 APIs with WinRT equivalents

This does not aim to fix any failures in the tests themselves; it only
makes them compile.

Change-Id: Ia82bc0cc402891f8f6238d4c261ee9152b51be80
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
44 files changed:
tests/auto/corelib/io/io.pro
tests/auto/corelib/io/qfile/test/test.pro
tests/auto/corelib/io/qfile/tst_qfile.cpp
tests/auto/corelib/io/qfileinfo/qfileinfo.pro
tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp
tests/auto/corelib/io/qsettings/tst_qsettings.cpp
tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp
tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp
tests/auto/corelib/kernel/kernel.pro
tests/auto/corelib/kernel/qeventloop/qeventloop.pro
tests/auto/corelib/kernel/qmetatype/qmetatype.pro
tests/auto/corelib/thread/qreadwritelock/tst_qreadwritelock.cpp
tests/auto/corelib/thread/qthreadstorage/tst_qthreadstorage.cpp
tests/auto/corelib/tools/qdatetime/tst_qdatetime.cpp
tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
tests/auto/gui/image/qpixmap/qpixmap.pro
tests/auto/gui/image/qpixmap/tst_qpixmap.cpp
tests/auto/network/kernel/qhostaddress/tst_qhostaddress.cpp
tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp
tests/auto/sql/kernel/qsqldatabase/tst_databases.h
tests/auto/testlib/selftests/crashes/tst_crashes.cpp
tests/auto/widgets/dialogs/qfilesystemmodel/tst_qfilesystemmodel.cpp
tests/auto/widgets/graphicsview/qgraphicsitem/qgraphicsitem.pro
tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp
tests/auto/widgets/graphicsview/qgraphicsscene/qgraphicsscene.pro
tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
tests/auto/widgets/itemviews/qitemdelegate/qitemdelegate.pro
tests/auto/widgets/itemviews/qitemdelegate/tst_qitemdelegate.cpp
tests/auto/widgets/itemviews/qlistview/qlistview.pro
tests/auto/widgets/itemviews/qlistview/tst_qlistview.cpp
tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
tests/auto/widgets/kernel/qwidget/qwidget.pro
tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
tests/auto/widgets/widgets/qdatetimeedit/tst_qdatetimeedit.cpp
tests/auto/widgets/widgets/qtabwidget/qtabwidget.pro
tests/auto/widgets/widgets/qtabwidget/tst_qtabwidget.cpp
tests/baselineserver/shared/baselineprotocol.cpp
tests/benchmarks/corelib/io/qdir/10000/bench_qdir_10000.cpp
tests/benchmarks/corelib/io/qdiriterator/main.cpp
tests/benchmarks/corelib/io/qdiriterator/qfilesystemiterator.cpp
tests/benchmarks/corelib/io/qfile/main.cpp
tests/benchmarks/corelib/io/qfileinfo/main.cpp
tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp
tests/shared/filesystem.h