#include "test/core/end2end/cq_verifier.h"
#include <inttypes.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <list>
#include <string>
#include <vector>
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include <grpc/byte_buffer.h>
#include <grpc/byte_buffer_reader.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include <grpc/support/time.h>
#include "src/core/lib/compression/compression_internal.h"
#include "src/core/lib/compression/message_compress.h"
#include "src/core/lib/surface/event_string.h"
Go to the source code of this file.
|
static void | add (cq_verifier *v, const char *file, int line, grpc_completion_type type, void *tag, bool check_success, bool success) |
|
int | byte_buffer_eq_slice (grpc_byte_buffer *bb, grpc_slice b) |
|
int | byte_buffer_eq_string (grpc_byte_buffer *bb, const char *str) |
|
int | contains_metadata (grpc_metadata_array *array, const char *key, const char *value) |
|
int | contains_metadata_slices (grpc_metadata_array *array, grpc_slice key, grpc_slice value) |
|
void | cq_expect_completion (cq_verifier *v, const char *file, int line, void *tag, bool success) |
|
void | cq_expect_completion_any_status (cq_verifier *v, const char *file, int line, void *tag) |
|
void | cq_maybe_expect_completion (cq_verifier *v, const char *file, int line, void *tag, bool success, bool *seen) |
|
cq_verifier * | cq_verifier_create (grpc_completion_queue *cq) |
|
void | cq_verifier_destroy (cq_verifier *v) |
|
void | cq_verify (cq_verifier *v, int timeout_sec) |
|
void | cq_verify_empty (cq_verifier *v) |
|
void | cq_verify_empty_timeout (cq_verifier *v, int timeout_sec) |
|
static void | fail_no_event_received (cq_verifier *v) |
|
bool | FindExpectations (std::list< Expectation > *expectations, const grpc_event &ev) |
|
static int | has_metadata (const grpc_metadata *md, size_t count, const char *key, const char *value) |
|
static int | has_metadata_slices (const grpc_metadata *md, size_t count, grpc_slice key, grpc_slice value) |
|
static bool | is_probably_integer (void *p) |
|
static grpc_slice | merge_slices (grpc_slice *slices, size_t nslices) |
|
int | raw_byte_buffer_eq_slice (grpc_byte_buffer *rbb, grpc_slice b) |
|
static void | verify_matches (const Expectation &e, const grpc_event &ev) |
|
◆ ROOT_EXPECTATION
#define ROOT_EXPECTATION 1000 |
◆ metadata
◆ add()
◆ byte_buffer_eq_slice()
◆ byte_buffer_eq_string()
◆ contains_metadata()
◆ contains_metadata_slices()
◆ cq_expect_completion()
◆ cq_expect_completion_any_status()
void cq_expect_completion_any_status |
( |
cq_verifier * |
v, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
void * |
tag |
|
) |
| |
◆ cq_maybe_expect_completion()
◆ cq_verifier_create()
◆ cq_verifier_destroy()
◆ cq_verify()
◆ cq_verify_empty()
◆ cq_verify_empty_timeout()
◆ fail_no_event_received()
◆ FindExpectations()
◆ has_metadata()
◆ has_metadata_slices()
◆ is_probably_integer()
static bool is_probably_integer |
( |
void * |
p | ) |
|
|
static |
◆ merge_slices()
◆ raw_byte_buffer_eq_slice()
◆ verify_matches()