fix unit tests

pull/19704/head
Muxi Yan 5 years ago
parent f80c11efe2
commit 249f793a7b
  1. 2
      src/objective-c/tests/UnitTests/APIv2Tests.m
  2. 3
      src/objective-c/tests/UnitTests/GRPCClientTests.m

@ -17,7 +17,6 @@
*/ */
#import <GRPCClient/GRPCCall.h> #import <GRPCClient/GRPCCall.h>
#import <GRPCClient/version.h>
#import <ProtoRPC/ProtoMethod.h> #import <ProtoRPC/ProtoMethod.h>
#import <XCTest/XCTest.h> #import <XCTest/XCTest.h>
#import "src/objective-c/tests/RemoteTestClient/Messages.pbobjc.h" #import "src/objective-c/tests/RemoteTestClient/Messages.pbobjc.h"
@ -25,6 +24,7 @@
#include <grpc/grpc.h> #include <grpc/grpc.h>
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#import "../version.h"
// The server address is derived from preprocessor macro, which is // The server address is derived from preprocessor macro, which is
// in turn derived from environment variable of the same name. // in turn derived from environment variable of the same name.

@ -25,7 +25,6 @@
#import <GRPCClient/GRPCCall+Tests.h> #import <GRPCClient/GRPCCall+Tests.h>
#import <GRPCClient/GRPCCall.h> #import <GRPCClient/GRPCCall.h>
#import <GRPCClient/internal_testing/GRPCCall+InternalTests.h> #import <GRPCClient/internal_testing/GRPCCall+InternalTests.h>
#import <GRPCClient/version.h>
#import <ProtoRPC/ProtoMethod.h> #import <ProtoRPC/ProtoMethod.h>
#import <RxLibrary/GRXBufferedPipe.h> #import <RxLibrary/GRXBufferedPipe.h>
#import <RxLibrary/GRXWriteable.h> #import <RxLibrary/GRXWriteable.h>
@ -34,6 +33,8 @@
#include <netinet/in.h> #include <netinet/in.h>
#import "../version.h"
#define TEST_TIMEOUT 16 #define TEST_TIMEOUT 16
// The server address is derived from preprocessor macro, which is // The server address is derived from preprocessor macro, which is

Loading…
Cancel
Save