Beispiel #1
0
 /// <summary>
 /// Returns the invoker class to run the test with the given duration parameters.
 /// </summary>
 /// <param name="wrapper">The invoker currently set to run the test.</param>
 /// <returns>A new <see cref="IgnoreRunInvoker"/> object wrapping <paramref name="wrapper"/></returns>
 public override IRunInvoker GetInvoker(MbUnit.Core.Invokers.IRunInvoker wrapper)
 {
     return(new IgnoreRunInvoker(wrapper));
 }
Beispiel #2
0
 /// <summary>
 /// Returns the invoker class to run the test the given number of times.
 /// </summary>
 /// <param name="wrapper">The invoker currently set to run the test.</param>
 /// <returns>A new <see cref="RepeatRunInvoker"/> object wrapping <paramref name="wrapper"/></returns>
 public override IRunInvoker GetInvoker(MbUnit.Core.Invokers.IRunInvoker wrapper)
 {
     return(new RepeatRunInvoker(wrapper, count));
 }