Go to the source code of this file.
Functions | |
void | bind_loopback (void *socket_, int ipv6_, char *my_endpoint_, size_t len_) |
void | bind_loopback_ipc (void *socket_, char *my_endpoint_, size_t len_) |
void | bind_loopback_ipv4 (void *socket_, char *my_endpoint_, size_t len_) |
void | bind_loopback_ipv6 (void *socket_, char *my_endpoint_, size_t len_) |
void | bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_) |
void * | get_test_context () |
static void * | internal_manage_test_context (bool init_, bool clear_) |
static void | internal_manage_test_sockets (void *socket_, bool add_) |
void | recv_string_expect_success (void *socket_, const char *str_, int flags_) |
void | send_string_expect_success (void *socket_, const char *str_, int flags_) |
void | setup_test_context () |
void | teardown_test_context () |
int | test_assert_failure_message_raw_errno_helper (int rc_, int expected_errno_, const char *msg_, const char *expr_, int line_) |
int | test_assert_success_message_errno_helper (int rc_, const char *msg_, const char *expr_, int line_) |
int | test_assert_success_message_raw_errno_helper (int rc_, const char *msg_, const char *expr_, int line_, bool zero) |
int | test_assert_success_message_raw_zero_errno_helper (int rc_, const char *msg_, const char *expr_, int line_) |
void | test_bind (void *socket_, const char *bind_address_, char *my_endpoint_, size_t len_) |
void * | test_context_socket (int type_) |
void * | test_context_socket_close (void *socket_) |
void * | test_context_socket_close_zero_linger (void *socket_) |
Definition at line 233 of file testutil_unity.cpp.
Definition at line 256 of file testutil_unity.cpp.
Definition at line 246 of file testutil_unity.cpp.
Definition at line 251 of file testutil_unity.cpp.
Definition at line 265 of file testutil_unity.cpp.
void* get_test_context | ( | ) |
Definition at line 184 of file testutil_unity.cpp.
|
static |
Definition at line 117 of file testutil_unity.cpp.
Definition at line 134 of file testutil_unity.cpp.
Definition at line 101 of file testutil_unity.cpp.
Definition at line 94 of file testutil_unity.cpp.
void setup_test_context | ( | ) |
Definition at line 179 of file testutil_unity.cpp.
void teardown_test_context | ( | ) |
Definition at line 189 of file testutil_unity.cpp.
int test_assert_failure_message_raw_errno_helper | ( | int | rc_, |
int | expected_errno_, | ||
const char * | msg_, | ||
const char * | expr_, | ||
int | line_ | ||
) |
Definition at line 62 of file testutil_unity.cpp.
int test_assert_success_message_errno_helper | ( | int | rc_, |
const char * | msg_, | ||
const char * | expr_, | ||
int | line_ | ||
) |
Definition at line 13 of file testutil_unity.cpp.
int test_assert_success_message_raw_errno_helper | ( | int | rc_, |
const char * | msg_, | ||
const char * | expr_, | ||
int | line_, | ||
bool | zero | ||
) |
Definition at line 31 of file testutil_unity.cpp.
int test_assert_success_message_raw_zero_errno_helper | ( | int | rc_, |
const char * | msg_, | ||
const char * | expr_, | ||
int | line_ | ||
) |
Definition at line 53 of file testutil_unity.cpp.
Definition at line 223 of file testutil_unity.cpp.
void* test_context_socket | ( | int | type_ | ) |
Definition at line 200 of file testutil_unity.cpp.
Definition at line 208 of file testutil_unity.cpp.
Definition at line 215 of file testutil_unity.cpp.