activityfw/activityserviceplugin/tsrc/t_afactivitystorage/inc/t_afactivitystorage.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef TESTAFACTIVITYSTORAGE_H |
|
18 #define TESTAFACTIVITYSTORAGE_H |
|
19 |
|
20 #include <QObject> |
|
21 #include <QSharedPointer> |
|
22 #include "afstorageproxy.h" |
|
23 class AfActivityStoragePrivate; |
|
24 |
|
25 class TestAfActivityStorage : public QObject |
|
26 { |
|
27 Q_OBJECT |
|
28 |
|
29 private slots: |
|
30 void init(); |
|
31 void cleanup(); |
|
32 |
|
33 void testSaveActivity(); |
|
34 void testRemoveActivity(); |
|
35 void testAllActivities(); |
|
36 void testActivityData(); |
|
37 void testActivityMetaData(); |
|
38 |
|
39 private: |
|
40 QSharedPointer<AfStorageProxy> mServiceProvider; |
|
41 AfActivityStoragePrivate *mStorage; |
|
42 |
|
43 }; |
|
44 |
|
45 #endif // TESTAFACTIVITYSTORAGE_H |