OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fail_unless
(Results
1 - 11
of
11
) sorted by null
/external/curl/tests/unit/
unit1301.c
34
fail_unless
(rc != 0, "return code should be zero");
37
fail_unless
(rc == 0, "return code should be zero");
40
fail_unless
(rc == 0, "return code should be zero");
43
fail_unless
(rc != 0, "return code should be non-zero");
46
fail_unless
(rc != 0, "return code should be non-zero");
49
fail_unless
(rc != 0, "return code should be non-zero");
52
fail_unless
(rc != 0, "return code should be non-zero");
unit1398.c
41
fail_unless
(rc == 3, "return code should be 3");
42
fail_unless
(!strcmp(output, "bug"), "wrong output");
46
fail_unless
(rc == 3, "return code should be 3");
47
fail_unless
(!strcmp(output, "bug"), "wrong output");
52
fail_unless
(rc == 2, "return code should be 2");
53
fail_unless
(!strcmp(output, "bu"), "wrong output");
57
fail_unless
(rc == 3, "return code should be 3");
58
fail_unless
(!strcmp(output, "bug"), "wrong output");
62
fail_unless
(rc == 3, "return code should be 3");
63
fail_unless
(!strcmp(output, "012"), "wrong output")
[
all
...]
unit1397.c
43
fail_unless
(Curl_cert_hostcheck("www.example.com", "www.example.com"),
45
fail_unless
(Curl_cert_hostcheck("*.example.com", "www.example.com"),
47
fail_unless
(Curl_cert_hostcheck("xxx*.example.com", "xxxwww.example.com"),
49
fail_unless
(Curl_cert_hostcheck("f*.example.com", "foo.example.com"),
51
fail_unless
(Curl_cert_hostcheck("192.168.0.0", "192.168.0.0"),
71
fail_unless
(Curl_cert_hostcheck("fe80::3285:a9ff:fe46:b619",
unit1302.c
53
fail_unless
(rc == CURLE_OK, "return code should be CURLE_OK");
54
fail_unless
(size == 4, "size should be 4");
59
fail_unless
(rc == CURLE_OK, "return code should be CURLE_OK");
60
fail_unless
(size == 4, "size should be 4");
65
fail_unless
(rc == CURLE_OK, "return code should be CURLE_OK");
66
fail_unless
(size == 4, "size should be 4");
71
fail_unless
(rc == CURLE_OK, "return code should be CURLE_OK");
72
fail_unless
(size == 8, "size should be 8");
77
fail_unless
(rc == CURLE_OK, "return code should be CURLE_OK");
78
fail_unless
(size == 8, "size should be 8")
[
all
...]
unit1603.c
71
fail_unless
(nodep, "insertion into hash failed");
73
fail_unless
(nodep == key1, "hash retrieval failed");
76
fail_unless
(nodep, "insertion into hash failed");
78
fail_unless
(nodep == key2, "hash retrieval failed");
81
fail_unless
(nodep, "insertion into hash failed");
83
fail_unless
(nodep == key3, "hash retrieval failed");
87
fail_unless
(nodep, "insertion into hash failed");
89
fail_unless
(nodep == key4, "hash retrieval failed");
93
fail_unless
(nodep == key1, "hash retrieval failed");
95
fail_unless
(nodep == key2, "hash retrieval failed")
[
all
...]
unit1304.c
58
fail_unless
(result == 1, "Host not found should return 1");
60
fail_unless
(password[0] == 0, "password should not have been changed");
62
fail_unless
(login[0] == 0, "login should not have been changed");
71
fail_unless
(result == 0, "Host should be found");
73
fail_unless
(password[0] == 0, "password should not have been changed");
75
fail_unless
(strncmp(login, "me", 2) == 0,
85
fail_unless
(result == 1, "Host should be found");
87
fail_unless
(password[0] == 0, "password should not have been changed");
89
fail_unless
(strncmp(login, "me", 2) == 0,
100
fail_unless
(result == 0, "Host should be found")
[
all
...]
unit1300.c
79
fail_unless
(llist->size == 0, "list initial size should be zero");
80
fail_unless
(llist->head == NULL, "list head should initiate to NULL");
81
fail_unless
(llist->tail == NULL, "list tail should intiate to NULL");
82
fail_unless
(llist->dtor == test_curl_llist_dtor,
97
fail_unless
(Curl_llist_count(llist) == 1,
100
fail_unless
(llist->head->ptr == &unusedData_case1,
103
fail_unless
(llist->tail == llist->head,
118
fail_unless
(llist->head->next->ptr == &unusedData_case3,
120
fail_unless
(llist->tail->ptr == &unusedData_case3,
140
fail_unless
(llist->head->next->ptr == &unusedData_case2
[
all
...]
unit1308.c
53
fail_unless
(rc == 0, "curl_formadd returned error");
57
fail_unless
(post == last, "post and last weren't the same");
63
fail_unless
(rc == 0, "curl_formadd returned error");
68
fail_unless
(rc == 0, "curl_formadd returned error");
72
fail_unless
(rc == 0, "curl_formget returned error");
74
fail_unless
(total_size == 486, "curl_formget got wrong size back");
87
fail_unless
(rc == 0, "curl_formadd returned error");
90
fail_unless
(rc == 0, "curl_formget returned error");
91
fail_unless
(total_size == 847, "curl_formget got wrong size back");
unit1396.c
87
fail_unless
(outlen == list1[i].outlen, "wrong output length returned");
88
fail_unless
(!memcmp(out, list1[i].out, list1[i].outlen),
102
fail_unless
(outlen == list2[i].outlen, "wrong output length returned");
103
fail_unless
(!memcmp(out, list2[i].out, list2[i].outlen),
curlcheck.h
32
#define
fail_unless
(expr, msg) \
macro
unit1604.c
47
fail_unless
(buf, "out of memory");
58
fail_unless
(buf, "out of memory");
Completed in 105 milliseconds