tbf/TBF/Rig/GenericDevices/ITestMethodWith2ndPass.cs
2021-10-26 19:38:09 +02:00

25 lines
772 B
C#

using System.Collections.Generic;
using Config.Entities;
using TBF.Rig.Generic;
namespace TBF.Rig.GenericDevices
{
public interface ITestMethodWith2ndPass : ITestMethod
{
/// <summary>
/// Data stored for a second pass or deferred evaluation
/// </summary>
object IntermediateData { get; }
/// <summary>
/// Execute the 2nd pass of the test method
/// </summary>
/// <param name="test"></param>
/// <param name="outerLoopMode">false = normal eecution, true = Run the test only once and use 'outerLoopCounter'</param>
/// <param name="outerLoopCounter">External test repeats counter</param>
/// <returns>Event(s) indicating the result of execution</returns>
IList<Event> Execute2ndPass(Test test, int repetNr, object IntermediateData);
}
}