1 /* |
|
2 * Copyright (c) 2004 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 |
|
19 #ifndef __UT_CMUSAVACALLEVENTMONITOR_H__ |
|
20 #define __UT_CMUSAVACALLEVENTMONITOR_H__ |
|
21 |
|
22 #ifdef __MWERKS__ |
|
23 #pragma warn_emptydecl off |
|
24 #pragma warn_illtokenpasting off |
|
25 #endif |
|
26 |
|
27 // EXTERNAL INCLUDES |
|
28 #include <CEUnitTestSuiteClass.h> |
|
29 |
|
30 // INTERNAL INCLUDES |
|
31 |
|
32 // FORWARD DECLARATIONS |
|
33 class CMusAvaCallEventMonitor; |
|
34 class CMusAvaCallMonitorObserverStub; |
|
35 |
|
36 |
|
37 #include <e32def.h> |
|
38 #ifndef NONSHARABLE_CLASS |
|
39 #define NONSHARABLE_CLASS(x) class x |
|
40 #endif |
|
41 |
|
42 // CLASS DEFINITION |
|
43 /** |
|
44 * |
|
45 * EUnitWizard generated test class. |
|
46 * |
|
47 */ |
|
48 NONSHARABLE_CLASS( UT_CMusAvaCallEventMonitor ) |
|
49 : public CEUnitTestSuiteClass |
|
50 { |
|
51 public: // Constructors and destructors |
|
52 |
|
53 /** |
|
54 * Two phase construction |
|
55 */ |
|
56 static UT_CMusAvaCallEventMonitor* NewL(); |
|
57 static UT_CMusAvaCallEventMonitor* NewLC(); |
|
58 /** |
|
59 * Destructor |
|
60 */ |
|
61 ~UT_CMusAvaCallEventMonitor(); |
|
62 |
|
63 private: // Constructors and destructors |
|
64 |
|
65 UT_CMusAvaCallEventMonitor(); |
|
66 void ConstructL(); |
|
67 |
|
68 public: // From observer interface |
|
69 |
|
70 |
|
71 |
|
72 private: // New methods |
|
73 |
|
74 void SetupL(); |
|
75 |
|
76 void Teardown(); |
|
77 |
|
78 void UT_CMusAvaCallEventMonitor_GetTelNumberLL(); |
|
79 |
|
80 |
|
81 private: // Data |
|
82 |
|
83 EUNIT_DECLARE_TEST_TABLE; |
|
84 |
|
85 // Owned |
|
86 CMusAvaCallEventMonitor* iCallEventMonitor; |
|
87 |
|
88 // Owned |
|
89 CMusAvaCallMonitorObserverStub* iObserver; |
|
90 }; |
|
91 |
|
92 #endif // __UT_CMUSAVACALLEVENTMONITOR_H__ |
|
93 |
|
94 // End of file |
|