build: bump xunit.v3 to 3.2.2 repo-wide, drop the four VersionOverrides (#795)
v2-ci / unit-tests (push) Has been cancelled
v2-ci / unit-tests (push) Has been cancelled
Central pin 1.1.0 -> 3.2.2; AdminUI/ControlPlane/Runtime/Host.Tests no longer carry VersionOverride. The three driver IntegrationTests fixtures' Fact/Theory attributes gain the source-info ctor (xUnit3003). No xUnit1051 fallout remained (already cleaned). Test counts unchanged. Claude-Session: https://claude.ai/code/session_01GT67AEHd2Acv1YPwGfXEoV
This commit is contained in:
@@ -100,7 +100,10 @@ public sealed class AbServerFixture : IAsyncLifetime
|
||||
public sealed class AbServerFactAttribute : FactAttribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the AbServerFactAttribute class.</summary>
|
||||
public AbServerFactAttribute()
|
||||
public AbServerFactAttribute(
|
||||
[System.Runtime.CompilerServices.CallerFilePath] string? sourceFilePath = null,
|
||||
[System.Runtime.CompilerServices.CallerLineNumber] int sourceLineNumber = -1)
|
||||
: base(sourceFilePath, sourceLineNumber)
|
||||
{
|
||||
if (!AbServerFixture.IsServerAvailable())
|
||||
Skip = "ab_server not reachable. Start the Docker container " +
|
||||
@@ -118,7 +121,10 @@ public sealed class AbServerFactAttribute : FactAttribute
|
||||
public sealed class AbServerTheoryAttribute : TheoryAttribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the AbServerTheoryAttribute class.</summary>
|
||||
public AbServerTheoryAttribute()
|
||||
public AbServerTheoryAttribute(
|
||||
[System.Runtime.CompilerServices.CallerFilePath] string? sourceFilePath = null,
|
||||
[System.Runtime.CompilerServices.CallerLineNumber] int sourceLineNumber = -1)
|
||||
: base(sourceFilePath, sourceLineNumber)
|
||||
{
|
||||
if (!AbServerFixture.IsServerAvailable())
|
||||
Skip = "ab_server not reachable. Start the Docker container " +
|
||||
|
||||
+8
-2
@@ -239,7 +239,10 @@ public sealed class AbLegacyServerCollection : Xunit.ICollectionFixture<AbLegacy
|
||||
public sealed class AbLegacyFactAttribute : FactAttribute
|
||||
{
|
||||
/// <summary>Initializes the attribute, skipping the test if the server is unavailable.</summary>
|
||||
public AbLegacyFactAttribute()
|
||||
public AbLegacyFactAttribute(
|
||||
[System.Runtime.CompilerServices.CallerFilePath] string? sourceFilePath = null,
|
||||
[System.Runtime.CompilerServices.CallerLineNumber] int sourceLineNumber = -1)
|
||||
: base(sourceFilePath, sourceLineNumber)
|
||||
{
|
||||
if (!AbLegacyServerFixture.IsServerAvailable())
|
||||
Skip = "AB Legacy PCCC endpoint not reachable. Start the Docker fixture " +
|
||||
@@ -254,7 +257,10 @@ public sealed class AbLegacyFactAttribute : FactAttribute
|
||||
public sealed class AbLegacyTheoryAttribute : TheoryAttribute
|
||||
{
|
||||
/// <summary>Initializes the attribute, skipping the test if the server is unavailable.</summary>
|
||||
public AbLegacyTheoryAttribute()
|
||||
public AbLegacyTheoryAttribute(
|
||||
[System.Runtime.CompilerServices.CallerFilePath] string? sourceFilePath = null,
|
||||
[System.Runtime.CompilerServices.CallerLineNumber] int sourceLineNumber = -1)
|
||||
: base(sourceFilePath, sourceLineNumber)
|
||||
{
|
||||
if (!AbLegacyServerFixture.IsServerAvailable())
|
||||
Skip = "AB Legacy PCCC endpoint not reachable. Start the Docker fixture " +
|
||||
|
||||
+8
-2
@@ -124,7 +124,10 @@ public sealed class TwinCATXarCollection : Xunit.ICollectionFixture<TwinCATXarFi
|
||||
public sealed class TwinCATFactAttribute : FactAttribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the TwinCATFactAttribute class.</summary>
|
||||
public TwinCATFactAttribute()
|
||||
public TwinCATFactAttribute(
|
||||
[System.Runtime.CompilerServices.CallerFilePath] string? sourceFilePath = null,
|
||||
[System.Runtime.CompilerServices.CallerLineNumber] int sourceLineNumber = -1)
|
||||
: base(sourceFilePath, sourceLineNumber)
|
||||
{
|
||||
if (!TwinCATXarFixture.IsRuntimeAvailable())
|
||||
Skip = "TwinCAT XAR not reachable. See docs/drivers/TwinCAT-Test-Fixture.md " +
|
||||
@@ -136,7 +139,10 @@ public sealed class TwinCATFactAttribute : FactAttribute
|
||||
public sealed class TwinCATTheoryAttribute : TheoryAttribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the TwinCATTheoryAttribute class.</summary>
|
||||
public TwinCATTheoryAttribute()
|
||||
public TwinCATTheoryAttribute(
|
||||
[System.Runtime.CompilerServices.CallerFilePath] string? sourceFilePath = null,
|
||||
[System.Runtime.CompilerServices.CallerLineNumber] int sourceLineNumber = -1)
|
||||
: base(sourceFilePath, sourceLineNumber)
|
||||
{
|
||||
if (!TwinCATXarFixture.IsRuntimeAvailable())
|
||||
Skip = "TwinCAT XAR not reachable. See docs/drivers/TwinCAT-Test-Fixture.md " +
|
||||
|
||||
Reference in New Issue
Block a user