#include #include #include #include #include #include #include #include #include #include "proftest.h" void send_software_version_request(void **state) { prof_connect(); stbbr_send( "" "10" "I'm here" "" ); prof_output_exact("Buddy1 (mobile) is online, \"I'm here\""); prof_input("/software buddy1@localhost/mobile"); stbbr_received( "" "" "" ); } void display_software_version_result(void **state) { prof_connect(); stbbr_send( "" "10" "I'm here" "" ); prof_output_exact("Buddy1 (mobile) is online, \"I'm here\""); stbbr_for_query("jabber:iq:version", "" "" "Profanity" "0.4.7dev.master.2cb2f83" "" "" ); prof_input("/software buddy1@localhost/mobile"); prof_output_exact("buddy1@localhost/mobile:"); prof_output_exact("Name : Profanity"); prof_output_exact("Version : 0.4.7dev.master.2cb2f83"); }