qt5base-lts/tests/auto/corelib/io
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
..
qabstractfileengine Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qbuffer Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qdatastream Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qdebug Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qdir Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qdiriterator Avoid using QSKIP in lieu of compile-time checks 2011-10-05 03:04:31 +02:00
qfile Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qfileinfo Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qfilesystementry Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
qfilesystemwatcher Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qiodevice Avoid using QSKIP in lieu of compile-time checks 2011-10-05 03:04:31 +02:00
qprocess Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qprocessenvironment Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qresourceengine Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
qsettings Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
qtemporaryfile Fix QTemporaryFile regressions and new found issues 2011-10-21 22:20:42 +02:00
qtextstream Avoid using QSKIP in lieu of compile-time checks 2011-10-05 03:04:31 +02:00
qurl Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
io.pro Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00