qt6-bb10/tests/auto/corelib
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
..
animation Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
codecs Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
concurrent Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
global Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
io Fix QTemporaryFile regressions and new found issues 2011-10-21 22:20:42 +02:00
kernel Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
plugin Tests: Fix compilation on Windows. 2011-10-03 07:57:41 +02:00
statemachine Add missing Q_OBJECT macro to GoToStateTransition 2011-10-05 15:00:38 +02:00
thread Remove DEPENDS_ON from qtestlib API. 2011-10-19 07:24:13 +02:00
tools Remove SkipMode parameter from QSKIP calls. 2011-10-21 01:20:29 +02:00
xml Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
corelib.pro Exclude qtconcurrent tests via .pro files. 2011-10-12 18:01:19 +02:00