#include "src/core/lib/transport/status_conversion.h"#include <grpc/grpc.h>#include <grpc/support/log.h>#include "src/core/lib/iomgr/exec_ctx.h"#include "test/core/util/test_config.h"
Go to the source code of this file.
Macros | |
| #define | GRPC_STATUS_TO_HTTP2_ERROR(a, b) GPR_ASSERT(grpc_status_to_http2_error(a) == (b)) |
| #define | GRPC_STATUS_TO_HTTP2_STATUS(a, b) GPR_ASSERT(grpc_status_to_http2_status(a) == (b)) |
| #define | HTTP2_ERROR_TO_GRPC_STATUS(a, deadline, b) |
| #define | HTTP2_STATUS_TO_GRPC_STATUS(a, b) GPR_ASSERT(grpc_http2_status_to_grpc_status(a) == (b)) |
Functions | |
| int | main (int argc, char **argv) |
| static void | test_grpc_status_to_http2_error () |
| static void | test_grpc_status_to_http2_status () |
| static void | test_http2_error_to_grpc_status () |
| static void | test_http2_status_to_grpc_status () |
| #define GRPC_STATUS_TO_HTTP2_ERROR | ( | a, | |
| b | |||
| ) | GPR_ASSERT(grpc_status_to_http2_error(a) == (b)) |
Definition at line 27 of file status_conversion_test.cc.
| #define GRPC_STATUS_TO_HTTP2_STATUS | ( | a, | |
| b | |||
| ) | GPR_ASSERT(grpc_status_to_http2_status(a) == (b)) |
Definition at line 35 of file status_conversion_test.cc.
Definition at line 29 of file status_conversion_test.cc.
| #define HTTP2_STATUS_TO_GRPC_STATUS | ( | a, | |
| b | |||
| ) | GPR_ASSERT(grpc_http2_status_to_grpc_status(a) == (b)) |
Definition at line 37 of file status_conversion_test.cc.
Definition at line 169 of file status_conversion_test.cc.
|
static |
Definition at line 40 of file status_conversion_test.cc.
|
static |
Definition at line 69 of file status_conversion_test.cc.
|
static |
Definition at line 89 of file status_conversion_test.cc.
|
static |
Definition at line 153 of file status_conversion_test.cc.