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 * T_casatmonitor.h |
|
19 * |
|
20 * Created on: 2009-09-16 |
|
21 * Author: |
|
22 */ |
|
23 |
|
24 #ifndef T_CASATMONITOR_H |
|
25 #define T_CASATMONITOR_H |
|
26 |
|
27 class CTestUtils; |
|
28 class CCaStorageProxy; |
|
29 class CCaSrvManager; |
|
30 #include <QtTest/QtTest> |
|
31 |
|
32 #include <e32def.h> |
|
33 |
|
34 // CLASS DEFINITION |
|
35 class CSatMonitor; |
|
36 /** |
|
37 * |
|
38 * Test class. |
|
39 * |
|
40 */ |
|
41 class T_CaSatMonitor: public QObject |
|
42 { |
|
43 Q_OBJECT |
|
44 |
|
45 private: |
|
46 |
|
47 void WaitL(TInt aMicroSec); |
|
48 |
|
49 private slots: |
|
50 |
|
51 //setup methods |
|
52 void initTestCase(); |
|
53 void cleanupTestCase(); |
|
54 void init(); |
|
55 void cleanup(); |
|
56 |
|
57 |
|
58 //tests for sat monitor/notifier |
|
59 void testSatChange(); |
|
60 |
|
61 private: |
|
62 |
|
63 CTestUtils *iTestUtils; |
|
64 |
|
65 CCaStorageProxy *iStorage; |
|
66 |
|
67 RBuf iSatName; |
|
68 |
|
69 TInt iSatVis; |
|
70 |
|
71 CCaSrvManager *iSrvManager; |
|
72 }; |
|
73 |
|
74 #endif // T_CASATHANDLER_H |