equal
deleted
inserted
replaced
|
1 |
|
2 /* |
|
3 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 * All rights reserved. |
|
5 * This component and the accompanying materials are made available |
|
6 * under the terms of "Eclipse Public License v1.0" |
|
7 * which accompanies this distribution, and is available |
|
8 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 * |
|
10 * Initial Contributors: |
|
11 * Nokia Corporation - initial contribution. |
|
12 * |
|
13 * Contributors: |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 #ifndef UT_LOGSAPPSETTINGS_H |
|
19 #define UT_LOGSAPPSETTINGS_H |
|
20 |
|
21 |
|
22 #include <QObject> |
|
23 |
|
24 class LogsAppSettings; |
|
25 |
|
26 class UT_LogsAppSettings : public QObject |
|
27 { |
|
28 Q_OBJECT |
|
29 |
|
30 private slots: |
|
31 |
|
32 /* |
|
33 * In addition, there are four private slots that are not treated as testfunctions. |
|
34 * They will be executed by the testing framework and can be used to initialize and clean up |
|
35 * either the entire test or the current test function. |
|
36 * |
|
37 * initTestCase() will be called before the first testfunction is executed. |
|
38 * cleanupTestCase() will be called after the last testfunction was executed. |
|
39 * init() will be called before each testfunction is executed. |
|
40 * cleanup() will be called after every testfunction. |
|
41 */ |
|
42 void initTestCase(); |
|
43 void cleanupTestCase(); |
|
44 void init(); |
|
45 void cleanup(); |
|
46 |
|
47 |
|
48 private slots: //test methods |
|
49 |
|
50 void testLogsFeaturePreloadingEnabled(); |
|
51 void testLogsFeatureFakeExitEnabled(); |
|
52 |
|
53 private: |
|
54 |
|
55 LogsAppSettings* mSettings; |
|
56 }; |
|
57 |
|
58 #endif //UT_LOGSAPPSETTINGS_H |