renamed unimplemented_method -> unimplemented_service

pull/8463/head
Noah Eisen 8 years ago
parent 99e61f884d
commit 9a171c7446
  1. 8
      src/csharp/Grpc.IntegrationTesting/InteropClient.cs
  2. 4
      src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs

@ -195,8 +195,8 @@ namespace Grpc.IntegrationTesting
case "status_code_and_message":
await RunStatusCodeAndMessageAsync(client);
break;
case "unimplemented_method":
RunUnimplementedMethod(new UnimplementedService.UnimplementedServiceClient(channel));
case "unimplemented_service":
RunUnimplementedService(new UnimplementedService.UnimplementedServiceClient(channel));
break;
case "client_compressed_unary":
RunClientCompressedUnary(client);
@ -577,9 +577,9 @@ namespace Grpc.IntegrationTesting
Console.WriteLine("Passed!");
}
public static void RunUnimplementedMethod(UnimplementedService.UnimplementedServiceClient client)
public static void RunUnimplementedService(UnimplementedService.UnimplementedServiceClient client)
{
Console.WriteLine("running unimplemented_method");
Console.WriteLine("running unimplemented_service");
var e = Assert.Throws<RpcException>(() => client.UnimplementedCall(new Empty()));
Assert.AreEqual(StatusCode.Unimplemented, e.Status.StatusCode);

@ -146,9 +146,9 @@ namespace Grpc.IntegrationTesting
}
[Test]
public void UnimplementedMethod()
public void UnimplementedService()
{
InteropClient.RunUnimplementedMethod(new UnimplementedService.UnimplementedServiceClient(channel));
InteropClient.RunUnimplementedService(new UnimplementedService.UnimplementedServiceClient(channel));
}
}
}

Loading…
Cancel
Save