Searched refs:ch_args (Results 1 – 1 of 1) sorted by relevance
34 grpc_channel_args* ch_args; in test_create() local46 ch_args = grpc_channel_args_copy_and_add(nullptr, to_add, 2); in test_create()48 GPR_ASSERT(ch_args->num_args == 2); in test_create()49 GPR_ASSERT(strcmp(ch_args->args[0].key, arg_int.key) == 0); in test_create()50 GPR_ASSERT(ch_args->args[0].type == arg_int.type); in test_create()51 GPR_ASSERT(ch_args->args[0].value.integer == arg_int.value.integer); in test_create()53 GPR_ASSERT(strcmp(ch_args->args[1].key, arg_string.key) == 0); in test_create()54 GPR_ASSERT(ch_args->args[1].type == arg_string.type); in test_create()55 GPR_ASSERT(strcmp(ch_args->args[1].value.string, arg_string.value.string) == in test_create()58 grpc_channel_args_destroy(ch_args); in test_create()[all …]