homescreenapp/stateplugins/hsapplibrarystateplugin/tsrc/t_allcollectionsstate/inc/t_allcollectionsstate.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: Tests for hsapplibrarystateplugin. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef T_ALLCOLLECTIONSSTATE_H |
|
19 #define T_ALLCOLLECTIONSSTATE_H |
|
20 |
|
21 #include <QtTest/QtTest> |
|
22 |
|
23 |
|
24 class HbMainWindow; |
|
25 class HbAbstractViewItem; |
|
26 class QStateMachine; |
|
27 |
|
28 /** |
|
29 * @test Test class for homescreen::hsutils modules. |
|
30 */ |
|
31 class MenuStatesTest : public QObject |
|
32 { |
|
33 Q_OBJECT |
|
34 |
|
35 private slots: |
|
36 /** |
|
37 * initialize |
|
38 */ |
|
39 void initTestCase(); |
|
40 void init(); |
|
41 |
|
42 /* |
|
43 * Tests |
|
44 */ |
|
45 void construction(); |
|
46 void listItemLongPressed(); |
|
47 void contextMenuAction(); |
|
48 void listItemActivated(); |
|
49 void createNewCollection(); |
|
50 void createArrangeCollection(); |
|
51 #ifdef Q_OS_SYMBIAN |
|
52 void openTaskSwitcher(); |
|
53 #endif//Q_OS_SYMBIAN |
|
54 void addModeSlots(); |
|
55 void addModeEnteredExited(); |
|
56 void normalModeEnteredExited(); |
|
57 |
|
58 /** |
|
59 * cleanup |
|
60 */ |
|
61 void cleanup(); |
|
62 |
|
63 private: |
|
64 HbMainWindow *mWindow; |
|
65 }; |
|
66 #endif // T_ALLCOLLECTIONSSTATE_H |