mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 18:16:21 +00:00
@@ -89,7 +89,6 @@ int main(int argc, char* argv[]) {
|
||||
PROF_FUNC_TEST(display_software_version_result_in_chat),
|
||||
|
||||
PROF_FUNC_TEST(sends_room_join),
|
||||
PROF_FUNC_TEST(sends_room_join_with_default_muc_service),
|
||||
PROF_FUNC_TEST(sends_room_join_with_nick),
|
||||
PROF_FUNC_TEST(sends_room_join_with_password),
|
||||
PROF_FUNC_TEST(sends_room_join_with_nick_and_password),
|
||||
|
||||
@@ -26,21 +26,6 @@ sends_room_join(void **state)
|
||||
));
|
||||
}
|
||||
|
||||
void
|
||||
sends_room_join_with_default_muc_service(void **state)
|
||||
{
|
||||
prof_connect();
|
||||
|
||||
prof_input("/join testroom");
|
||||
|
||||
assert_true(stbbr_last_received(
|
||||
"<presence id='*' to='testroom@conference.localhost/stabber'>"
|
||||
"<x xmlns='http://jabber.org/protocol/muc'/>"
|
||||
"<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' ver='*' node='http://www.profanity.im'/>"
|
||||
"</presence>"
|
||||
));
|
||||
}
|
||||
|
||||
void
|
||||
sends_room_join_with_nick(void **state)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
void sends_room_join(void **state);
|
||||
void sends_room_join_with_default_muc_service(void **state);
|
||||
void sends_room_join_with_nick(void **state);
|
||||
void sends_room_join_with_password(void **state);
|
||||
void sends_room_join_with_nick_and_password(void **state);
|
||||
|
||||
@@ -25,7 +25,7 @@ rooms_query(void **state)
|
||||
|
||||
prof_connect();
|
||||
|
||||
prof_input("/rooms");
|
||||
prof_input("/rooms conference.localhost");
|
||||
|
||||
assert_true(prof_output_exact("chatroom@conference.localhost, (A chat room)"));
|
||||
assert_true(prof_output_exact("hangout@conference.localhost, (Another chat room)"));
|
||||
|
||||
Reference in New Issue
Block a user