|
|
|
@ -65,8 +65,6 @@ DECLARE_string(default_service_account); |
|
|
|
|
DECLARE_string(service_account_key_file); |
|
|
|
|
DECLARE_string(oauth_scope); |
|
|
|
|
|
|
|
|
|
using grpc::testing::CompressionType; |
|
|
|
|
|
|
|
|
|
namespace grpc { |
|
|
|
|
namespace testing { |
|
|
|
|
|
|
|
|
@ -143,20 +141,6 @@ std::shared_ptr<ChannelInterface> CreateChannelForTestCase( |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
CompressionType GetInteropCompressionTypeFromCompressionAlgorithm( |
|
|
|
|
grpc_compression_algorithm algorithm) { |
|
|
|
|
switch (algorithm) { |
|
|
|
|
case GRPC_COMPRESS_NONE: |
|
|
|
|
return CompressionType::NONE; |
|
|
|
|
case GRPC_COMPRESS_GZIP: |
|
|
|
|
return CompressionType::GZIP; |
|
|
|
|
case GRPC_COMPRESS_DEFLATE: |
|
|
|
|
return CompressionType::DEFLATE; |
|
|
|
|
default: |
|
|
|
|
GPR_ASSERT(false); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
InteropClientContextInspector::InteropClientContextInspector( |
|
|
|
|
const ::grpc::ClientContext& context) |
|
|
|
|
: context_(context) {} |
|
|
|
|