qt5base-lts/tests/auto/corelib
João Abecasis 0c2b7b1020 Fix default-constructed QFileSystemEntry
Member variables for lastSeparator, first and lastDotInFileName are now
initialized to -1 (non-existing), where the previous value of zero would
mean a separator/dot at that position and resulted in path() returning
'/', instead of '.'.

Tests were expanded for better coverage of empty state and
default-constructed instances.

Change-Id: Ie27547886b52224d38b5be0b4f920c9927fd440f
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
2012-09-25 00:08:16 +02:00
..
animation Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
codecs Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
global Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
io Fix default-constructed QFileSystemEntry 2012-09-25 00:08:16 +02:00
itemmodels QModelIndex: clean up integer size confusion in the API 2012-09-22 20:45:12 +02:00
json Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
kernel Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
mimetypes Use QStringList::join(QChar) overload where applicable [QtCore] 2012-09-23 23:30:18 +02:00
plugin Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
statemachine Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
thread Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
tools Add some tests for compatible and incompatible custom deleters 2012-09-24 21:27:51 +02:00
xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00