Mock otr module for cmd_otr tests

This commit is contained in:
James Booth
2014-02-16 19:14:15 +00:00
parent 6ef1174bf4
commit a21ab6d4c8
9 changed files with 144 additions and 49 deletions

12
tests/otr/mock_otr.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef MOCK_OTR_H
#define MOCK_OTR_H
#include "config/account.h"
void mock_otr_keygen(void);
void otr_keygen_expect(ProfAccount *account);
void mock_otr_libotr_version(void);
void otr_libotr_version_returns(char *version);
#endif