27 references to Empty
Microsoft.AspNetCore.Components.Server.Tests (3)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\MessagePackHubProtocolTestBase.cs (3)
121
message: CompletionMessage.
Empty
("xyz"),
125
message: AddHeaders(TestHeaders, CompletionMessage.
Empty
("xyz")),
424
new MessageSizeTestData("CompletionMessage_Empty", CompletionMessage.
Empty
("1"), 7),
Microsoft.AspNetCore.SignalR.Common.Tests (6)
Internal\Protocol\JsonHubProtocolTestsBase.cs (3)
60
new JsonProtocolTestData("CompletionMessage_HasErrorAndCamelCase", CompletionMessage.
Empty
("123"), true, true, "{\"type\":3,\"invocationId\":\"123\"}"),
62
new JsonProtocolTestData("CompletionMessage_HasErrorAndHeadersAndCamelCase", AddHeaders(TestHeaders, CompletionMessage.
Empty
("123")), true, true, "{\"type\":3," + SerializedHeaders + ",\"invocationId\":\"123\"}"),
372
new MessageSizeTestData("CompletionMessage_Empty", CompletionMessage.
Empty
("1"), 30),
Internal\Protocol\MessagePackHubProtocolTestBase.cs (3)
121
message: CompletionMessage.
Empty
("xyz"),
125
message: AddHeaders(TestHeaders, CompletionMessage.
Empty
("xyz")),
424
new MessageSizeTestData("CompletionMessage_Empty", CompletionMessage.
Empty
("1"), 7),
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
499
connection.StreamTracker.TryComplete(CompletionMessage.
Empty
(stream));
Microsoft.AspNetCore.SignalR.Microbenchmarks (4)
DefaultHubDispatcherBenchmark.cs (4)
346
await _dispatcher.DispatchMessageAsync(_connectionContext, CompletionMessage.
Empty
("1"));
357
await _dispatcher.DispatchMessageAsync(_connectionContext, CompletionMessage.
Empty
("1"));
371
await _dispatcher.DispatchMessageAsync(_connectionContext, CompletionMessage.
Empty
("1"));
385
await _dispatcher.DispatchMessageAsync(_connectionContext, CompletionMessage.
Empty
("1"));
Microsoft.AspNetCore.SignalR.Tests (13)
HubConnectionHandlerTests.cs (13)
2030
HubConnectionHandlerTestUtils.AssertHubMessage(CompletionMessage.
Empty
(string.Empty), messages[4]);
3633
await client.SendHubMessageAsync(CompletionMessage.
Empty
("id")).DefaultTimeout();
3657
await client.SendHubMessageAsync(CompletionMessage.
Empty
("id")).DefaultTimeout();
3696
await client.SendHubMessageAsync(CompletionMessage.
Empty
(id)).DefaultTimeout();
3752
await client.SendHubMessageAsync(CompletionMessage.
Empty
("id")).DefaultTimeout();
3784
await client.SendHubMessageAsync(CompletionMessage.
Empty
("id")).DefaultTimeout();
3879
await client.SendHubMessageAsync(CompletionMessage.
Empty
("id")).DefaultTimeout();
3976
await client.SendHubMessageAsync(CompletionMessage.
Empty
("fake_id")).DefaultTimeout();
4066
await client.SendHubMessageAsync(CompletionMessage.
Empty
("id")).DefaultTimeout();
4110
await client.SendHubMessageAsync(CompletionMessage.
Empty
("id")).DefaultTimeout();
4428
await client.SendHubMessageAsync(CompletionMessage.
Empty
(streamId));
4494
HubConnectionHandlerTestUtils.AssertHubMessage(CompletionMessage.
Empty
(string.Empty), messages[1]);
4721
await client.SendHubMessageAsync(CompletionMessage.
Empty
("1")).DefaultTimeout();