clang-format

pull/7858/head
Mark D. Roth 8 years ago
parent 7f9bba8ce1
commit 661408c4d1
  1. 8
      test/core/end2end/cq_verifier.c
  2. 8
      test/core/end2end/cq_verifier.h

@ -182,8 +182,8 @@ static void expectation_to_strvec(gpr_strvec *buf, expectation *e) {
switch (e->type) {
case GRPC_OP_COMPLETE:
gpr_asprintf(&tmp, "GRPC_OP_COMPLETE result=%d %s:%d",
e->success, e->file, e->line);
gpr_asprintf(&tmp, "GRPC_OP_COMPLETE result=%d %s:%d", e->success,
e->file, e->line);
gpr_strvec_add(buf, tmp);
break;
case GRPC_QUEUE_TIMEOUT:
@ -283,7 +283,7 @@ static void add(cq_verifier *v, const char *file, int line,
v->first_expectation = e;
}
void cq_expect_completion(cq_verifier *v, const char *file, int line,
void *tag, bool success) {
void cq_expect_completion(cq_verifier *v, const char *file, int line, void *tag,
bool success) {
add(v, file, line, GRPC_OP_COMPLETE, tag, success);
}

@ -62,10 +62,10 @@ void cq_verify_empty_timeout(cq_verifier *v, int timeout_sec);
Any functions taking ... expect a NULL terminated list of key/value pairs
(each pair using two parameter slots) of metadata that MUST be present in
the event. */
void cq_expect_completion(cq_verifier *v, const char *file, int line,
void *tag, bool success);
#define CQ_EXPECT_COMPLETION(v, tag, success) cq_expect_completion( \
v, __FILE__, __LINE__, tag, success)
void cq_expect_completion(cq_verifier *v, const char *file, int line, void *tag,
bool success);
#define CQ_EXPECT_COMPLETION(v, tag, success) \
cq_expect_completion(v, __FILE__, __LINE__, tag, success)
int byte_buffer_eq_string(grpc_byte_buffer *byte_buffer, const char *string);
int contains_metadata(grpc_metadata_array *array, const char *key,

Loading…
Cancel
Save