Lines Matching refs:tt_assert
493 tt_assert(ev); in test_simpleclose()
494 tt_assert(!event_add(ev, NULL)); in test_simpleclose()
498 tt_assert(!evutil_closesocket(pair[1])); in test_simpleclose()
502 tt_assert(!shutdown(pair[1], EVUTIL_SHUT_WR)); in test_simpleclose()
512 tt_assert(!event_base_loopexit(base, &tv)); in test_simpleclose()
599 tt_assert(event_add(&r1.ev, NULL) != -1); in test_combined()
600 tt_assert(!event_add(&w1.ev, NULL)); in test_combined()
601 tt_assert(!event_add(&r2.ev, NULL)); in test_combined()
602 tt_assert(!event_add(&w2.ev, NULL)); in test_combined()
794 tt_assert(ms_100); in test_common_timeout()
795 tt_assert(ms_200); in test_common_timeout()
796 tt_assert(sec_5); in test_common_timeout()
944 tt_assert(current_base); in test_fork()
1440 tt_assert(base1); in test_free_active_base()
1446 tt_assert(base1); in test_free_active_base()
1889 tt_assert((ev4.ev_flags & EVLIST_ACTIVE) != 0); in test_active_later()
1890 tt_assert((ev4.ev_flags & EVLIST_ACTIVE_LATER) == 0); in test_active_later()
1970 tt_assert(base); in test_event_remove_timeout()
2056 tt_assert(event_base_got_exit(global_base)); in test_loopexit()
2057 tt_assert(!event_base_got_break(global_base)); in test_loopexit()
2088 tt_assert(event_base_got_exit(base)); in test_loopexit_multiple()
2089 tt_assert(!event_base_got_break(base)); in test_loopexit_multiple()
2131 tt_assert(!event_base_got_exit(global_base)); in test_loopbreak()
2132 tt_assert(event_base_got_break(global_base)); in test_loopbreak()
2170 tt_assert(!event_assign(&ev1, data->base, data->pair[0], EV_READ, re_add_read_cb, &ev2)); in test_nonpersist_readd()
2171 tt_assert(!event_assign(&ev2, data->base, data->pair[1], EV_READ, re_add_read_cb, &ev1)); in test_nonpersist_readd()
2186 tt_assert(readd_test_event_last_added); in test_nonpersist_readd()
2188 tt_assert(event_pending(&ev1, EV_READ, NULL) && !event_pending(&ev2, EV_READ, NULL)); in test_nonpersist_readd()
2190 tt_assert(event_pending(&ev2, EV_READ, NULL) && !event_pending(&ev1, EV_READ, NULL)); in test_nonpersist_readd()
2456 tt_assert((big_int / 1000000000) == integers[i]); in evtag_int_test()
2573 tt_assert(methods); in test_methods()
2590 tt_assert(base); in test_methods()
2593 tt_assert(base == NULL); in test_methods()
2613 tt_assert(vstr); in test_version()
2614 tt_assert(vint); in test_version()
2620 tt_assert(3 == n); in test_version()
2634 tt_assert(0 == event_config_require_features(cfg, EV_FEATURE_ET)); in test_base_features()
2720 tt_assert(base); in test_base_environ()
2743 tt_assert(!base); in test_base_environ()
2745 tt_assert(base); in test_base_environ()
2755 tt_assert(base); in test_base_environ()
2875 tt_assert(r); in test_event_pending()
2876 tt_assert(w); in test_event_pending()
2877 tt_assert(t); in test_event_pending()
2883 tt_assert( event_pending(r, EV_READ, NULL)); in test_event_pending()
2884 tt_assert(!event_pending(w, EV_WRITE, NULL)); in test_event_pending()
2885 tt_assert(!event_pending(r, EV_WRITE, NULL)); in test_event_pending()
2886 tt_assert( event_pending(r, EV_READ|EV_WRITE, NULL)); in test_event_pending()
2887 tt_assert(!event_pending(r, EV_TIMEOUT, NULL)); in test_event_pending()
2888 tt_assert( event_pending(t, EV_TIMEOUT, NULL)); in test_event_pending()
2889 tt_assert( event_pending(t, EV_TIMEOUT, &tv2)); in test_event_pending()
2891 tt_assert(evutil_timercmp(&tv2, &now, >)); in test_event_pending()
2930 tt_assert(e); in test_event_closed_fd_poll()
2935 tt_assert(event_pending(e, EV_READ, NULL)); in test_event_closed_fd_poll()
3066 tt_assert(b); in test_mm_functions()
3067 tt_assert(check_dummy_mem_ok(b)); in test_mm_functions()
3114 tt_assert(sock[i] >= 0); in test_many_events()
3115 tt_assert(!evutil_make_socket_nonblocking(sock[i])); in test_many_events()
3300 tt_assert(base); in test_gettimeofday_cached()
3329 tt_assert(evutil_timercmp(&tv1, &tv2, ==)); in test_gettimeofday_cached()
3330 tt_assert(evutil_timercmp(&tv2, &tv3, ==)); in test_gettimeofday_cached()
3368 tt_assert(ev1); in test_evmap_invalid_slots()
3369 tt_assert(ev2); in test_evmap_invalid_slots()
3377 tt_assert(ev3); in test_evmap_invalid_slots()
3378 tt_assert(ev4); in test_evmap_invalid_slots()
3424 tt_assert(ev1); in test_active_by_fd()
3425 tt_assert(ev2); in test_active_by_fd()
3426 tt_assert(ev3); in test_active_by_fd()
3427 tt_assert(ev4); in test_active_by_fd()
3430 tt_assert(evsig); in test_active_by_fd()