(tc testgrpc.TestServiceClient, t *testing.T)
| 799 | } |
| 800 | |
| 801 | func doSuccessfulUnaryCall(tc testgrpc.TestServiceClient, t *testing.T) { |
| 802 | ctx, cancel := context.WithTimeout(context.Background(), defaultTestTimeout) |
| 803 | defer cancel() |
| 804 | if _, err := tc.EmptyCall(ctx, &testpb.Empty{}); err != nil { |
| 805 | t.Fatalf("TestService/EmptyCall(_, _) = _, %v, want _, <nil>", err) |
| 806 | } |
| 807 | } |
| 808 | |
| 809 | func doStreamingInputCallWithLargePayload(tc testgrpc.TestServiceClient, t *testing.T) { |
| 810 | ctx, cancel := context.WithTimeout(context.Background(), defaultTestTimeout) |
no test coverage detected