runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Need to add test for ClientWebSocketOptions.SetBuffer() desktop implementation

Open caesar-chen opened this issue 9 years ago • 0 comments

In ClientWebSocketOptions.SetBuffer(), we have validations for parameters passed in.

.Net Core has this implementation: https://github.com/dotnet/corefx/blob/master/src/System.Net.WebSockets.Client/src/System/Net/WebSockets/ClientWebSocketOptions.cs#L168 While .Net Framework's implementation is different: https://github.com/Microsoft/referencesource/blob/master/System/net/System/Net/WebSockets/WebSocketHelpers.cs#L471

Which causes failure for ClientWebSocketOptionsTests: https://github.com/dotnet/corefx/blob/master/src/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs#L37

Need to test desktop separately.

caesar-chen avatar May 26 '17 16:05 caesar-chen