|
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_CMUSAVATERMINAL_H__ |
|
20 #define __UT_CMUSAVATERMINAL_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 // INTERNAL INCLUDES |
|
31 |
|
32 |
|
33 // FORWARD DECLARATIONS |
|
34 class CMusAvaTerminal; |
|
35 class CMusAvaCapabilityExchange; |
|
36 class CSIP; |
|
37 class CSIPConnection; |
|
38 class CSIPProfile; |
|
39 class CMusAvaCapability; |
|
40 class CMusAvaOptionHandler; |
|
41 class CMusAvaObserverImp; |
|
42 class CMusAvaSettingsImp; |
|
43 class CMusAvaAvailabilityObserverImp; |
|
44 |
|
45 #include <e32def.h> |
|
46 #ifndef NONSHARABLE_CLASS |
|
47 #define NONSHARABLE_CLASS(x) class x |
|
48 #endif |
|
49 |
|
50 // CLASS DEFINITION |
|
51 /** |
|
52 * |
|
53 * EUnitWizard generated test class. |
|
54 * |
|
55 */ |
|
56 NONSHARABLE_CLASS( UT_CMusAvaTerminal ) |
|
57 : public CEUnitTestSuiteClass |
|
58 { |
|
59 public: // Constructors and destructors |
|
60 |
|
61 /** |
|
62 * Two phase construction |
|
63 */ |
|
64 static UT_CMusAvaTerminal* NewL(); |
|
65 static UT_CMusAvaTerminal* NewLC(); |
|
66 /** |
|
67 * Destructor |
|
68 */ |
|
69 ~UT_CMusAvaTerminal(); |
|
70 |
|
71 private: // Constructors and destructors |
|
72 |
|
73 UT_CMusAvaTerminal(); |
|
74 void ConstructL(); |
|
75 |
|
76 public: // From observer interface |
|
77 |
|
78 |
|
79 |
|
80 private: // New methods |
|
81 |
|
82 void SetupL(); |
|
83 |
|
84 void Teardown(); |
|
85 |
|
86 void UT_CMusAvaTerminal_NewLL(); |
|
87 |
|
88 void UT_CMusAvaTerminal_MatchLL(); |
|
89 |
|
90 void UT_CMusAvaTerminal_ExecuteQueryLL(); |
|
91 |
|
92 void UT_CMusAvaTerminal_QueryCompletedLL(); |
|
93 |
|
94 void UT_CMusAvaTerminal_QueryCanceledL(); |
|
95 |
|
96 void UT_CMusAvaTerminal_QueryRequestedLL(); |
|
97 |
|
98 void UT_CMusAvaTerminal_IsDiscoveredL(); |
|
99 |
|
100 |
|
101 private: // Data |
|
102 |
|
103 EUNIT_DECLARE_TEST_TABLE; |
|
104 |
|
105 CMusAvaCapabilityExchange* iExchange; |
|
106 |
|
107 |
|
108 CSIP* iSIP; |
|
109 CSIPConnection* iSIPConnection; |
|
110 CSIPProfile* iProfile; |
|
111 CMusAvaTerminal* iTerminal; |
|
112 |
|
113 CMusAvaOptionHandler* iOptionHandler; |
|
114 CMusAvaAvailabilityObserverImp* iAvailabilityObserver; |
|
115 CMusAvaSettingsImp* iConcreteSettings; |
|
116 |
|
117 private: // NOT owned |
|
118 |
|
119 CMusAvaCapability* iCapability; |
|
120 |
|
121 }; |
|
122 |
|
123 #endif // __UT_CSTCETERMINAL_H__ |
|
124 |
|
125 // End of file |