qt5base-lts/tests/auto
João Abecasis fd61059d35 Fix QTemporaryFile regressions and new found issues
With this change, the file template is always processed in original
QString format. Trying to generate native paths before adding a missing
placeholder mask could change the meaning of templates, such as "." and
"..", which are now tested to mean "..XXXXXX" and "...XXXXXX",
respectively.

After ensuring the template includes a placeholder mask, the path is
converted to a native *absolute* file path and the mask is sought for
again. On Windows, native paths were already absolute. On Symbian, we'd
need at least a clean path, as "." and ",," are not natively understood.

There is a requirement that the placeholder mask /XXXXXX+/ makes it
through this conversion unaltered, which relaxes prior requirements on
*nix platforms. On Windows and Symbian the conversion is under Qt's
control and not user-configurable.

Reviewed-by: Shane Kearns
(cherry picked from commit 401722ef9e6fe79bd41f9d5f79668f5c4997c8e6)

Conflicts:

	tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp

Change-Id: Iac823881c865adf0931dc4f429c6c1ef135eeb56
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
2011-10-21 22:20:42 +02:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove uilib and QtUiTools from QtBase 2011-09-13 20:11:40 +02:00
corelib Fix QTemporaryFile regressions and new found issues 2011-10-21 22:20:42 +02:00
dbus Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
gui Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
integrationtests Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
network Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
opengl Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
other Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qmetaobjectbuilder add qmetaobjectbuilder to qtbase. 2011-10-11 07:02:14 +02:00
qobjectperformance Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qobjectrace Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
qopengl Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qscreen Move QTRY_VERIFY/QTRY_COMPARE into testlib. 2011-10-19 07:23:44 +02:00
qsslsocket_onDemandCertificates_member Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
qsslsocket_onDemandCertificates_static Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
qtransformedscreen Avoid building empty, inapplicable QWS tests. 2011-10-12 18:01:19 +02:00
qwindow Move QTRY_VERIFY/QTRY_COMPARE into testlib. 2011-10-19 07:23:44 +02:00
qwindowsurface Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qwsembedwidget Avoid building empty, inapplicable QWS tests. 2011-10-12 18:01:19 +02:00
qwsinputmethod Avoid building empty, inapplicable QWS tests. 2011-10-12 18:01:19 +02:00
qwswindowsystem Avoid building empty, inapplicable QWS tests. 2011-10-12 18:01:19 +02:00
qx11info Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
sql Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
testlib Remove QTest::SkipMode from qtestlib API. 2011-10-21 01:20:29 +02:00
tools Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
utf8 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
v8 Revert "Update V8" 2011-10-20 13:30:26 +02:00
widgets Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
xml Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
auto.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
corelib.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
gui.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
host.pro Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
network-settings.h Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
network.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
other.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
platformquirks.h Remove last remnants of Maemo 5 from autotests 2011-10-06 01:28:01 +02:00
qtextbrowser.html Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
test.pl Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
v8.pro Make sure tests/auto/v8.pro doesn't clobber auto.pro 2011-08-31 01:17:39 +02:00