Home
last modified time | relevance | path

Searched refs:DefaultSuccess (Results 1 – 6 of 6) sorted by relevance

/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DAsyncCallTest.cs81 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in AsyncUnary_Success()
105 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in AsyncUnary_NullResponsePayload()
162 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in ClientStreaming_NoRequest_Success()
200 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in ClientStreaming_MoreRequests_Success()
286 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in ClientStreaming_WriteAfterReceivingStatusThrowsRpcException()
294 Assert.AreEqual(Status.DefaultSuccess, ex.Status); in ClientStreaming_WriteAfterReceivingStatusThrowsRpcException()
328 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in ClientStreaming_WriteAfterCompleteThrowsInvalidOperationException()
342 new ClientSideStatus(Status.DefaultSuccess, new Metadata()), in ClientStreaming_CompleteAfterReceivingStatusSucceeds()
398 …tCallback.OnReceivedStatusOnClient(true, new ClientSideStatus(Status.DefaultSuccess, new Metadata(… in ServerStreaming_NoResponse_Success1()
411 …tCallback.OnReceivedStatusOnClient(true, new ClientSideStatus(Status.DefaultSuccess, new Metadata(… in ServerStreaming_NoResponse_Success2()
[all …]
DAsyncCallServerTest.cs154 …var writeStatusTask = asyncCallServer.SendStatusFromServerAsync(Status.DefaultSuccess, new Metadat… in WriteAndWriteStatusCanRunConcurrently()
173 asyncCallServer.SendStatusFromServerAsync(Status.DefaultSuccess, new Metadata(), null); in WriteAfterWriteStatusThrowsInvalidOperationException()
/third_party/grpc/src/csharp/Grpc.Examples.Tests/
DMathClientMockableTest.cs59 …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()
/third_party/grpc/src/csharp/Grpc.Core.Api/
DStatus.cs29 public static readonly Status DefaultSuccess = new Status(StatusCode.OK, ""); field
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DDefaultServerCallContext.cs58 this.status = Status.DefaultSuccess; in DefaultServerCallContext()
/third_party/grpc/src/csharp/Grpc.Core.Testing/
DTestServerCallContext.cs68 this.status = Status.DefaultSuccess; in TestingServerCallContext()