Example #1
0
        public void UniqueForRuntime()
        {
            var runtimes = new[] { ".NET Core 4.6.26725.06", ".NET Framework 4.7.3132.0" };

            Approvals.VerifyAll("runtimes", runtimes,
                                s => $"{s} => {ApprovalResults.GetDotNetRuntime(true, s)}");
        }
Example #2
0
    public IldasmTests()
    {
#if DEBUG
        disposable = NamerFactory.AsEnvironmentSpecificTest(() => "Debug" + ApprovalResults.GetDotNetRuntime(true));
#else
        disposable = NamerFactory.AsEnvironmentSpecificTest(() => "Release" + ApprovalResults.GetDotNetRuntime(true));
#endif
    }
    public ModuleWeaverTests(ITestOutputHelper output) :
        base(output)
    {
#if DEBUG
        disposable = NamerFactory.AsEnvironmentSpecificTest(() => "Debug" + ApprovalResults.GetDotNetRuntime(true));
#else
        disposable = NamerFactory.AsEnvironmentSpecificTest(() => "Release" + ApprovalResults.GetDotNetRuntime(true));
#endif
    }