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