mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 20:56:20 +00:00
Added cmd_connect tests
This commit is contained in:
@@ -11,12 +11,17 @@ void jabber_init(const int disable_tls) {}
|
||||
jabber_conn_status_t jabber_connect_with_details(const char * const jid,
|
||||
const char * const passwd, const char * const altdomain, const int port)
|
||||
{
|
||||
return JABBER_CONNECTED;
|
||||
check_expected(jid);
|
||||
check_expected(passwd);
|
||||
check_expected(altdomain);
|
||||
check_expected(port);
|
||||
return (jabber_conn_status_t)mock();
|
||||
}
|
||||
|
||||
jabber_conn_status_t jabber_connect_with_account(const ProfAccount * const account)
|
||||
{
|
||||
return JABBER_CONNECTED;
|
||||
check_expected(account);
|
||||
return (jabber_conn_status_t)mock();
|
||||
}
|
||||
|
||||
void jabber_disconnect(void) {}
|
||||
|
||||
Reference in New Issue
Block a user