From c42a38e53b81c1112d5ac53aae65a6cde46859b3 Mon Sep 17 00:00:00 2001 From: Jorge Canizales Date: Sun, 21 Jun 2015 14:44:25 -0700 Subject: [PATCH] Import headers based on path in the tests project Part of fixing https://github.com/grpc/grpc/issues/2192 --- src/objective-c/tests/GRPCClientTests.m | 8 ++++---- src/objective-c/tests/InteropTests.m | 6 +++--- src/objective-c/tests/LocalClearTextTests.m | 8 ++++---- src/objective-c/tests/RxLibraryUnitTests.m | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/objective-c/tests/GRPCClientTests.m b/src/objective-c/tests/GRPCClientTests.m index 268e67af2f0..e421127ea1e 100644 --- a/src/objective-c/tests/GRPCClientTests.m +++ b/src/objective-c/tests/GRPCClientTests.m @@ -34,11 +34,11 @@ #import #import -#import -#import -#import -#import +#import +#import #import +#import +#import // These are a few tests similar to InteropTests, but which use the generic gRPC client (GRPCCall) // rather than a generated proto library on top of it. diff --git a/src/objective-c/tests/InteropTests.m b/src/objective-c/tests/InteropTests.m index 0a512c17dcb..684f7c2ff6f 100644 --- a/src/objective-c/tests/InteropTests.m +++ b/src/objective-c/tests/InteropTests.m @@ -36,13 +36,13 @@ #import #import -#import -#import -#import +#import #import #import #import #import +#import +#import // Convenience constructors for the generated proto messages: diff --git a/src/objective-c/tests/LocalClearTextTests.m b/src/objective-c/tests/LocalClearTextTests.m index 68ffd232003..05cc10410a1 100644 --- a/src/objective-c/tests/LocalClearTextTests.m +++ b/src/objective-c/tests/LocalClearTextTests.m @@ -34,12 +34,12 @@ #import #import -#import -#import -#import -#import +#import +#import #import #import +#import +#import // These tests require a gRPC "RouteGuide" sample server to be running locally. You can compile and // run one by following the instructions here: https://github.com/grpc/grpc-common/blob/master/cpp/cpptutorial.md#try-it-out diff --git a/src/objective-c/tests/RxLibraryUnitTests.m b/src/objective-c/tests/RxLibraryUnitTests.m index 89984d9481c..5e3162875a7 100644 --- a/src/objective-c/tests/RxLibraryUnitTests.m +++ b/src/objective-c/tests/RxLibraryUnitTests.m @@ -34,9 +34,9 @@ #import #import -#import -#import -#import +#import +#import +#import // A mock of a GRXSingleValueHandler block that can be queried for how many times it was called and // what were the last values passed to it.