qt5base-lts/tests/auto/corelib
Gary Wang e3c84b6da1 QMimeType: Use default key as fallback for comment() property
When QMimeProvider parses the shared mime database xml files,
it will read the <comment> element for mime comment and treat the
`xml:lang` attribute as locale language string. When no `xml:lang`
attr is provided, QMimeProvider will read the value and treat it as
a en_US locale string as the default key.

When we call QMimeType::comment(), it will try to get the locale
comment string with the default language (QLocale().name()), once
it can't find a matched result, it should return the default key
(which QMimeProvider set it as en_US locale before) as fallback.

Task-number: QTBUG-71314
Change-Id: I444f8159d6f19dfef6338cd79312f608d8f13394
Reviewed-by: David Faure <david.faure@kdab.com>
2018-11-02 08:27:10 +00:00
..
animation Extend blacklisting of tst_qparallelanimationgroup tests to macOS 10.13 2018-09-24 21:13:30 +00:00
codecs Add tests for decoding too-short UTF-8 sequences 2018-09-25 22:14:07 +00:00
global qendian: Fix float conversions 2018-10-28 22:26:56 +00:00
io Remove QSKIP and bring the test back to business 2018-10-25 11:51:42 +00:00
itemmodels Fix building tests with -no-gui 2018-10-20 20:38:59 +00:00
kernel Treat shorts as int in QVariant::canConvert() 2018-11-01 17:31:13 +00:00
mimetypes QMimeType: Use default key as fallback for comment() property 2018-11-02 08:27:10 +00:00
plugin moc: Fix compilation of text strings containing non-ASCII 2018-09-10 04:17:03 +00:00
serialization tst_QCborValue: Disable support for spaceship operator 2018-10-31 09:46:11 +00:00
statemachine tst_QStateMachine: Don't use unconditional waits 2018-04-04 07:07:40 +00:00
thread Re-enable thread autotests 2018-09-25 22:35:40 +00:00
tools winrt: Skip a test row of tst_QRegularExpression::threadSafety 2018-10-31 09:35:29 +00:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00