summaryrefslogtreecommitdiff
path: root/src/camel/tests/lib/folders.h
blob: f42c1e1aab9069140bfea5a2b3931a16da449172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * This library is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library. If not, see <http://www.gnu.org/licenses/>.
 */

#include <camel/camel.h>

/* check the total/unread is what we think it should be, everywhere it can be determined */
void test_folder_counts (CamelFolder *folder, gint total, gint 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 gchar *uid);
/* check message not present everywhere it shouldn't be */
void test_folder_not_message (CamelFolder *folder, const gchar *uid);
/* test basic folder ops on a store */
void test_folder_basic (CamelSession *session, const gchar *storename, gint local, gint spool);
/* test basic message operations on a folder */
void test_folder_message_ops (CamelSession *session, const gchar *storename, gint local, const gchar *foldername);