5 instantiations of ClientResultTestData
Microsoft.AspNetCore.SignalR.Common.Tests (5)
Internal\Protocol\JsonHubProtocolTestsBase.cs (5)
407
new
ClientResultTestData
("SimpleResult", "{\"type\":3,\"invocationId\":\"1\",\"result\":45}", typeof(int), 45),
408
new
ClientResultTestData
("SimpleResult_InvocationIdLast", "{\"type\":3,\"result\":45,\"invocationId\":\"1\"}", typeof(int), 45),
409
new
ClientResultTestData
("MissingResult", "{\"type\":3,\"invocationId\":\"1\"}", typeof(int), null),
411
new
ClientResultTestData
("ComplexResult", "{\"type\":3,\"invocationId\":\"1\",\"result\":{\"stringProp\":\"test\",\"doubleProp\":1.1,\"intProp\":0,\"dateTimeProp\":\"0001-01-01T00:00:00\",\"nullProp\":null,\"byteArrProp\":\"AgQG\"}}", typeof(CustomObject),
420
new
ClientResultTestData
("ComplexResult_InvocationIdLast", "{\"type\":3,\"result\":{\"stringProp\":\"test\",\"doubleProp\":1.1,\"intProp\":0,\"dateTimeProp\":\"0001-01-01T00:00:00\",\"nullProp\":null,\"byteArrProp\":\"AgQG\"},\"invocationId\":\"1\"}", typeof(CustomObject),
2 references to ClientResultTestData
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\JsonHubProtocolTestsBase.cs (2)
405
public static IDictionary<string,
ClientResultTestData
> ClientResultData => new[]
437
var
testData = ClientResultData[testDataName];