NUnit.Framework.Constraints.DelayedConstraint
Applies a delay to the match so that a match can be evaluated in the future.
namespace NUnit.Framework.Internal
{
}
namespace NUnit.Framework
{
public abstract class TestActionAttribute : Attribute, ITestAction
{
public virtual ActionTargets Targets { get; }
public virtual void BeforeTest(ITest test);
public virtual void AfterTest(ITest test);
protected TestActionAttribute();
}
}
namespace NUnit.Framework.Constraints
{
public class DelayedConstraint : PrefixConstraint
{
public class WithRawDelayInterval : DelayedConstraint
{
public WithDimensionedDelayInterval Minutes { get; }
public WithDimensionedDelayInterval Seconds { get; }
public WithDimensionedDelayInterval MilliSeconds { get; }
public WithRawDelayInterval(DelayedConstraint parent);
public WithRawPollingInterval PollEvery(int milliSeconds);
}
public class WithDimensionedDelayInterval : DelayedConstraint
{
public WithDimensionedDelayInterval(DelayedConstraint parent);
public WithRawPollingInterval PollEvery(int milliSeconds);
}
public class WithRawPollingInterval : DelayedConstraint
{
public DelayedConstraint Minutes { get; }
public DelayedConstraint Seconds { get; }
public DelayedConstraint MilliSeconds { get; }
public WithRawPollingInterval(DelayedConstraint parent);
}
protected Interval DelayInterval { get; set; }
protected Interval PollingInterval { get; set; }
public DelayedConstraint(IConstraint baseConstraint, int delayInMilliseconds);
public DelayedConstraint(IConstraint baseConstraint, int delayInMilliseconds, int pollingIntervalInMilliseconds);
}
}
namespace NUnit.Framework.Internal
{
}
namespace NUnit.Framework.Constraints
{
public abstract class ComparisonAdapter
{
public static ComparisonAdapter Default { get; }
public static ComparisonAdapter For(IComparer comparer);
public static ComparisonAdapter For<[Nullable(2)] T>(IComparer<T> comparer);
public static ComparisonAdapter For<[Nullable(2)] T>(Comparison<T> comparer);
public abstract int Compare(object expected, object actual);
protected ComparisonAdapter();
}
}