Commit bb6e6984 authored by Pekka Pessi's avatar Pekka Pessi

test_sip_events.c: checking some nua_i_notifier/nua_i_subscriber events

darcs-hash:20071012183831-88462-65004e721afcd14371ddcac094a02f31f692fcc3.gz
parent 9a17b691
......@@ -208,7 +208,7 @@ int test_events(struct context *ctx)
TAG_END());
run_ab_until(ctx, -1, save_until_notified_and_responded,
-1, NULL /* XXX save_until_received */);
-1, save_until_received);
/* Client events:
nua_subscribe(), nua_i_notify/nua_r_subscribe
......@@ -243,6 +243,9 @@ int test_events(struct context *ctx)
TEST_1(!en->next || !es->next);
free_events_in_list(ctx, a->events);
/* XXX --- Do not check server side events */
free_events_in_list(ctx, b->events);
if (print_headings)
printf("TEST NUA-12.2: PASSED\n");
......@@ -267,8 +270,7 @@ int test_events(struct context *ctx)
SIPTAG_PAYLOAD_STR(open),
TAG_END());
run_ab_until(ctx, -1, save_until_notified,
-1, NULL /* XXX save_until_received */);
run_ab_until(ctx, -1, save_until_notified, -1, save_until_received);
/* subscriber events:
nua_i_notify
......@@ -288,6 +290,9 @@ int test_events(struct context *ctx)
TEST_1(!e->next);
free_events_in_list(ctx, a->events);
/* XXX --- Do not check server side events */
free_events_in_list(ctx, b->events);
if (print_headings)
printf("TEST NUA-12.3: PASSED\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment