improved the unit tests #426
Annotations
2 errors and 67 warnings
build (macos-latest)
The job running on runner GitHub Actions 4 has exceeded the maximum execution time of 360 minutes.
|
build (macos-latest)
The operation was canceled.
|
build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
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)
|
build (ubuntu-latest):
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)
|
build (ubuntu-latest):
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)
|
build (ubuntu-latest):
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)
|
build (ubuntu-latest):
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)
|
build (ubuntu-latest):
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)
|
build (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest)
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 (ubuntu-latest)
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 (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
test/SuperSocket.Tests/ClientTest.cs#L152
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
|
build (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
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)
|
build (windows-latest):
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)
|
build (windows-latest):
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)
|
build (windows-latest):
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)
|
build (windows-latest):
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)
|
build (windows-latest)
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 (windows-latest)
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
test/SuperSocket.Tests/AspNetIntegrationTest.cs#L212
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 (macos-latest):
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 (macos-latest):
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 (macos-latest)
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 (macos-latest)
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 (macos-latest):
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 (macos-latest):
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 (macos-latest):
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 (macos-latest):
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 (macos-latest):
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 (macos-latest):
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 (macos-latest):
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 (macos-latest):
test/SuperSocket.Tests/AspNetIntegrationTest.cs#L212
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 (macos-latest):
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 (macos-latest):
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 (macos-latest):
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 (macos-latest):
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 (macos-latest):
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 (macos-latest):
test/SuperSocket.Tests/ClientTest.cs#L79
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 (macos-latest):
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)
|
build (macos-latest):
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)
|
build (macos-latest):
test/SuperSocket.Tests/AspNetIntegrationTest.cs#L212
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 (macos-latest):
test/SuperSocket.Tests/AspNetIntegrationTest.cs#L218
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)
|