2021-11-13 02:01:03 +08:00
|
|
|
using System.IO;
|
2021-11-02 21:46:44 +08:00
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
using DiffEngine;
|
|
|
|
using VerifyTests;
|
|
|
|
|
2021-11-13 02:01:03 +08:00
|
|
|
namespace BililiveRecorder.Flv.Tests
|
2021-11-02 21:46:44 +08:00
|
|
|
{
|
|
|
|
public static class VerifyConfig
|
|
|
|
{
|
|
|
|
[ModuleInitializer]
|
|
|
|
public static void Init()
|
|
|
|
{
|
|
|
|
VerifierSettings.DerivePathInfo(Expectations.Initialize);
|
2021-11-13 02:01:03 +08:00
|
|
|
VerifierSettings.ModifySerialization(_ => _.IgnoreMembersWithType<Stream>());
|
2022-05-17 15:14:45 +08:00
|
|
|
DiffRunner.Disabled = false;
|
|
|
|
DiffTools.UseOrder(DiffTool.VisualStudioCode, DiffTool.Rider, DiffTool.WinMerge, DiffTool.VisualStudio);
|
2021-11-02 21:46:44 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|