2022-05-16 23:28:31 +08:00
|
|
|
using System.IO;
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
using DiffEngine;
|
|
|
|
using VerifyTests;
|
2023-01-14 23:00:40 +08:00
|
|
|
using VerifyXunit;
|
2022-05-16 23:28:31 +08:00
|
|
|
|
|
|
|
namespace BililiveRecorder.Core.UnitTests
|
|
|
|
{
|
|
|
|
public static class VerifyConfig
|
|
|
|
{
|
|
|
|
[ModuleInitializer]
|
|
|
|
public static void Init()
|
|
|
|
{
|
2023-01-14 23:00:40 +08:00
|
|
|
Verifier.DerivePathInfo(Expectations.Initialize);
|
2022-06-07 22:41:09 +08:00
|
|
|
VerifierSettings.IgnoreMembersWithType<Stream>();
|
2022-05-17 15:14:45 +08:00
|
|
|
DiffRunner.Disabled = false;
|
|
|
|
DiffTools.UseOrder(DiffTool.VisualStudioCode, DiffTool.Rider, DiffTool.WinMerge, DiffTool.VisualStudio);
|
2022-05-16 23:28:31 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|