Refactor code structure and optimize performance across multiple modules

This commit is contained in:
StellaOps Bot
2025-12-26 20:03:22 +02:00
parent c786faae84
commit b4fc66feb6
3353 changed files with 88254 additions and 1590657 deletions

View File

@@ -5,11 +5,14 @@ using System.Diagnostics.Metrics;
using StellaOps.Concelier.Models;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Concelier.Models.Tests;
public sealed class OsvGhsaParityDiagnosticsTests
{
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void RecordReport_EmitsTotalAndIssues()
{
var issues = ImmutableArray.Create(
@@ -45,7 +48,8 @@ public sealed class OsvGhsaParityDiagnosticsTests
Assert.Equal("none", severity.Tags["fieldMask"]);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void RecordReport_NoIssues_OnlyEmitsTotal()
{
var report = new OsvGhsaParityReport(0, ImmutableArray<OsvGhsaParityIssue>.Empty);