mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Update DownloaderTests.cs
This commit is contained in:
parent
22fa002394
commit
6524b1cd4d
1 changed files with 4 additions and 8 deletions
|
@ -6,21 +6,17 @@ namespace FFMpegCore.Test;
|
|||
[TestClass]
|
||||
public class DownloaderTests
|
||||
{
|
||||
[Ignore]
|
||||
[TestMethod]
|
||||
public void GetAllLatestSuiteTest()
|
||||
{
|
||||
var binaries = FFMpegDownloader.DownloadFFMpegSuite(binaries: FFMpegDownloader.FFMpegBinaries.FFProbe |
|
||||
FFMpegDownloader.FFMpegBinaries.FFMpeg |
|
||||
FFMpegDownloader.FFMpegBinaries.FFPlay).Result;
|
||||
Assert.IsTrue(binaries.Count >= 2); // many platforms have only ffmpeg and ffprobe
|
||||
var binaries = FFMpegDownloader.DownloadFFMpegSuite(binaries: FFMpegDownloader.FFMpegBinaries.FFMpeg).Result;
|
||||
Assert.IsTrue(binaries.Count == 1); // many platforms have only ffmpeg and ffprobe
|
||||
}
|
||||
|
||||
[Ignore]
|
||||
[TestMethod]
|
||||
public void GetSpecificVersionTest()
|
||||
{
|
||||
var binaries = FFMpegDownloader.DownloadFFMpegSuite(FFMpegDownloader.FFMpegVersions.V4_0).Result;
|
||||
Assert.IsTrue(binaries.Count == 2);
|
||||
var binaries = FFMpegDownloader.DownloadFFMpegSuite(FFMpegDownloader.FFMpegVersions.V4_0, binaries: FFMpegDownloader.FFMpegBinaries.FFMpeg).Result;
|
||||
Assert.IsTrue(binaries.Count == 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue