Added simple message tests

This commit is contained in:
James Booth
2015-05-31 00:12:13 +01:00
parent a5cf83d259
commit 373f47c711
4 changed files with 63 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
#include "test_ping.h"
#include "test_rooms.h"
#include "test_presence.h"
#include "test_message.h"
int main(int argc, char* argv[]) {
@@ -88,6 +89,13 @@ int main(int argc, char* argv[]) {
unit_test_setup_teardown(presence_received,
init_prof_test,
close_prof_test),
unit_test_setup_teardown(message_send,
init_prof_test,
close_prof_test),
unit_test_setup_teardown(message_receive,
init_prof_test,
close_prof_test),
};
return run_tests(all_tests);