Lines Matching refs:fail_unless
64 fail_unless(Curl_dynhds_count(&hds) == 2, "should hold 2");
72 fail_unless(Curl_dynhds_count(&hds) == 2, "should hold 2");
75 fail_unless(result, "add should have failed");
77 fail_unless(Curl_dynhds_count_name(&hds, "test", 4) == 0, "false positive");
78 fail_unless(Curl_dynhds_count_name(&hds, "test1", 4) == 0, "false positive");
80 fail_unless(Curl_dynhds_get(&hds, "test1", 5), "false negative");
81 fail_unless(Curl_dynhds_count_name(&hds, "test1", 5) == 1, "should");
82 fail_unless(Curl_dynhds_ccount_name(&hds, "test2") == 1, "should");
83 fail_unless(Curl_dynhds_cget(&hds, "test2"), "should");
84 fail_unless(Curl_dynhds_ccount_name(&hds, "TEST2") == 1, "should");
85 fail_unless(Curl_dynhds_ccontains(&hds, "TesT2"), "should");
86 fail_unless(Curl_dynhds_contains(&hds, "TeSt2", 5), "should");
92 fail_unless(Curl_dynhds_add(&hds, "test2", 5, "456", 3), "should fail");
102 fail_unless(Curl_dynhds_ccount_name(&hds, "blablabla") == 2, "should");
103 fail_unless(Curl_dynhds_cremove(&hds, "blablabla") == 2, "should");
107 fail_unless(result, "add should have failed");
109 fail_unless(Curl_dynhds_ccount_name(&hds, "bLABlaBlA") == 0, "should");
126 fail_unless(result, "add should have failed");