Skip to content

Commit

Permalink
Merge pull request #638 from SteveDunn/update-nuget-packages
Browse files Browse the repository at this point in the history
Update nuget packages
  • Loading branch information
SteveDunn authored Jul 13, 2024
2 parents bfebe76 + 31ef6b8 commit 80556d3
Show file tree
Hide file tree
Showing 37 changed files with 30 additions and 59 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

</PropertyGroup>
<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1">
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MinVer" Version="4.3.0">
<PackageReference Include="MinVer" Version="5.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
20 changes: 10 additions & 10 deletions tests/AnalyzerTests/AnalyzerTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.MSTest" Version="1.1.1" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing.MSTest" Version="1.1.1" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeRefactoring.Testing.MSTest" Version="1.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.4.3" />
<PackageReference Include="MSTest.TestFramework" Version="3.4.3" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.MSTest" Version="1.1.2" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing.MSTest" Version="1.1.2" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeRefactoring.Testing.MSTest" Version="1.1.2" />

<PackageReference Include="Verify.SourceGenerators" Version="2.2.0" />
<PackageReference Include="Verify.Xunit" Version="22.5.0" />
<PackageReference Include="xunit" Version="2.6.5" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<PackageReference Include="Verify.Xunit" Version="25.3.1" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>

<PackageReference Include="coverlet.collector" Version="6.0.0">
<PackageReference Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
1 change: 0 additions & 1 deletion tests/AnalyzerTests/EfCoreTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

namespace AnalyzerTests;

