aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/lib/folders.h
blob: 2cb2d970284f8f155b66b9e4b3362032081d9751 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#include "camel/camel-session.h"
#include "camel/camel-store.h"

#include <camel/camel-folder.h>
#include <camel/camel-folder-summary.h>
#include <camel/camel-mime-message.h>

/* check the total/unread is what we think it should be, everywhere it can be determined */
void test_folder_counts(CamelFolder *folder, int total, int unread);
/* cross-check info/msg */
void test_message_info(CamelMimeMessage *msg, const CamelMessageInfo *info);
/* check a message is present everywhere it should be */
void test_folder_message(CamelFolder *folder, const char *uid);
/* check message not present everywhere it shouldn't be */
void test_folder_not_message(CamelFolder *folder, const char *uid);
/* test basic folder ops on a store */
void test_folder_basic(CamelSession *session, const char *storename, int local);
/* test basic message operations on a folder */
void test_folder_message_ops(CamelSession *session, const char *storename, int local);