improved the unit tests #426
Annotations
23 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test - Linux:
src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Test - Linux:
test/SuperSocket.Tests/AspNetIntegrationTest.cs#L96
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Test - Linux:
test/SuperSocket.Tests/AspNetIntegrationTest.cs#L106
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Test - Linux:
test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L155
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Test - Linux:
test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L161
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Test - Linux:
test/SuperSocket.Tests/AutofacTest.cs#L63
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Test - Linux:
test/SuperSocket.Tests/AutofacTest.cs#L71
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Test - Linux:
test/SuperSocket.Tests/AutofacTest.cs#L72
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Test - Linux:
test/SuperSocket.Tests/AutofacTest.cs#L76
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Test - Linux:
test/SuperSocket.Tests/AutofacTest.cs#L77
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Build Samples:
src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build Samples:
src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
Build:
src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
test/SuperSocket.Tests/AspNetIntegrationTest.cs#L140
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Build:
test/SuperSocket.Tests/AspNetIntegrationTest.cs#L96
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Build:
test/SuperSocket.Tests/AspNetIntegrationTest.cs#L150
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Build:
test/SuperSocket.Tests/AspNetIntegrationTest.cs#L106
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
Build:
test/SuperSocket.Tests/ClientTest.cs#L152
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
|
Loading