public static void Initialize()
    {
        VerifyNServiceBus.Enable();

        #endregion

        VerifyDiffPlex.Initialize();
    }
예제 #2
0
    public static void Initialize()
    {
        VerifyNServiceBus.Enable();
        var nsbVersion       = FileVersionInfo.GetVersionInfo(typeof(Endpoint).Assembly.Location);
        var nsbVersionString = $"{nsbVersion.FileMajorPart}.{nsbVersion.FileMinorPart}.{nsbVersion.FileBuildPart}";

        VerifierSettings.IgnoreStackTrace();
        VerifierSettings.AddScrubber(x => x.Replace(nsbVersionString, "NsbVersion"));
        VerifierSettings.ScrubMachineName();
        VerifierSettings.AddExtraSettings(_ =>
        {
            _.Converters.Add(new LogEventPropertyConverter());
            _.Converters.Add(new LogEventConverter());
            _.Converters.Add(new ScalarValueConverter());
            _.Converters.Add(new PropertyEnricherConverter());
        });
        VerifierSettings.AddExtraDatetimeOffsetFormat("yyyy-MM-dd HH:mm:ss:ffffff Z");
    }
 static PreferredStatusGoldTests()
 {
     VerifyNServiceBus.Enable();
 }
예제 #4
0
 public static void Setup()
 {
     VerifyNServiceBus.Enable();
 }
예제 #5
0
 public static void Initialize()
 {
     VerifyNServiceBus.Enable();
 }