Browse Source

address coreCLR TODO

Jan Tattermusch 9 năm trước cách đây
mục cha
commit
7b3cf071c3

+ 0 - 3
src/csharp/Grpc.IntegrationTesting/GeneratedClientTest.cs

@@ -48,8 +48,6 @@ namespace Grpc.IntegrationTesting
     {
     {
         TestService.TestServiceClient unimplementedClient = new UnimplementedTestServiceClient();
         TestService.TestServiceClient unimplementedClient = new UnimplementedTestServiceClient();
 
 
-        // TODO: replace Moq by some mocking library with CoreCLR support.
-#if !NETCOREAPP1_0
         [Test]
         [Test]
         public void ExpandedParamOverloadCanBeMocked()
         public void ExpandedParamOverloadCanBeMocked()
         {
         {
@@ -72,7 +70,6 @@ namespace Grpc.IntegrationTesting
 
 
             Assert.AreSame(expected, mockClient.Object.UnaryCall(new SimpleRequest(), new CallOptions()));
             Assert.AreSame(expected, mockClient.Object.UnaryCall(new SimpleRequest(), new CallOptions()));
         }
         }
-#endif
 
 
         [Test]
         [Test]
         public void DefaultMethodStubThrows_UnaryCall()
         public void DefaultMethodStubThrows_UnaryCall()