Verify.Sample/Sample/ModuleInitializer.cs

37 строки
1006 B
C#

using System.Runtime.CompilerServices;
public static class ModuleInitializer
{
[ModuleInitializer]
public static void Initialize()
{
VerifyHttp.Initialize();
VerifyImageMagick.RegisterComparers(.01);
VerifyImageSharp.Initialize();
VerifyDiffPlex.Initialize();
VerifierSettings.IgnoreMembers(
"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",
"X-Amzn-Trace-Id",
"Content-Length");
}
}