activityfw/activityserviceplugin/tsrc/unittest_activitymanager/inc/unittest_activitymanager.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 |
|
18 #include <QObject> |
|
19 #include <QSharedPointer> |
|
20 |
|
21 #include "afstorageproxy.h" |
|
22 class AfManager; |
|
23 |
|
24 class TestActivityManager : public QObject |
|
25 { |
|
26 Q_OBJECT |
|
27 |
|
28 private slots: |
|
29 void init(); |
|
30 void cleanup(); |
|
31 |
|
32 void testActivityList(); |
|
33 void testLaunchStartupCaseWithoutUri(); |
|
34 void testLaunchRunningCaseWithoutUri(); |
|
35 void testLaunchStartupCaseUsingUris(); |
|
36 void testLaunchRunningCaseUsingUris(); |
|
37 void testLaunchRequestsWithInvalidUris(); |
|
38 void testStartApplicationWithoutActivity(); |
|
39 void testSwitchApplicationToForegroundWithoutActivity(); |
|
40 void testGetThumbnail(); |
|
41 void testUriWithTestRangeUid(); |
|
42 |
|
43 private: |
|
44 QSharedPointer<AfStorageProxy> mServiceProvider; |
|
45 AfManager *mManager; |
|
46 |
|
47 }; |