[UsesVerify]
public class EfCoreTests
{
public class Marker_class_attributes_must_reference_value_objects
Expand Down
3 changes: 1 addition & 2 deletions tests/AnalyzerTests/InstanceFieldTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

namespace AnalyzerTests
{
[UsesVerify]
public class InstanceFieldTests
public class InstanceFieldTests
{
public class When_values_cannot_be_converted_to_their_underlying_types
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Shared/Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzer.Testing" Version="1.1.1" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzer.Testing" Version="1.1.2" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace SnapshotTests.BugFixes;

// See https://github.com/SteveDunn/Vogen/issues/575
[UsesVerify]
public class Bug575_AttributesWithArraysBreaksGenerator
{
// Previously, any attribute found with an array as a parameter caused an
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace SnapshotTests.BugFixes;

// See https://github.com/SteveDunn/Vogen/issues/581
[UsesVerify]
public class Bug581_StjDeserializer_throws_correct_exception
{
// The System.Text.Json converter called Guid.Parse, which in turn threw a NullReferenceException.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
namespace SnapshotTests.BugFixes;

// See https://github.com/SteveDunn/Vogen/issues/589
[UsesVerify]
public class Bug589_Vogen_does_not_ignore_irrelevant_assembly_attributes
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace SnapshotTests.BugFixes;

// See https://github.com/SteveDunn/Vogen/issues/595
[UsesVerify]
public class Bug595_AttributesWithArraysBreaksGenerator
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
namespace SnapshotTests.BugFixes;

// See https://github.com/SteveDunn/Vogen/issues/597
[UsesVerify]
public class Bug597_STJ_being_emitted_even_with_no_conversions_specified
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
namespace SnapshotTests.BugFixes;

// See https://github.com/SteveDunn/Vogen/issues/604
[UsesVerify]
public class Bug604_Swashbuckle_has_missing_namespaces_for_the_vo
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
namespace SnapshotTests.BugFixes;

// See https://github.com/SteveDunn/Vogen/issues/608
[UsesVerify]
public class Bug608_swashbuckle_mappingTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
namespace SnapshotTests.BugFixes;

// See https://github.com/SteveDunn/Vogen/issues/610
[UsesVerify]
public class Bug610_Inconsistent_casting
{
[Fact]
Expand Down
1 change: 0 additions & 1 deletion tests/SnapshotTests/Casting/CastingGenerationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

namespace SnapshotTests.Casting;

[UsesVerify]
public class CastingGenerationTests
{
public class Types : IEnumerable<object[]>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace SnapshotTests.Comparable;

[UsesVerify]
public class ComparisonGenerationTests
{
[Fact]
Expand Down
1 change: 0 additions & 1 deletion tests/SnapshotTests/Config/GlobalConfigTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace SnapshotTests.Config;

[UsesVerify]
public class GlobalConfigTests
{
[Fact]
Expand Down
1 change: 0 additions & 1 deletion tests/SnapshotTests/Config/LocalConfigTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace SnapshotTests.Config;

[UsesVerify]
public class LocalConfigTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ public class PermutationsOfConversionsTests
/// For different types (class, struct, readonly struct), generate types with different
/// permutations of conversions to ensure that everything builds OK.
/// </summary>
[UsesVerify]
public class ConversionPermutationTests
public class ConversionPermutationTests
{
static readonly string[] _permutations = new Permutations().Distinct().ToArray();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace SnapshotTests.EfCoreGeneration;
// contrib: An idea place to start a new feature. Write a new test for the feature here to get it working, then
// add more tests. Move these tests if there are several of them, and it makes sense to group them.

[UsesVerify]
public class EfCoreGenerationTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

namespace SnapshotTests.Escaping;

[UsesVerify]
public class GenerationOfEscapedEfCoreConverters
{
public class Types : IEnumerable<object[]>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

namespace SnapshotTests.Escaping;

[UsesVerify]
public class GenerationOfEscapedTypesTests
{
public class Types : IEnumerable<object[]>
Expand Down
1 change: 0 additions & 1 deletion tests/SnapshotTests/GeneralStuff/GeneralTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace SnapshotTests.GeneralStuff;
// contrib: An ideal place to start a new feature. Write a new test for the feature here to get it working, then
// add more tests. Move these tests if there are several of them, and it makes sense to group them.

[UsesVerify]
public class GeneralTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

namespace SnapshotTests.GenerationPermutations;

[UsesVerify]
public class GenerationPermutationTests
{
private readonly ITestOutputHelper _logger;
Expand Down
1 change: 0 additions & 1 deletion tests/SnapshotTests/GenericAttributeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace SnapshotTests;

[UsesVerify]
public class GenericAttributeTests
{
[SkippableFact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

namespace SnapshotTests.InstanceFields;

[UsesVerify]
public class InstanceFieldGenerationTests
{
[Fact]
Expand Down
1 change: 0 additions & 1 deletion tests/SnapshotTests/InternalDiagnostics/GeneralTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace SnapshotTests.InternalDiagnostics;
// contrib: An ideal place to start a new feature. Write a new test for the feature here to get it working, then
// add more tests. Move these tests if there are several of them, and it makes sense to group them.

[UsesVerify]
public class InternalDiagnosticsTests
{
[Fact]
Expand Down
1 change: 0 additions & 1 deletion tests/SnapshotTests/OpenApi/SwashbuckleTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace SnapshotTests.OpenApi;
// contrib: An ideal place to start a new feature. Write a new test for the feature here to get it working, then
// add more tests. Move these tests if there are several of them, and it makes sense to group them.

[UsesVerify]
public class SwashbuckleTests
{
[Theory]
Expand Down
1 change: 0 additions & 1 deletion tests/SnapshotTests/Parsing/ParsingTestsForPrimitives.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace SnapshotTests.Parsing;

[UsesVerify]
public class ParsingTestsForPrimitives
{
[Fact]
Expand Down
1 change: 0 additions & 1 deletion tests/SnapshotTests/Parsing/ParsingTestsForStrings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace SnapshotTests.Parsing;

[UsesVerify]
public class ParsingTestsForStrings
{
[Fact]
Expand Down
12 changes: 6 additions & 6 deletions tests/SnapshotTests/SnapshotTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3">
<PackageReference Include="GitHubActionsTestLogger" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -33,15 +33,15 @@
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="Verify.SourceGenerators" Version="2.2.0" />
<PackageReference Include="Verify.Xunit" Version="22.5.0" />
<PackageReference Include="xunit" Version="2.6.5" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<PackageReference Include="Verify.Xunit" Version="25.3.1" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PackageReference Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
4 changes: 1 addition & 3 deletions tests/SnapshotTests/StaticAbstracts/StaticAbstractTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@

namespace SnapshotTests.StaticAbstracts;

[UsesVerify]
public class StaticAbstractTests
{
[UsesVerify]
public class Generates_nothing
public class Generates_nothing
{
[Fact]
public async Task when_run_on_less_than_csharp_11_even_when_specifying_it_should_generate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace SnapshotTests.StringComparison;

[UsesVerify]
public class StringComparisonGenerationTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace SnapshotTests.SystemTextJsonGeneration;
/// <summary>
/// These tests verify that types containing <see cref="Customizations.TreatNumberAsStringInSystemTextJson"/> are written correctly.
/// </summary>
[UsesVerify]
public class CustomizeNumbersAsStringsInSystemTextJson
{
public class Types : IEnumerable<object[]>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace SnapshotTests.SystemTextJsonGeneration;

[UsesVerify]
public class DeserializationStrictnessTests
{
[Fact]
Expand Down
1 change: 0 additions & 1 deletion tests/SnapshotTests/ToString/ToStringGenerationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

namespace SnapshotTests.ToString;

[UsesVerify]
public class ToStringGenerationTests
{
private class Types : IEnumerable<object[]>
Expand Down
13 changes: 8 additions & 5 deletions tests/Vogen.Tests/Vogen.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,20 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3">
<PackageReference Include="GitHubActionsTestLogger" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.6.5" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" />
</ItemGroup>
Expand Down

0 comments on commit 80556d3

Please sign in to comment.