bramp / ffmpeg-cli-wrapper

Java wrapper around the FFmpeg command line tool
BSD 2-Clause "Simplified" License
1.73k stars 413 forks source link

Fix broken test: Mock runFunc and add assertions to FFmpegGetInfoTest #271

Closed Euklios closed 2 years ago

Euklios commented 2 years ago

PR #256 added a static reference that cannot be resolved unless we run on a specific environment. Additionally, the runFunc has not been mocked, resulting in an actual call to the FFmpeg executable.

I have applied the following modifications: