Skip to content

Commit 9f77b0a

Browse files
authored
Merge pull request #111 from Codeuctivity/dependabot/nuget/Swashbuckle.AspNetCore-6.7.1
Bump Swashbuckle.AspNetCore from 6.7.0 to 6.7.1
2 parents e89d7d0 + 4ddf88a commit 9f77b0a

File tree

6 files changed

+22
-24
lines changed

6 files changed

+22
-24
lines changed

PdfAValidator/PdfAValidator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</ItemGroup>
5656

5757
<ItemGroup>
58-
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.12.0.78982">
58+
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
5959
<PrivateAssets>all</PrivateAssets>
6060
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
6161
</PackageReference>

PdfAValidatorTest/PdfAValidatorTest.cs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Codeuctivity;
22
using System;
33
using System.Collections.Generic;
4-
using System.Globalization;
54
using System.IO;
65
using System.Linq;
76
using System.Runtime.InteropServices;
@@ -229,8 +228,9 @@ public static async Task ShouldNotDeadlockWhenValidatingFolderThatCausesLargeOut
229228
var pdfAValidator = new PdfAValidator();
230229
var task = pdfAValidator.ValidateWithDetailedReportAsync(tmpDirName, "");
231230

232-
bool completedTask = task.Wait(TimeSpan.FromMinutes(1));
231+
var completedTask = task.Wait(TimeSpan.FromMinutes(1));
233232
Assert.True(completedTask);
233+
234234
if (completedTask)
235235
{
236236
var result = await task;
@@ -308,12 +308,7 @@ public static async Task ShouldThrowPathTooLongException()
308308
[Fact]
309309
public static async Task ShouldThrowExplainableExceptionOnTooLongCommandLineOnWindows()
310310
{
311-
var expectedLocalizedMessage = "The command line is too long.";
312-
313-
if (CultureInfo.InstalledUICulture.Name.StartsWith("de"))
314-
{
315-
expectedLocalizedMessage = "Die Befehlszeile ist zu lang.";
316-
}
311+
var expectedLocalizedMessages = new[] { "The command line is too long.", "Die Befehlszeile ist zu lang." };
317312

318313
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
319314
{
@@ -332,7 +327,8 @@ public static async Task ShouldThrowExplainableExceptionOnTooLongCommandLineOnWi
332327

333328
var actualException = await Assert.ThrowsAsync<VeraPdfException>(() => pdfAValidator.ValidateBatchWithDetailedReportAsync(tooLongFileList, string.Empty));
334329
Assert.Contains("Calling VeraPdf exited with 1 without any output.", actualException.Message);
335-
Assert.Contains(expectedLocalizedMessage, actualException.Message);
330+
var containsExpectedMessage = expectedLocalizedMessages.Any(actualException.Message.Contains);
331+
Assert.True(containsExpectedMessage, "The exception message does not contain any of the expected localized messages.");
336332
}
337333

338334
[Fact]

PdfAValidatorTest/PdfAValidatorTest.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@
6565
</ItemGroup>
6666

6767
<ItemGroup>
68-
<PackageReference Include="coverlet.collector" Version="6.0.0">
68+
<PackageReference Include="coverlet.collector" Version="6.0.2">
6969
<PrivateAssets>all</PrivateAssets>
7070
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
7171
</PackageReference>
72-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
73-
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.12.0.78982">
72+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
73+
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
7474
<PrivateAssets>all</PrivateAssets>
7575
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
7676
</PackageReference>
77-
<PackageReference Include="xunit" Version="2.6.1" />
78-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
77+
<PackageReference Include="xunit" Version="2.9.0" />
78+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
7979
<PrivateAssets>all</PrivateAssets>
8080
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
8181
</PackageReference>

PdfAValidatorWebApi/PdfAValidatorWebApi.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.12.0.78982">
13+
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
17-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.0" />
17+
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.1" />
1818
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="8.0.2" />
1919
</ItemGroup>
2020

PdfAValidatorWebApiTest/OpenApi.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
],
2424
"summary": "Validates the compliance of a PdfA.",
2525
"requestBody": {
26+
"description": "",
2627
"content": {
2728
"multipart/form-data": {
2829
"schema": {
@@ -66,6 +67,7 @@
6667
],
6768
"summary": "Validates the compliance of a PDF(A) and gives some validation detail.",
6869
"requestBody": {
70+
"description": "",
6971
"content": {
7072
"multipart/form-data": {
7173
"schema": {

PdfAValidatorWebApiTest/PdfAValidatorWebApiTest.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
<FileVersion>$(Version)</FileVersion>
1111
</PropertyGroup>
1212
<ItemGroup>
13-
<PackageReference Include="coverlet.collector" Version="6.0.0">
13+
<PackageReference Include="coverlet.collector" Version="6.0.2">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
17-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
18-
<PackageReference Include="AngleSharp" Version="1.0.6" />
19-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.0" />
20-
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.12.0.78982">
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
18+
<PackageReference Include="AngleSharp" Version="1.1.2" />
19+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8" />
20+
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>
24-
<PackageReference Include="xunit" Version="2.6.1" />
25-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
24+
<PackageReference Include="xunit" Version="2.9.0" />
25+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
2626
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2727
<PrivateAssets>all</PrivateAssets>
2828
</PackageReference>

0 commit comments

Comments
 (0)