14 instantiations of MessageSizeTestData
Microsoft.AspNetCore.SignalR.Common.Tests (14)
Internal\Protocol\JsonHubProtocolTestsBase.cs (14)
362
new
MessageSizeTestData
("InvocationMessage_WithoutInvocationId", new InvocationMessage("Target", new object[] { 1 }), 45),
363
new
MessageSizeTestData
("InvocationMessage_WithInvocationId", new InvocationMessage("1", "Target", new object[] { 1 }), 64),
364
new
MessageSizeTestData
("InvocationMessage_WithInvocationIdAndStreamId", new InvocationMessage("1", "Target", new object[] { 1 }, new string[] { "2" }), 82),
366
new
MessageSizeTestData
("CloseMessage_Empty", CloseMessage.Empty, 11),
367
new
MessageSizeTestData
("CloseMessage_WithError", new CloseMessage("error"), 27),
369
new
MessageSizeTestData
("StreamItemMessage_WithNullItem", new StreamItemMessage("1", null), 42),
370
new
MessageSizeTestData
("StreamItemMessage_WithItem", new StreamItemMessage("1", 1), 39),
372
new
MessageSizeTestData
("CompletionMessage_Empty", CompletionMessage.Empty("1"), 30),
373
new
MessageSizeTestData
("CompletionMessage_WithResult", CompletionMessage.WithResult("1", 1), 41),
374
new
MessageSizeTestData
("CompletionMessage_WithError", CompletionMessage.WithError("1", "error"), 46),
376
new
MessageSizeTestData
("StreamInvocationMessage", new StreamInvocationMessage("1", "target", Array.Empty<object>()), 63),
377
new
MessageSizeTestData
("StreamInvocationMessage_WithStreamId", new StreamInvocationMessage("1", "target", Array.Empty<object>(), new [] { "2" }), 81),
379
new
MessageSizeTestData
("CancelInvocationMessage", new CancelInvocationMessage("1"), 30),
381
new
MessageSizeTestData
("PingMessage", PingMessage.Instance, 11),
2 references to MessageSizeTestData
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\JsonHubProtocolTestsBase.cs (2)
360
public static IDictionary<string,
MessageSizeTestData
> MessageSizeData => new[]
391
var
testData = MessageSizeData[testDataName];