#include #include #include #include #include #include #include #include #include #include "proftest.h" void rooms_query(void **state) { stbbr_for_id("confreq", "" "" "" "" "" "" ); prof_connect(); prof_input("/rooms"); assert_true(prof_output_regex( "chatroom@conference.localhost, \\(A chat room\\)" ".+" "hangout@conference.localhost, \\(Another chat room\\)" )); assert_true(stbbr_last_received( "" "" "" )); }