Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

USM route test: skip where FFmpeg isn't installed, like the other media tests

cre8ive-marketing8fd7da98e7a2
diff --git a/tests/Filee.Engines.Tests/MediaTests.cs b/tests/Filee.Engines.Tests/MediaTests.cs
index 6035f1ad..0bfe086f 100644
--- a/tests/Filee.Engines.Tests/MediaTests.cs
+++ b/tests/Filee.Engines.Tests/MediaTests.cs
@@ -27,6 +27,7 @@ public class MediaTests(EngineFixture fx) : IClassFixture<EngineFixture>
public void Cri_usm_game_videos_go_to_mp4_through_ffmpeg()
{
// #485: read only, through FFmpeg's usm demuxer; never a step towards something else.
+ SkipUnlessInstalled();
var route = fx.Catalog.CreatePlanner().Plan("usm", "mp4");
Assert.NotNull(route);
Assert.Equal("ffmpeg", Assert.Single(route.Steps).Converter.Id);