Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.CodeAnalysis.CSharp.Testing;
using Microsoft.CodeAnalysis.Testing;
using Microsoft.CodeAnalysis.Testing.Verifiers;
using OpenCvSharp.Analyzers;
using Xunit;

Expand All @@ -24,7 +23,7 @@ public class Mat

private static Task Verify(string source, params DiagnosticResult[] expected)
{
var test = new CSharpAnalyzerTest<MatPropertyInLoopConditionAnalyzer, XUnitVerifier>
var test = new CSharpAnalyzerTest<MatPropertyInLoopConditionAnalyzer, DefaultVerifier>
{
TestCode = MatStub + source,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.7.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.XUnit" Version="1.1.2" />
<PackageReference Include="xunit.v3" Version="3.2.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing" Version="1.1.3" />
<!-- Override the old CodeAnalysis pulled in transitively by the testing framework -->
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.6.0" />
</ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions test/OpenCvSharp.Analyzers.Tests/RowAtAnalyzerTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.CodeAnalysis.CSharp.Testing;
using Microsoft.CodeAnalysis.Testing;
using Microsoft.CodeAnalysis.Testing.Verifiers;
using OpenCvSharp.Analyzers;
using Xunit;

Expand All @@ -25,7 +24,7 @@ public struct Vec3b { }

private static Task Verify(string source, params DiagnosticResult[] expected)
{
var test = new CSharpAnalyzerTest<RowAtAnalyzer, XUnitVerifier>
var test = new CSharpAnalyzerTest<RowAtAnalyzer, DefaultVerifier>
{
TestCode = MatStub + source,
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.CodeAnalysis.CSharp.Testing;
using Microsoft.CodeAnalysis.Testing;
using Microsoft.CodeAnalysis.Testing.Verifiers;
using OpenCvSharp.Analyzers;
using Xunit;

Expand All @@ -22,7 +21,7 @@ public class Mat

private static Task Verify(string source, params DiagnosticResult[] expected)
{
var test = new CSharpAnalyzerTest<RowColInLoopBodyAnalyzer, XUnitVerifier>
var test = new CSharpAnalyzerTest<RowColInLoopBodyAnalyzer, DefaultVerifier>
{
TestCode = MatStub + source,
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.CodeAnalysis.CSharp.Testing;
using Microsoft.CodeAnalysis.Testing;
using Microsoft.CodeAnalysis.Testing.Verifiers;
using OpenCvSharp.Analyzers;
using Xunit;

Expand All @@ -26,7 +25,7 @@ public void Dispose() { }

private static Task Verify(string source, params DiagnosticResult[] expected)
{
var test = new CSharpAnalyzerTest<RowColNotDisposedAnalyzer, XUnitVerifier>
var test = new CSharpAnalyzerTest<RowColNotDisposedAnalyzer, DefaultVerifier>
{
TestCode = MatStub + source,
};
Expand Down
Loading