mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 15:56:21 +00:00
Added chat session tests
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "common.h"
|
||||
#include "helpers.h"
|
||||
#include "config/preferences.h"
|
||||
#include "chat_session.h"
|
||||
|
||||
void create_config_dir(void **state)
|
||||
{
|
||||
@@ -72,6 +73,16 @@ void close_preferences(void **state)
|
||||
rmdir("./tests/files");
|
||||
}
|
||||
|
||||
void init_chat_sessions(void **state)
|
||||
{
|
||||
chat_sessions_init();
|
||||
}
|
||||
|
||||
void close_chat_sessions(void **state)
|
||||
{
|
||||
chat_sessions_clear();
|
||||
}
|
||||
|
||||
static GCompareFunc cmp_func;
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user