Test frameworks consolidated (#12672)

This commit is contained in:
Davide Giacometti
2021-08-16 15:25:06 +02:00
committed by GitHub
parent c3a51f9227
commit e96c0da265
53 changed files with 1018 additions and 924 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (c) Brice Lambson
// Copyright (c) Brice Lambson
// The Brice Lambson licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information. Code forked from Brice Lambson's https://github.com/bricelam/ImageResizer/
@@ -8,7 +8,9 @@ using System.Collections.Specialized;
using System.ComponentModel;
using System.IO.Abstractions;
using System.Windows.Media.Imaging;
using Xunit;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[module: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1636:FileHeaderCopyrightTextMustMatch", Justification = "File created under PowerToys.")]
namespace ImageResizer.Test
{
@@ -50,7 +52,7 @@ namespace ImageResizer.Test
testCode();
detach(handler);
Assert.NotNull(raisedEvent);
Assert.IsNotNull(raisedEvent);
return raisedEvent;
}
@@ -68,7 +70,7 @@ namespace ImageResizer.Test
testCode();
detach(handler);
Assert.NotNull(raisedEvent);
Assert.IsNotNull(raisedEvent);
return raisedEvent;
}