qt6-bb10/tests/auto/corelib
David Faure 5e41f4137d QMimeDatabase: warn instead of asserting on bad magic.
An invalid mime magic definition could lead to an assert. Replaced with
a qWarning. Move all checking to the QMimeMagicRule constructor, and do
keep invalid rules since they are need to parse child rules.

Unit test added, with QTest::ignoreMessage when using the XML backend
(there's no warning from update-mime-database when using the cache).
Also make it easier to add more shared mime info files for tests.

Task-number: QTBUG-44319
Done-with: Eike Ziller <eike.ziller@theqtcompany.com>
Change-Id: Ie39a160a106b650cdcee88778fa7eff9e932a988
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-09-04 20:00:22 +00:00
..
animation Update copyright headers 2015-02-11 06:49:51 +00:00
codecs fix usage of wince scope 2015-06-05 10:29:10 +00:00
global Disable thread-safe statics for MSVC 2015: they're broken 2015-07-16 08:28:07 +00:00
io tst_qprocess cleanup 2015-08-17 08:25:24 +00:00
itemmodels Fix less-than comparison for QStandardItem and QSortFilterProxyModel with invalid data. 2015-06-11 13:29:23 +00:00
json Make sure remove() doesn't corrupt the json object 2015-03-18 07:34:59 +00:00
kernel Fix the remainingTime() result after the first activation of a QTimer 2015-07-08 03:20:29 +00:00
mimetypes QMimeDatabase: warn instead of asserting on bad magic. 2015-09-04 20:00:22 +00:00
plugin fix usage of wince scope 2015-06-05 10:29:10 +00:00
statemachine QStateMachine: empty the whole internal queue before external queue 2015-05-19 08:03:46 +00:00
thread Use qthread_win.cpp for WinRT as well 2015-06-23 05:47:14 +00:00
tools Avoid overflow in QTime::addSecs with too big a number of seconds 2015-08-19 22:13:40 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00