Skip to content

Commit 5bd4566

Browse files
fix build errors related to mstest upgrade
upgrade nuget packages
1 parent 69a811b commit 5bd4566

File tree

377 files changed

+1475
-1436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

377 files changed

+1475
-1436
lines changed

.claude/settings.local.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(dotnet build:*)",
5+
"Bash(powershell -Command \"Get-ChildItem -Path . -Recurse -Include *.cs | ForEach-Object { (Get-Content $_.FullName) -replace ''Assert\\.AreEqual\\(true,\\s*'', ''Assert.IsTrue('' | Set-Content $_.FullName }\")",
6+
"Bash(powershell:*)",
7+
"Bash(dotnet clean:*)"
8+
]
9+
}
10+
}

Bellatrix.LLM/Bellatrix.LLM.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<PackageReference Include="Microsoft.SemanticKernel" Version="1.68.0" />
1818
<!-- DO NOT update Microsoft.KernelMemory unless we move to .NET 9 -->
1919
<PackageReference Include="Microsoft.KernelMemory" Version="0.98.250508.3" />
20-
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
21-
<PackageReference Include="NUnit" Version="4.3.2" />
20+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.0" />
21+
<PackageReference Include="NUnit" Version="4.4.0" />
2222
</ItemGroup>
2323

2424
</Project>

Bellatrix.LLM/assertions/AiAssert.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void AssertByPrompt(string assertInstruction)
4141

4242
if (string.IsNullOrWhiteSpace(verdict) || !verdict.Contains("PASS", StringComparison.OrdinalIgnoreCase))
4343
{
44-
Assert.Fail($"AI Assert failed: {assertInstruction} - {verdict}");
44+
Assertions.Assert.Fail($"AI Assert failed: {assertInstruction} - {verdict}");
4545
}
4646

4747
Console.WriteLine("✅ AI Assert passed: " + assertInstruction);

shared/SharedAssemblyInfo.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<RunAnalyzers>true</RunAnalyzers>
3636
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3737
<WarningsAsErrors />
38-
<NoWarn>NU1701;NU1702;NU1705;NU1608;NU1903;NU1902;NU1904;</NoWarn>
38+
<NoWarn>NU1701;NU1702;NU1705;NU1608;NU1903;NU1902;NU1904;MSTEST0001</NoWarn>
3939
</PropertyGroup>
4040
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
4141
<Optimize>true</Optimize>
@@ -45,6 +45,6 @@
4545
<RunAnalyzersDuringLiveAnalysis>false</RunAnalyzersDuringLiveAnalysis>
4646
<RunAnalyzers>false</RunAnalyzers>
4747
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
48-
<NoWarn>NU1701;NU1702;NU1705;NU1608;</NoWarn>
48+
<NoWarn>NU1701;NU1702;NU1705;NU1608;MSTEST0001</NoWarn>
4949
</PropertyGroup>
5050
</Project>

src/Bellatrix.AWS/Bellatrix.AWS.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
<PackageReference Include="AWSSDK.S3" Version="4.0.15" />
77
<PackageReference Include="AWSSDK.SecretsManager" Version="4.0.4.1" />
88
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.23.0" />
9-
<PackageReference Include="NUnit" Version="4.3.2" />
9+
<PackageReference Include="NUnit" Version="4.4.0" />
1010
</ItemGroup>
1111
<ItemGroup>
1212
<ProjectReference Include="..\Bellatrix.Core\Bellatrix.Core.csproj" />
1313
</ItemGroup>
1414
<ItemGroup>
1515
<PackageReference Include="mailslurp" Version="17.0.0" />
16-
<PackageReference Include="RestSharp" Version="112.1.1-alpha.0.4" />
16+
<PackageReference Include="RestSharp" Version="113.0.0" />
1717
<PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0">
1818
<PrivateAssets>all</PrivateAssets>
1919
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

src/Bellatrix.Allure/Bellatrix.Results.Allure.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<ItemGroup>
55
<PackageReference Include="Allure.Commons" Version="3.5.0.73" />
6-
<PackageReference Include="NUnit" Version="4.3.2" />
6+
<PackageReference Include="NUnit" Version="4.4.0" />
77
</ItemGroup>
88

99
<ItemGroup>

src/Bellatrix.Api/Bellatrix.API.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<Import Project="..\..\shared\SharedAssemblyInfo.targets" />
33
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
4-
<NoWarn>NU1701;NU1702;NU1705;NU1608;NU1902;</NoWarn>
4+
<NoWarn>NU1701;NU1702;NU1705;NU1608;NU1902;MSTEST0001</NoWarn>
55
</PropertyGroup>
66

77
<ItemGroup>
88

99
<PackageReference Include="Newtonsoft.Json.Schema" Version="4.0.1" />
1010

11-
<PackageReference Include="NUnit" Version="4.3.2" />
11+
<PackageReference Include="NUnit" Version="4.4.0" />
1212
<PackageReference Include="Polly" Version="8.6.5" />
1313
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.1" />
1414
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.1" />
1515
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.1" />
16-
<PackageReference Include="RestSharp" Version="112.1.1-alpha.0.4" />
17-
<PackageReference Include="MSTest" Version="3.8.3" />
16+
<PackageReference Include="RestSharp" Version="113.0.0" />
17+
<PackageReference Include="MSTest" Version="4.0.2" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

src/Bellatrix.BugReporting/Bellatrix.BugReporting.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<PackageReference Include="Microsoft.TeamFoundationServer.Client" Version="19.225.1" />
1313
<PackageReference Include="Microsoft.TeamFoundationServer.ExtendedClient" Version="19.225.1" />
1414
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
15-
<PackageReference Include="NUnit" Version="4.3.2" />
16-
<PackageReference Include="RestSharp" Version="112.1.1-alpha.0.4" />
17-
<PackageReference Include="RestSharp.Serializers.NewtonsoftJson" Version="112.1.1-alpha.0.4" />
15+
<PackageReference Include="NUnit" Version="4.4.0" />
16+
<PackageReference Include="RestSharp" Version="113.0.0" />
17+
<PackageReference Include="RestSharp.Serializers.NewtonsoftJson" Version="113.0.0" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

src/Bellatrix.CognitiveServices/Bellatrix.CognitiveServices.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ItemGroup>
44
<PackageReference Include="Azure.AI.FormRecognizer" Version="4.1.0" />
55
<PackageReference Include="Microsoft.Azure.CognitiveServices.Vision.ComputerVision" Version="7.0.1" />
6-
<PackageReference Include="NUnit" Version="4.3.2" />
6+
<PackageReference Include="NUnit" Version="4.4.0" />
77
</ItemGroup>
88
<ItemGroup>
99
<ProjectReference Include="..\Bellatrix.Core\Bellatrix.Core.csproj" />

src/Bellatrix.CognitiveServices/services/AssertedTableFormCell.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// <copyright file="AssertedTableFormCell.cs" company="Automate The Planet Ltd.">
1+
// <copyright file="AssertedTableFormCell.cs" company="Automate The Planet Ltd.">
22
// Copyright 2025 Automate The Planet Ltd.
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// You may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)