extend test coverage to all supported mimetypes for taglibextractor
ClosedPublic

Authored by astippich on Sep 29 2018, 2:05 PM.

Details

Summary

Add new test files such that all mime types declared as
supported by the taglibextractor are actually tested.
The new test files were created from the existing files
and converted with ffmpeg or the official Monkey's
Audio encoder, which is free for any usage.

Test Plan

new tests pass

Diff Detail

Repository
R286 KFileMetaData
Branch
taglib_extractor_additional_tests
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 3579
Build 3597: arc lint + arc unit
astippich created this revision.Sep 29 2018, 2:05 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptSep 29 2018, 2:05 PM
Restricted Application added subscribers: Baloo, kde-frameworks-devel. · View Herald Transcript
astippich requested review of this revision.Sep 29 2018, 2:05 PM
astippich updated this revision to Diff 42551.Sep 29 2018, 2:10 PM
  • modify permissions of binary files

What's the origin/license of these files ? How are they created ?

bruns added a comment.Sep 29 2018, 6:10 PM

What's the origin/license of these files ? How are they created ?

The files contain just silence.

@astippich - can you convert the wav file to 8bit (32bit float currently), so it becomes smaller. Same for aiff, probably.

bruns requested changes to this revision.Sep 30 2018, 2:15 AM

Please lower bitdepth.
Also, can you provide the commandline or the like to generate the files? - probably this is also stuff for an accompanying README file.

This revision now requires changes to proceed.Sep 30 2018, 2:15 AM
astippich edited the summary of this revision. (Show Details)Oct 7 2018, 12:35 PM

What's the origin/license of these files ? How are they created ?

Forgot to mention it, I added this information to the summary.

What's the origin/license of these files ? How are they created ?

The files contain just silence.

@astippich - can you convert the wav file to 8bit (32bit float currently), so it becomes smaller. Same for aiff, probably.

Good idea, will update.

Please lower bitdepth.
Also, can you provide the commandline or the like to generate the files? - probably this is also stuff for an accompanying README file.

I went the stupid way and converted them from the existing files, so I didn't really generate them.

astippich updated this revision to Diff 43031.Oct 7 2018, 1:05 PM
  • update aiff and wav test files so that they are smaller
bruns accepted this revision.Oct 8 2018, 6:38 PM

Thx!

This revision is now accepted and ready to land.Oct 8 2018, 6:38 PM
This revision was automatically updated to reflect the committed changes.