mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
registration: add test stub
This commit is contained in:
parent
e0e45b7b24
commit
aedef61c91
@ -144,6 +144,18 @@ connection_get_profanity_identifier(void)
|
|||||||
return "profident";
|
return "profident";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jabber_conn_status_t
|
||||||
|
connection_register(const char* const altdomain, int port, const char* const tls_policy,
|
||||||
|
const char* const username, const char* const password)
|
||||||
|
{
|
||||||
|
check_expected(altdomain);
|
||||||
|
check_expected(port);
|
||||||
|
check_expected(tls_policy);
|
||||||
|
check_expected(username);
|
||||||
|
check_expected(password);
|
||||||
|
return mock_type(jabber_conn_status_t);
|
||||||
|
}
|
||||||
|
|
||||||
// message functions
|
// message functions
|
||||||
char*
|
char*
|
||||||
message_send_chat(const char* const barejid, const char* const msg, const char* const oob_url, gboolean request_receipt, const char* const replace_id)
|
message_send_chat(const char* const barejid, const char* const msg, const char* const oob_url, gboolean request_receipt, const char* const replace_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user