Skip to content

Commit

Permalink
Upgrades nuget dependencies to the latest versions (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
chjahnert authored May 28, 2024
1 parent f18b23b commit 505da2b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions source/EXBP.Dipren.Data.Tests/EXBP.Dipren.Data.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit.Analyzers" Version="3.5.0">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ScottPlot" Version="4.1.60" />
<PackageReference Include="System.Text.Json" Version="7.0.1" />
<PackageReference Include="System.Text.Json" Version="8.0.3" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ protected virtual async Task WriteDatasetAsync(EngineDataStoreBenchmarkRecording
WriteIndented = true
};

await JsonSerializer.SerializeAsync(writer, recording, options);
await JsonSerializer.SerializeAsync(writer, recording, options, cancellation);
}
}

Expand Down
16 changes: 8 additions & 8 deletions source/EXBP.Dipren.Tests/EXBP.Dipren.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
<PackageReference Include="NSubstitute" Version="4.4.0" />
<PackageReference Include="NSubstitute.Analyzers.CSharp" Version="1.0.15">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="NSubstitute.Analyzers.CSharp" Version="1.0.17">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.1" />
<PackageReference Include="NUnit.Analyzers" Version="3.5.0">
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.2.0">
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="OpenTelemetry.Exporter.InMemory" Version="1.4.0-rc.2" />
<PackageReference Include="OpenTelemetry.Exporter.InMemory" Version="1.8.1" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions source/EXBP.Dipren.Tests/EngineTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public async Task RunAsync_SingleProcessingNodeAndRangeInAscendingOrder_Processe
await engine.RunAsync(job, false);

Assert.That(processor.Items.Count, Is.EqualTo(128));
CollectionAssert.IsOrdered(processor.Items);
Assert.That(processor.Items, Is.Ordered.Ascending);
}

[Test]
Expand All @@ -101,7 +101,7 @@ public async Task RunAsync_SingleProcessingNodeAndRangeInDescendingOrder_Process
await engine.RunAsync(job, false);

Assert.That(processor.Items.Count, Is.EqualTo(128));
CollectionAssert.IsOrdered(processor.Items.Reverse());
Assert.That(processor.Items, Is.Ordered.Descending);
}


Expand All @@ -120,7 +120,7 @@ public Int32SequenceDataSource(int minimum, int maximum, IComparer<int> comparer
}


public Task<long> EstimateRangeSizeAsync(Range<int> range, CancellationToken canellation)
public Task<long> EstimateRangeSizeAsync(Range<int> range, CancellationToken cancellation)
=> Task.FromResult<long>(Math.Abs(range.Last - range.First) + ((range.IsInclusive == true) ? 1 : 0));

public Task<Range<int>> GetEntireRangeAsync(CancellationToken cancellation)
Expand Down
2 changes: 1 addition & 1 deletion source/EXBP.Dipren.Tests/NodeIdentifierTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void Generate_ArgumentsTypeIsValid_ReturnsCorrectValue()

string expected = FormattableString.Invariant($"S{NodeIdentifier.DELIMITER}{Environment.MachineName}{NodeIdentifier.DELIMITER}{Environment.ProcessId}{NodeIdentifier.DELIMITER}{AppDomain.CurrentDomain.Id}{NodeIdentifier.DELIMITER}");

StringAssert.StartsWith(expected, actual);
Assert.That(actual, Does.StartWith(expected));
}

[Test]
Expand Down
4 changes: 2 additions & 2 deletions source/EXBP.Dipren/EXBP.Dipren.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="OpenTelemetry" Version="1.4.0-rc.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="OpenTelemetry" Version="1.8.1" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 505da2b

Please sign in to comment.