#include "src/core/lib/slice/percent_encoding.h"
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/gpr/string.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 | TEST_NONCONFORMANT_VECTOR(encoded, permissive_unencoded) |
#define | TEST_VECTOR(raw, encoded, dict) test_vector(raw, sizeof(raw) - 1, encoded, sizeof(encoded) - 1, dict) |
Functions | |
int | main (int argc, char **argv) |
static void | test_nonconformant_vector (const char *encoded, size_t encoded_length, const char *permissive_unencoded, size_t permissive_unencoded_length) |
static void | test_vector (const char *raw, size_t raw_length, const char *encoded, size_t encoded_length, grpc_core::PercentEncodingType type) |
#define TEST_NONCONFORMANT_VECTOR | ( | encoded, | |
permissive_unencoded | |||
) |
Definition at line 32 of file percent_encoding_test.cc.
#define TEST_VECTOR | ( | raw, | |
encoded, | |||
dict | |||
) | test_vector(raw, sizeof(raw) - 1, encoded, sizeof(encoded) - 1, dict) |
Definition at line 29 of file percent_encoding_test.cc.
Definition at line 99 of file percent_encoding_test.cc.
|
static |
Definition at line 69 of file percent_encoding_test.cc.
|
static |
Definition at line 37 of file percent_encoding_test.cc.