#include #include "prof_cmocka.h" #include #include #include #include #include "proftest.h" void rooms_query(void **state) { stbbr_for_query("http://jabber.org/protocol/disco#items", "" "" "" "" "" "" ); prof_connect(); prof_input("/rooms service conference.localhost"); assert_true(prof_output_exact("chatroom@conference.localhost (A chat room)")); assert_true(prof_output_exact("hangout@conference.localhost (Another chat room)")); assert_true(stbbr_received( "" "" "" )); }