mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-01-18 20:46:43 +00: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]
|
[TestClass]
|
||||||
public class DownloaderTests
|
public class DownloaderTests
|
||||||
{
|
{
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void GetAllLatestSuiteTest()
|
public void GetAllLatestSuiteTest()
|
||||||
{
|
{
|
||||||
var binaries = FFMpegDownloader.DownloadFFMpegSuite(binaries: FFMpegDownloader.FFMpegBinaries.FFProbe |
|
var binaries = FFMpegDownloader.DownloadFFMpegSuite(binaries: FFMpegDownloader.FFMpegBinaries.FFMpeg).Result;
|
||||||
FFMpegDownloader.FFMpegBinaries.FFMpeg |
|
Assert.IsTrue(binaries.Count == 1); // many platforms have only ffmpeg and ffprobe
|
||||||
FFMpegDownloader.FFMpegBinaries.FFPlay).Result;
|
|
||||||
Assert.IsTrue(binaries.Count >= 2); // many platforms have only ffmpeg and ffprobe
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void GetSpecificVersionTest()
|
public void GetSpecificVersionTest()
|
||||||
{
|
{
|
||||||
var binaries = FFMpegDownloader.DownloadFFMpegSuite(FFMpegDownloader.FFMpegVersions.V4_0).Result;
|
var binaries = FFMpegDownloader.DownloadFFMpegSuite(FFMpegDownloader.FFMpegVersions.V4_0, binaries: FFMpegDownloader.FFMpegBinaries.FFMpeg).Result;
|
||||||
Assert.IsTrue(binaries.Count == 2);
|
Assert.IsTrue(binaries.Count == 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue