|
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_CMUSAVANETWORKAVAILABILITY_H__ |
|
20 #define __UT_CMUSAVANETWORKAVAILABILITY_H__ |
|
21 |
|
22 #ifdef __MWERKS__ |
|
23 #pragma warn_emptydecl off |
|
24 #pragma warn_illtokenpasting off |
|
25 #endif |
|
26 |
|
27 // EXTERNAL INCLUDES |
|
28 #include <digia/eunit/ceunittestsuiteclass.h> |
|
29 |
|
30 |
|
31 // INTERNAL INCLUDES |
|
32 |
|
33 |
|
34 // FORWARD DECLARATIONS |
|
35 class CMusAvaNetworkAvailability; |
|
36 class CMusAvaAvailabilityObserverImp; |
|
37 class CMusAvaSettingsImp; |
|
38 |
|
39 |
|
40 #include <e32def.h> |
|
41 #ifndef NONSHARABLE_CLASS |
|
42 #define NONSHARABLE_CLASS(x) class x |
|
43 #endif |
|
44 |
|
45 // CLASS DEFINITION |
|
46 /** |
|
47 * |
|
48 * EUnitWizard generated test class. |
|
49 * |
|
50 */ |
|
51 NONSHARABLE_CLASS( UT_CMusAvaNetworkAvailability ) |
|
52 : public CEUnitTestSuiteClass |
|
53 { |
|
54 public: // Constructors and destructors |
|
55 |
|
56 /** |
|
57 * Two phase construction |
|
58 */ |
|
59 static UT_CMusAvaNetworkAvailability* NewL(); |
|
60 static UT_CMusAvaNetworkAvailability* NewLC(); |
|
61 /** |
|
62 * Destructor |
|
63 */ |
|
64 ~UT_CMusAvaNetworkAvailability(); |
|
65 |
|
66 private: // Constructors and destructors |
|
67 |
|
68 UT_CMusAvaNetworkAvailability(); |
|
69 void ConstructL(); |
|
70 |
|
71 public: // From observer interface |
|
72 |
|
73 |
|
74 |
|
75 private: // New methods |
|
76 |
|
77 void SetupL(); |
|
78 |
|
79 void Teardown(); |
|
80 |
|
81 void UT_CMusAvaNetworkAvailability_DoExecuteLL(); |
|
82 |
|
83 void UT_CMusAvaNetworkAvailability_StopL(); |
|
84 |
|
85 void UT_CMusAvaNetworkAvailability_NameL(); |
|
86 |
|
87 void UT_CMusAvaNetworkAvailability_CallConnectedLL(); |
|
88 |
|
89 void UT_CMusAvaNetworkAvailability_ConferenceCallLL(); |
|
90 |
|
91 void UT_CMusAvaNetworkAvailability_CallHoldLL(); |
|
92 |
|
93 void UT_CMusAvaNetworkAvailability_NoActiveCallLL(); |
|
94 |
|
95 private: // Data |
|
96 |
|
97 EUNIT_DECLARE_TEST_TABLE; |
|
98 |
|
99 CMusAvaNetworkAvailability* iNetworkAvailability; |
|
100 CMusAvaAvailabilityObserverImp* iAvailabilityObserver; |
|
101 CMusAvaSettingsImp* iSettings; |
|
102 }; |
|
103 |
|
104 #endif // __UT_CMUSAVANETWORKAVAILABILITY_H__ |
|
105 |
|
106 // End of file |