예제 #1
0
 public static void Initialize()
 {
     InnerVerifier.Init(
         message => new XunitException(message),
         input => XunitContext.Context.IntOrNext(input),
         input => XunitContext.Context.IntOrNext(input),
         input => XunitContext.Context.IntOrNext(input));
 }
예제 #2
0
 static VerifyBase()
 {
     InnerVerifier.Init(
         message => new XunitException(message),
         input => XunitContext.Context.IntOrNext(input),
         input => XunitContext.Context.IntOrNext(input),
         input => XunitContext.Context.IntOrNext(input));
 }
예제 #3
0
 static Verifier()
 {
     InnerVerifier.Init(
         message => new NUnitException(message),
         input => CounterContext.Current.IntOrNext(input),
         input => CounterContext.Current.IntOrNext(input),
         input => CounterContext.Current.IntOrNext(input));
 }
예제 #4
0
 static VerifyBase()
 {
     InnerVerifier.Init(
         message => new AssertFailedException(message),
         input => CounterContext.Current.IntOrNext(input),
         input => CounterContext.Current.IntOrNext(input),
         input => CounterContext.Current.IntOrNext(input));
 }
예제 #5
0
 public static void Initialize()
 {
     InnerVerifier.Init(
         message => new AssertFailedException(message),
         input => CounterContext.Current.IntOrNext(input),
         input => CounterContext.Current.IntOrNext(input),
         input => CounterContext.Current.IntOrNext(input));
 }
예제 #6
0
 static VerifyBase()
 {
     InnerVerifier.Init(
         message => new XunitException(message),
         input => XunitContext.Context.IntOrNext(input),
         input => XunitContext.Context.IntOrNext(input),
         input => XunitContext.Context.IntOrNext(input));
     SharedVerifySettings.RegisterFileConverter <IRenderedFragment>("html", FragmentToStream.Convert);
     SharedVerifySettings.ModifySerialization(settings =>
     {
         settings.AddExtraSettings(serializerSettings =>
         {
             var converters = serializerSettings.Converters;
             converters.Add(new RenderedFragmentConverter());
         });
     });
 }
예제 #7
0
 public static void Initialize()
 {
     InnerVerifier.Init(message => new AssertionException(message));
 }