#include "src/core/ext/transport/chttp2/transport/bin_encoder.h"
#include <string.h>
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/slice/slice_string_helpers.h"
#include "test/core/util/test_config.h"
Go to the source code of this file.
Macros | |
#define | EXPECT_COMBINED_EQUIV(x) expect_combined_equiv(x, sizeof(x) - 1, __LINE__) |
#define | EXPECT_SLICE_EQ(expected, slice) |
Functions | |
static grpc_slice | B64 (const char *s) |
static void | expect_binary_header (const char *hdr, int binary) |
static void | expect_combined_equiv (const char *s, size_t len, int line) |
static void | expect_slice_eq (grpc_slice expected, grpc_slice slice, const char *debug, int line) |
static grpc_slice | HUFF (const char *s) |
int | main (int argc, char **argv) |
Variables | |
static int | all_ok = 1 |
#define EXPECT_COMBINED_EQUIV | ( | x | ) | expect_combined_equiv(x, sizeof(x) - 1, __LINE__) |
Definition at line 92 of file bin_encoder_test.cc.
#define EXPECT_SLICE_EQ | ( | expected, | |
slice | |||
) |
Definition at line 65 of file bin_encoder_test.cc.
|
static |
Definition at line 51 of file bin_encoder_test.cc.
Definition at line 95 of file bin_encoder_test.cc.
Definition at line 70 of file bin_encoder_test.cc.
|
static |
Definition at line 36 of file bin_encoder_test.cc.
|
static |
Definition at line 58 of file bin_encoder_test.cc.
Definition at line 103 of file bin_encoder_test.cc.
|
static |
Definition at line 34 of file bin_encoder_test.cc.