Skip to content

Use RecyclableMemoryStream instead of MemoryStream (#133) #23

Use RecyclableMemoryStream instead of MemoryStream (#133)

Use RecyclableMemoryStream instead of MemoryStream (#133) #23

GitHub Actions / tests succeeded Feb 14, 2024 in 1s

45 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
test_integration/Websocket.Client.Tests.Integration/TestResults/tests.trx 6βœ… 43s
test/Websocket.Client.Tests/TestResults/tests.trx 39βœ… 148s

βœ…Β test_integration/Websocket.Client.Tests.Integration/TestResults/tests.trx

6 tests were completed in 43s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Websocket.Client.Tests.Integration.WebsocketClientTests 6βœ… 42s

βœ…Β Websocket.Client.Tests.Integration.WebsocketClientTests

βœ… DisabledReconnecting_ShouldWorkAsExpected
βœ… DisabledReconnecting_ShouldWorkAtRuntime
βœ… OnClose_ShouldWorkCorrectly
βœ… OnStarting_ShouldGetInfoResponse
βœ… SendMessageBeforeStart_ShouldWorkAfterStart
βœ… Starting_MultipleTimes_ShouldWorkWithNoExceptions

βœ…Β test/Websocket.Client.Tests/TestResults/tests.trx

39 tests were completed in 148s with 39 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Websocket.Client.Tests.AdvancedTests 4βœ… 553ms
Websocket.Client.Tests.BasicTests 2βœ… 1s
Websocket.Client.Tests.ConnectionTests 13βœ… 85s
Websocket.Client.Tests.PerformanceTests 9βœ… 2s
Websocket.Client.Tests.ReconnectionTests 8βœ… 55s
Websocket.Client.Tests.SendingTests 3βœ… 4s

βœ…Β Websocket.Client.Tests.AdvancedTests

βœ… Echo_LargeMessage_ShouldReceiveCorrectly
βœ… Echo_OneChunkMessage_ShouldReceiveCorrectly
βœ… IsTextMessageConversionEnabled_False_ShouldReceiveStringMessageAsBinary
βœ… StreamFakeMessage_CustomMessage_ShouldBeFakelyStreamed

βœ…Β Websocket.Client.Tests.BasicTests

βœ… Echo_ShouldReceiveInCorrectOrder
βœ… PingPong

βœ…Β Websocket.Client.Tests.ConnectionTests

βœ… Dispose_ShouldWorkCorrectly
βœ… Starting_MultipleTimes_ShouldWorkWithNoExceptions
βœ… StartOrFail_InvalidServer_ShouldThrowException
βœ… StartOrFail_ValidServer_ShouldWorkAsExpected
βœ… Stopping_AfterChangingToInvalidServer_ShouldStopReconnection
βœ… Stopping_ByServer_CancelNoReconnect_ShouldNotFinishClosing
βœ… Stopping_ByServer_CancelWithReconnect_ShouldNotFinishClosing
βœ… Stopping_ByServer_NoReconnection_ShouldWorkCorrectly
βœ… Stopping_ByServer_WithReconnection_ShouldWorkCorrectly
βœ… Stopping_ByUser_NormalClosure_ShouldntTriggerReconnect(reconnectionEnabled: False)
βœ… Stopping_ByUser_NormalClosure_ShouldntTriggerReconnect(reconnectionEnabled: True)
βœ… Stopping_InvalidServer_ShouldStopReconnection
βœ… Stopping_ShouldWorkCorrectly

βœ…Β Websocket.Client.Tests.PerformanceTests

βœ… SendingRequests_LargeMessages(messageCount: 10)
βœ… SendingRequests_LargeMessages(messageCount: 100)
βœ… SendingRequests_LargeMessages(messageCount: 1000)
βœ… SendingRequests_LargeMessages(messageCount: 10000)
βœ… SendingRequests_SmallMessages(messageCount: 10)
βœ… SendingRequests_SmallMessages(messageCount: 100)
βœ… SendingRequests_SmallMessages(messageCount: 1000)
βœ… SendingRequests_SmallMessages(messageCount: 10000)
βœ… SendingRequests_SmallMessages(messageCount: 100000)

βœ…Β Websocket.Client.Tests.ReconnectionTests

βœ… CancelingReconnection_ViaDisconnectionStream_ShouldWork
βœ… DisabledReconnecting_OnlyNoMessage_ShouldWorkAsExpected
βœ… DisabledReconnecting_ShouldWorkAsExpected
βœ… DisabledReconnecting_ShouldWorkAtRuntime
βœ… ManualReconnect_Advanced_ShouldWorkAsExpected
βœ… ManualReconnect_ShouldWorkAsExpected
βœ… ManualReconnectOrFail_ShouldThrowException
βœ… Reconnecting_ShouldWorkAsExpected

βœ…Β Websocket.Client.Tests.SendingTests

βœ… SendBinaryMessage_ShouldWork
βœ… SendMessageAfterDispose_ShouldDoNothing
βœ… SendMessageBeforeStart_ShouldWorkAfterStart