Home
last modified time | relevance | path

Searched refs:test_cond (Results 1 – 4 of 4) sorted by relevance

/redis-3.2.3/deps/hiredis/
H A Dtest.c198 test_cond(len == -1); in test_format_commands()
252 test_cond(ret == REDIS_ERR && in test_reply_reader()
264 test_cond(ret == REDIS_ERR && in test_reply_reader()
276 test_cond(ret == REDIS_ERR && in test_reply_reader()
314 test_cond(ret == REDIS_OK && in test_reply_reader()
326 test_cond(c->err == REDIS_ERR_OTHER && in test_blocking_connection_errors()
336 test_cond(c->err == REDIS_ERR_IO && in test_blocking_connection_errors()
380 test_cond(reply->len == 11) in test_blocking_connection()
454 test_cond(reply == NULL); in test_blocking_io_errors()
485 test_cond(c->err == REDIS_ERR_IO); in test_invalid_timeout_errors()
[all …]
H A Dsds.c1119 test_cond("Strings concatenation", in sdsTest()
1172 test_cond("sdsrange(...,1,1)", in sdsTest()
1178 test_cond("sdsrange(...,1,-1)", in sdsTest()
1184 test_cond("sdsrange(...,-2,-1)", in sdsTest()
1190 test_cond("sdsrange(...,2,1)", in sdsTest()
1196 test_cond("sdsrange(...,1,100)", in sdsTest()
1202 test_cond("sdsrange(...,100,100)", in sdsTest()
1209 test_cond("sdscmp(foo,foa)", sdscmp(x,y) > 0) in sdsTest()
1221 test_cond("sdscmp(bar,bar)", sdscmp(x,y) < 0) in sdsTest()
1227 test_cond("sdscatrepr(...data...)", in sdsTest()
[all …]
/redis-3.2.3/src/
H A Dsds.c1119 test_cond("Strings concatenation", in sdsTest()
1172 test_cond("sdsrange(...,1,1)", in sdsTest()
1178 test_cond("sdsrange(...,1,-1)", in sdsTest()
1184 test_cond("sdsrange(...,-2,-1)", in sdsTest()
1190 test_cond("sdsrange(...,2,1)", in sdsTest()
1196 test_cond("sdsrange(...,1,100)", in sdsTest()
1202 test_cond("sdsrange(...,100,100)", in sdsTest()
1209 test_cond("sdscmp(foo,foa)", sdscmp(x,y) > 0) in sdsTest()
1221 test_cond("sdscmp(bar,bar)", sdscmp(x,y) < 0) in sdsTest()
1227 test_cond("sdscatrepr(...data...)", in sdsTest()
[all …]
H A Dtesthelp.h44 #define test_cond(descr,_c) do { \ macro