Verify.Sample/Sample/ModuleInitializer.cs

37 строки
1006 B
C#
Исходник Обычный вид История

2021-04-08 06:52:00 +03:00
using System.Runtime.CompilerServices;
public static class ModuleInitializer
{
[ModuleInitializer]
public static void Initialize()
{
2023-02-08 12:41:06 +03:00
VerifyHttp.Initialize();
2021-04-08 06:52:00 +03:00
VerifyImageMagick.RegisterComparers(.01);
2022-02-28 00:38:34 +03:00
VerifyImageSharp.Initialize();
2022-08-29 06:59:38 +03:00
VerifyDiffPlex.Initialize();
2022-05-17 04:24:13 +03:00
VerifierSettings.IgnoreMembers(
2023-07-28 13:50:53 +03:00
"Content-Length",
"traceparent",
"Traceparent",
"X-Amzn-Trace-Id",
"X-GitHub-Request-Id",
"origin",
"Date",
"Server",
"X-Fastly-Request",
"Source-Age",
"X-Fastly-Request-ID",
"X-Served-By",
"X-Cache-Hits",
"X-Served-By",
"X-Cache",
"Content-Length",
"X-Timer");
VerifierSettings
.ScrubLinesContaining(
"Traceparent",
"Date",
2021-04-26 23:38:49 +03:00
"X-Amzn-Trace-Id",
2022-05-11 08:27:43 +03:00
"Content-Length");
2021-04-08 06:52:00 +03:00
}
}