Ejemplo n.º 1
0
 internal static AssertionConfiguration GetConfiguration(this Timings timings)
 {
     return(new AssertionConfiguration
     {
         Timeout = timings?.Timeout ?? 5000,
         Interval = timings?.Timeout ?? 100,
         ExceptionMatcher = ExceptionMatcher
     });
 }
Ejemplo n.º 2
0
 internal static AssertionConfiguration GetConfiguration(this Timings timings)
 {
     return(new AssertionConfiguration
     {
         Timeout = timings?.Timeout ?? Timings.DefaultTimeout,
         Interval = timings?.Interval ?? Timings.DefaultInterval,
         ExceptionMatcher = ExceptionMatcher
     });
 }
Ejemplo n.º 3
0
 internal static IAssertionResult <T, TSource> That <T, TSource>(this IValueProvider <T, TSource> provider, Action <T> assertion, Timings timings)
 {
     return(provider.Assert(assertion, timings.GetConfiguration()));
 }