pull/8532/head
Craig Tiller 8 years ago
parent 31606bdb34
commit d56dae0767
  1. 2
      src/cpp/common/version_cc.cc
  2. 13
      test/core/end2end/end2end_nosec_tests.c
  3. 13
      test/core/end2end/end2end_tests.c

@ -37,5 +37,5 @@
#include <grpc++/grpc++.h>
namespace grpc {
std::string Version() { return "1.1.0-dev"; }
grpc::string Version() { return "1.1.0-dev"; }
}

@ -416,16 +416,3 @@ void grpc_end2end_tests(int argc, char **argv,
abort();
}
}
const char *get_host_override_string(const char *str,
grpc_end2end_test_config config) {
return (config.feature_mask & FEATURE_MASK_SUPPORTS_AUTHORITY_HEADER ? str
: NULL);
}
void validate_host_override_string(const char *pattern, const char *str,
grpc_end2end_test_config config) {
if (config.feature_mask & FEATURE_MASK_SUPPORTS_AUTHORITY_HEADER) {
GPR_ASSERT(0 == strcmp(str, pattern));
}
}

@ -424,16 +424,3 @@ void grpc_end2end_tests(int argc, char **argv,
abort();
}
}
const char *get_host_override_string(const char *str,
grpc_end2end_test_config config) {
return (config.feature_mask & FEATURE_MASK_SUPPORTS_AUTHORITY_HEADER ? str
: NULL);
}
void validate_host_override_string(const char *pattern, const char *str,
grpc_end2end_test_config config) {
if (config.feature_mask & FEATURE_MASK_SUPPORTS_AUTHORITY_HEADER) {
GPR_ASSERT(0 == strcmp(str, pattern));
}
}

Loading…
Cancel
Save