summaryrefslogtreecommitdiffstats
path: root/src/corelib/mimetypes/qmimeprovider.cpp
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2023-09-11 16:25:29 +0200
committerDavid Faure <david.faure@kdab.com>2023-09-13 13:45:04 +0200
commit994311a66bd31983bec5d75d87f5e03f53f14def (patch)
treeff6c7124702ed4bcf46fe6484194a626ad2da3df /src/corelib/mimetypes/qmimeprovider.cpp
parent251ab925fe8e3dfbc8a8e5f9ed999777d3f6af99 (diff)
tst_qmimedatabase: move local override to the specific test method
When running tst_qmimedatabase with the full shared-mime-info test suite (which unfortunately requires local setup so this is easy to overlook), we need *.webm to still be associated with video/webm. So to test glob-deleteall, do that in installNewLocalMimeType(), with other similar tests. This however unearthed the following bug: the handling of glob-deleteall is only correct when the local dir has no binary cache. It's broken when using a binary cache. Added a QEXPECT_FAIL for now because this is going to be fixed as part of a major redesign, coming up. I also found out that neither xdgmime nor gio do this correctly... Change-Id: Ib075fcdb792f60a859f23db8c2d7e1c6524f9050 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/mimetypes/qmimeprovider.cpp')
0 files changed, 0 insertions, 0 deletions