Debian Codegraph @

storageplugins/hcalendar/unittest/CalendarTest.h

raw
1 /*
2 * This file is part of buteo-sync-plugins package
3 *
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2014 Jolla Ltd.
6 *
7 * Contributors: Sateesh Kavuri <[email protected]>
8 * Valério Valério <[email protected]>
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public License
12 * version 2.1 as published by the Free Software Foundation.
13 *
14 * This library is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22 * 02110-1301 USA
23 *
24 */
25
26 #ifndef HCALENDARTEST_H
27 #define HCALENDARTEST_H
28
29 #include <QVector>
30 #include <QString>
31 #include <QObject>
32
33 #include "CalendarStorage.h"
34
35 class StorageItem;
36
37 class CalendarTest : public QObject
38 {
39 Q_OBJECT
40
41 private slots:
42 void initTestCase();
43 void cleanupTestCase();
44
45 void testSuite();
46
47 private:
48 void runTestSuite(const QByteArray& aOriginalData, const QByteArray& aModifiedData);
49
50 CalendarStorage *iCalendarStorage;
51 };
52
53 #endif // HCALENDARTEST_H