14 instantiations of MessageSizeTestData
Microsoft.AspNetCore.Components.Server.Tests (14)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\MessagePackHubProtocolTestBase.cs (14)
414new MessageSizeTestData("InvocationMessage_WithoutInvocationId", new InvocationMessage("Target", new object[] { 1 }), 15), 415new MessageSizeTestData("InvocationMessage_WithInvocationId", new InvocationMessage("1", "Target", new object[] { 1 }), 16), 416new MessageSizeTestData("InvocationMessage_WithInvocationIdAndStreamId", new InvocationMessage("1", "Target", new object[] { 1 }, new string[] { "2" }), 18), 418new MessageSizeTestData("CloseMessage_Empty", CloseMessage.Empty, 5), 419new MessageSizeTestData("CloseMessage_WithError", new CloseMessage("error"), 10), 421new MessageSizeTestData("StreamItemMessage_WithNullItem", new StreamItemMessage("1", null), 7), 422new MessageSizeTestData("StreamItemMessage_WithItem", new StreamItemMessage("1", 1), 7), 424new MessageSizeTestData("CompletionMessage_Empty", CompletionMessage.Empty("1"), 7), 425new MessageSizeTestData("CompletionMessage_WithResult", CompletionMessage.WithResult("1", 1), 8), 426new MessageSizeTestData("CompletionMessage_WithError", CompletionMessage.WithError("1", "error"), 13), 428new MessageSizeTestData("StreamInvocationMessage", new StreamInvocationMessage("1", "target", Array.Empty<object>()), 15), 429new MessageSizeTestData("StreamInvocationMessage_WithStreamId", new StreamInvocationMessage("1", "target", Array.Empty<object>(), new [] { "2" }), 17), 431new MessageSizeTestData("CancelInvocationMessage", new CancelInvocationMessage("1"), 6), 433new MessageSizeTestData("PingMessage", PingMessage.Instance, 3),
2 references to MessageSizeTestData
Microsoft.AspNetCore.Components.Server.Tests (2)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\MessagePackHubProtocolTestBase.cs (2)
412public static IDictionary<string, MessageSizeTestData> MessageSizeData => new[] 443var testData = MessageSizeData[testDataName];