Searched refs:DefaultSuccess (Results 1 – 5 of 5) sorted by relevance
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | AsyncCallTest.cs | 77 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in AsyncUnary_Success() 101 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in AsyncUnary_NullResponsePayload() 158 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in ClientStreaming_NoRequest_Success() 196 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in ClientStreaming_MoreRequests_Success() 282 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in ClientStreaming_WriteAfterReceivingStatusThrowsRpcException() 290 Assert.AreEqual(Status.DefaultSuccess, ex.Status); in ClientStreaming_WriteAfterReceivingStatusThrowsRpcException() 324 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in ClientStreaming_WriteAfterCompleteThrowsInvalidOperationException() 338 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in ClientStreaming_CompleteAfterReceivingStatusSucceeds() 394 …tCallback.OnReceivedStatusOnClient(true, new ClientSideStatus(Status.DefaultSuccess, new Metadata(… in ServerStreaming_NoResponse_Success1() 407 …tCallback.OnReceivedStatusOnClient(true, new ClientSideStatus(Status.DefaultSuccess, new Metadata(… in ServerStreaming_NoResponse_Success2() [all …]
|
D | AsyncCallServerTest.cs | 151 …var writeStatusTask = asyncCallServer.SendStatusFromServerAsync(Status.DefaultSuccess, new Metadat… in WriteAndWriteStatusCanRunConcurrently() 170 asyncCallServer.SendStatusFromServerAsync(Status.DefaultSuccess, new Metadata(), null); in WriteAfterWriteStatusThrowsInvalidOperationException()
|
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/ |
D | MathClientMockableTest.cs | 59 …esult(new DivReply()), Task.FromResult(new Metadata()), () => Status.DefaultSuccess, () => new Met… in ClientBaseAsyncUnaryCallCanBeMocked() 71 …FromResult(new Num()), Task.FromResult(new Metadata()), () => Status.DefaultSuccess, () => new Met… in ClientBaseClientStreamingCallCanBeMocked() 83 …ResponseStream.Object, Task.FromResult(new Metadata()), () => Status.DefaultSuccess, () => new Met… in ClientBaseServerStreamingCallCanBeMocked() 96 …ResponseStream.Object, Task.FromResult(new Metadata()), () => Status.DefaultSuccess, () => new Met… in ClientBaseDuplexStreamingCallCanBeMocked()
|
/external/grpc-grpc/src/csharp/Grpc.Core/ |
D | Status.cs | 29 public static readonly Status DefaultSuccess = new Status(StatusCode.OK, ""); field
|
D | ServerCallContext.cs | 46 private Status status = Status.DefaultSuccess;
|