#include #include #include #include #include #include #include #include #include #include "proftest.h" void ping_multiple(void **state) { stbbr_for("prof_ping_1", "" ); stbbr_for("prof_ping_2", "" ); prof_connect("stabber@localhost", "password"); prof_input("/ping"); assert_true(stbbr_received( "" "" "" )); assert_true(prof_output("Ping response from server")); prof_input("/ping"); assert_true(stbbr_received( "" "" "" )); assert_true(prof_output("Ping response from server")); } void ping_responds(void **state) { prof_connect("stabber@localhost", "password"); assert_true(prof_output("stabber@localhost logged in successfully")); stbbr_send( "" "" "" ); assert_true(stbbr_received( "" )); }