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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef UT_SATAPPMAINHANDLER_H |
|
19 #define UT_SATAPPMAINHANDLER_H |
|
20 |
|
21 #include <QtTest/QtTest> |
|
22 #include <QObject> |
|
23 |
|
24 |
|
25 // Class forwards |
|
26 class SatAppMainHandler; |
|
27 |
|
28 /** |
|
29 * Satapp unit test class. |
|
30 * |
|
31 * @since S60 <TB10.1> |
|
32 */ |
|
33 class Ut_SatAppMainHandler : public QObject |
|
34 { |
|
35 Q_OBJECT |
|
36 |
|
37 public: |
|
38 |
|
39 Ut_SatAppMainHandler(QObject *parent = 0); |
|
40 |
|
41 virtual ~Ut_SatAppMainHandler(); |
|
42 |
|
43 private slots: |
|
44 /** |
|
45 * Called before the first testfunction is executed. |
|
46 * Handles the SetUpMenu command. |
|
47 */ |
|
48 void initTestCase(); |
|
49 |
|
50 /** |
|
51 * Called after the last testfunction has been executed. |
|
52 * |
|
53 */ |
|
54 void cleanupTestCase(); |
|
55 |
|
56 /** |
|
57 * Test SatAppMainHandler's constructor. |
|
58 * |
|
59 */ |
|
60 void testCreateMainHandler(); |
|
61 |
|
62 private: |
|
63 /** |
|
64 * Own. |
|
65 */ |
|
66 SatAppMainHandler *mMainHandler; |
|
67 |
|
68 }; |
|
69 |
|
70 #endif // UT_SATAPPMAINHANDLER_H |