Introduce unit test for mimetype detection
ClosedPublic

Authored by elvisangelaccio on Oct 19 2015, 9:22 PM.

Details

Summary

While reasoning on bug 328815, I noticed that the static method determineMimeType defined in archive_kerfuffle.cpp is a good candidate to be unit tested. To do so, we need to make it visible from the outside.

Diff Detail

Repository
R36 Ark
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
elvisangelaccio retitled this revision from to Introduce mimetypetest.
elvisangelaccio updated this object.
elvisangelaccio edited the test plan for this revision. (Show Details)
elvisangelaccio added a reviewer: rthomsen.
Restricted Application added a subscriber: kde-utils-devel. · View Herald TranscriptOct 19 2015, 9:22 PM
elvisangelaccio retitled this revision from Introduce mimetypetest to Introduce unit test for mimetype detection.Oct 19 2015, 9:28 PM
elvisangelaccio updated this object.
elvisangelaccio added a project: Ark.
rthomsen accepted this revision.Oct 20 2015, 4:17 PM
rthomsen edited edge metadata.

Looks good :)

This revision is now accepted and ready to land.Oct 20 2015, 4:17 PM
This revision was automatically updated to reflect the committed changes.