Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrzesniewski committed Jul 25, 2024
1 parent b0d15f5 commit beb2eae
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="all" />
<PackageReference Include="JetBrains.Annotations" Version="2024.2.0" PrivateAssets="all" />
</ItemGroup>

</Project>
7 changes: 3 additions & 4 deletions src/ZeroLog.Analyzers.Tests/ZeroLog.Analyzers.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.10.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing" Version="1.1.1" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing" Version="1.1.1" />
<PackageReference Include="Microsoft.CodeAnalysis.Testing.Verifiers.NUnit" Version="1.1.1" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing" Version="1.1.2" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing" Version="1.1.2" />

<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
</ItemGroup>

</Project>
7 changes: 3 additions & 4 deletions src/ZeroLog.Analyzers.Tests/ZeroLogAnalyzerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Microsoft.CodeAnalysis.CSharp.Testing;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Testing;
using Microsoft.CodeAnalysis.Testing.Verifiers;

namespace ZeroLog.Analyzers.Tests;

Expand All @@ -18,14 +17,14 @@ internal static class ZeroLogAnalyzerTest
Path.Combine("ref", "net8.0")
);

public static void ConfigureTest(AnalyzerTest<NUnitVerifier> test)
public static void ConfigureTest(AnalyzerTest<DefaultVerifier> test)
{
test.ReferenceAssemblies = _netReferenceAssemblies;
test.TestState.AdditionalReferences.Add(typeof(LogManager).Assembly);
}
}

internal abstract class ZeroLogAnalyzerTest<TAnalyzer> : CSharpAnalyzerTest<TAnalyzer, NUnitVerifier>
internal abstract class ZeroLogAnalyzerTest<TAnalyzer> : CSharpAnalyzerTest<TAnalyzer, DefaultVerifier>
where TAnalyzer : DiagnosticAnalyzer, new()
{
[StringSyntax("csharp")]
Expand All @@ -45,7 +44,7 @@ protected override ParseOptions CreateParseOptions()
=> ((CSharpParseOptions)base.CreateParseOptions()).WithLanguageVersion(LanguageVersion);
}

internal abstract class ZeroLogCodeFixTest<TAnalyzer, TCodeFix> : CSharpCodeFixTest<TAnalyzer, TCodeFix, NUnitVerifier>
internal abstract class ZeroLogCodeFixTest<TAnalyzer, TCodeFix> : CSharpCodeFixTest<TAnalyzer, TCodeFix, DefaultVerifier>
where TAnalyzer : DiagnosticAnalyzer, new()
where TCodeFix : CodeFixProvider, new()
{
Expand Down
4 changes: 2 additions & 2 deletions src/ZeroLog.Benchmarks/ZeroLog.Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
<PackageReference Include="InlineIL.Fody" Version="1.8.0" PrivateAssets="all" />
<PackageReference Include="log4net" Version="2.0.17" />
<PackageReference Include="NLog" Version="5.3.2" />
<PackageReference Include="Serilog" Version="4.0.0" />
<PackageReference Include="Serilog" Version="4.0.1" />
<PackageReference Include="System.Net.Sockets" Version="4.3.0" />
<PackageReference Include="ZLogger" Version="2.4.1" />
<PackageReference Include="ZLogger" Version="2.5.4" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Verify.NUnit" Version="25.0.2" />
<PackageReference Include="Verify.DiffPlex" Version="2.3.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="Verify.NUnit" Version="26.0.1" />
<PackageReference Include="Verify.DiffPlex" Version="3.1.0" />
<PackageReference Include="PublicApiGenerator" Version="11.1.0" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions src/ZeroLog.Tests/ZeroLog.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="MarkdownSnippets.MsBuild" Version="27.0.2" PrivateAssets="all" />
<PackageReference Include="Verify.NUnit" Version="25.0.2" />
<PackageReference Include="Verify.DiffPlex" Version="2.3.0" />
<PackageReference Include="Verify.NUnit" Version="26.0.1" />
<PackageReference Include="Verify.DiffPlex" Version="3.1.0" />
<PackageReference Include="PublicApiGenerator" Version="11.1.0" />
<PackageReference Include="ObjectLayoutInspector" Version="0.1.4" />
</ItemGroup>
Expand Down

0 comments on commit beb2eae

Please sign in to comment.