Go to the source code of this file.
Functions | |
curl_formfree (post) | |
fail_unless (post==last, "post and last weren't the same") | |
fail_unless (rc==0, "curl_formadd returned error") | |
fail_unless (rc==0, "curl_formget returned error") | |
fail_unless (total_size==488, "curl_formget got wrong size back") | |
static size_t | print_httppost_callback (void *arg, const char *buf, size_t len) |
static CURLcode | unit_setup (void) |
static void | unit_stop (void) |
Variables | |
char | buffer [] = "test buffer" |
struct curl_httppost * | last = NULL |
struct curl_httppost * | post = NULL |
UNITTEST_START int | rc |
size_t | total_size = 0 |
curl_formfree | ( | post | ) |
fail_unless | ( | rc | = =0 , |
"curl_formadd returned error" | |||
) |
fail_unless | ( | rc | = =0 , |
"curl_formget returned error" | |||
) |
fail_unless | ( | total_size | = =488 , |
"curl_formget got wrong size back" | |||
) |
Definition at line 36 of file unit1308.c.
|
static |
Definition at line 26 of file unit1308.c.
|
static |
Definition at line 31 of file unit1308.c.
char buffer[] = "test buffer" |
Definition at line 48 of file unit1308.c.
struct curl_httppost* last = NULL |
Definition at line 46 of file unit1308.c.
post = NULL |
Definition at line 45 of file unit1308.c.
rc |
Definition at line 44 of file unit1308.c.
size_t total_size = 0 |
Definition at line 47 of file unit1308.c.