mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-01-06 07:49:43 -06:00
29 lines
573 B
C#
29 lines
573 B
C#
#if(DEBUG)
|
|
|
|
using FileFlows.VideoNodes;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
namespace VideoNodes.Tests;
|
|
|
|
[TestClass]
|
|
public class VideoHasErrorsTests : VideoTestBase
|
|
{
|
|
[TestMethod]
|
|
public void VideoHasErrors_Video()
|
|
{
|
|
var args = GetVideoNodeParameters(VideoCorrupt);
|
|
|
|
VideoFile vf = new();
|
|
vf.PreExecute(args);
|
|
vf.Execute(args);
|
|
|
|
VideoHasErrors element = new();
|
|
element.PreExecute(args);
|
|
int output = element.Execute(args);
|
|
|
|
Assert.AreEqual(1, output);
|
|
}
|
|
}
|
|
|
|
|
|
#endif |