Lines Matching refs:assert_int_equal
106 assert_int_equal(notification_handler(&request), AM_FAIL);
170 assert_int_equal(am_init(AM_DEFAULT_AGENT_ID, NULL), AM_SUCCESS);
176 assert_int_equal(notification_handler(&request), AM_OK);
305 assert_int_equal(am_init(AM_DEFAULT_AGENT_ID, NULL), AM_SUCCESS);
310 assert_int_equal(am_add_session_policy_cache_entry(&request, session_id, result, NULL), AM_SUCCESS);
315 assert_int_equal(am_get_session_policy_cache_entry(&request, session_id, &r, &session, &ets), AM_SUCCESS);
319 assert_int_equal(notification_handler(&request), AM_OK);
324 assert_int_equal(am_get_session_policy_cache_entry(&request, session_id, &r, &session, &ets), AM_NOT_FOUND);
456 assert_int_equal(am_init(AM_DEFAULT_AGENT_ID, NULL), AM_SUCCESS);
461 assert_int_equal(am_add_session_policy_cache_entry(&request, session_id, result, 0), AM_SUCCESS);
470 assert_int_equal(notification_handler(&request), AM_OK);
474 assert_int_equal(am_get_session_policy_cache_entry(&request, session_id, &r, &session, &ets), AM_SUCCESS);
478 assert_int_equal(strcmp(r->resource, "a.b.c:3232/d/e/f"), 0);
479 assert_int_equal(am_get_policy_cache_entry(&request, r->resource, 0), AM_SUCCESS);