| 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 NOTESTEST_H |
| 27 |
#define NOTESTEST_H |
| 28 |
|
| 29 |
#include <QObject> |
| 30 |
|
| 31 |
#include "NotesStorage.h" |
| 32 |
|
| 33 |
class NotesTest : public QObject |
| 34 |
{ |
| 35 |
Q_OBJECT |
| 36 |
|
| 37 |
private slots: |
| 38 |
|
| 39 |
void initTestCase(); |
| 40 |
void cleanupTestCase(); |
| 41 |
|
| 42 |
void testSuite(); |
| 43 |
|
| 44 |
private: |
| 45 |
|
| 46 |
void runTestSuite( const QByteArray& aOriginalData, const QByteArray& aModifiedData); |
| 47 |
|
| 48 |
NotesStorage *iNotesStorage; |
| 49 |
}; |
| 50 |
|
| 51 |
#endif // NOTESTEST_H |