From d9f5a2bda65ff9b5a147a11caed1031be93809d6 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 20 Dec 2015 23:26:05 +0000 Subject: Updated console new message text --- tests/functionaltests/test_chat_session.c | 8 ++++---- tests/functionaltests/test_message.c | 2 +- tests/functionaltests/test_muc.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/functionaltests/test_chat_session.c b/tests/functionaltests/test_chat_session.c index 9d3f8eb6..9e779afa 100644 --- a/tests/functionaltests/test_chat_session.c +++ b/tests/functionaltests/test_chat_session.c @@ -63,7 +63,7 @@ sends_message_to_fulljid_when_received_from_fulljid(void **state) "First message" "" ); - assert_true(prof_output_exact("<< incoming from Buddy1/mobile (win 2)")); + assert_true(prof_output_exact("<< chat message: Buddy1/mobile (win 2)")); prof_input("/msg buddy1@localhost Hi there"); @@ -91,7 +91,7 @@ sends_subsequent_messages_to_fulljid(void **state) "First message" "" ); - assert_true(prof_output_exact("<< incoming from Buddy1/mobile (win 2)")); + assert_true(prof_output_exact("<< chat message: Buddy1/mobile (win 2)")); prof_input("/msg buddy1@localhost Outgoing 1"); assert_true(stbbr_received( @@ -132,7 +132,7 @@ resets_to_barejid_after_presence_received(void **state) "First message" "" ); - assert_true(prof_output_exact("<< incoming from Buddy1/mobile (win 2)")); + assert_true(prof_output_exact("<< chat message: Buddy1/mobile (win 2)")); prof_input("/msg buddy1@localhost Outgoing 1"); assert_true(stbbr_received( @@ -182,7 +182,7 @@ new_session_when_message_received_from_different_fulljid(void **state) "From first resource" "" ); - assert_true(prof_output_exact("<< incoming from Buddy1/mobile (win 2)")); + assert_true(prof_output_exact("<< chat message: Buddy1/mobile (win 2)")); prof_input("/msg buddy1@localhost Outgoing 1"); assert_true(stbbr_received( diff --git a/tests/functionaltests/test_message.c b/tests/functionaltests/test_message.c index bff89e7d..707b2560 100644 --- a/tests/functionaltests/test_message.c +++ b/tests/functionaltests/test_message.c @@ -38,5 +38,5 @@ message_receive(void **state) "" ); - assert_true(prof_output_exact("<< incoming from someuser@chatserv.org/laptop (win 2)")); + assert_true(prof_output_exact("<< chat message: someuser@chatserv.org/laptop (win 2)")); } diff --git a/tests/functionaltests/test_muc.c b/tests/functionaltests/test_muc.c index 47cbd84e..c0c4aaee 100644 --- a/tests/functionaltests/test_muc.c +++ b/tests/functionaltests/test_muc.c @@ -250,5 +250,5 @@ shows_message_in_console_when_window_not_focussed(void **state) "" ); - assert_true(prof_output_exact("<< incoming from testoccupant in testroom@conference.localhost (win 2)")); + assert_true(prof_output_exact("<< room message: testoccupant in testroom@conference.localhost (win 2)")); } -- cgit