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_CMUSAVADEFAULTOPTIONHANDLER_H__ |
|
20 #define __UT_CMUSAVADEFAULTOPTIONHANDLER_H__ |
|
21 |
|
22 // EXTERNAL INCLUDES |
|
23 #include <digia/eunit/ceunittestsuiteclass.h> |
|
24 |
|
25 // INTERNAL INCLUDES |
|
26 #include <e32def.h> |
|
27 #include <e32property.h> |
|
28 |
|
29 #include "mussettingskeys.h" |
|
30 |
|
31 // FORWARD DECLARATIONS |
|
32 class CSipSseTestTls; |
|
33 class CMusAvaDefaultOptionHandler; |
|
34 class CMusAvaAvailabilityObserverImp; |
|
35 class CMusAvaSettingsImp; |
|
36 class CMusAvaSettingsObserverImp; |
|
37 |
|
38 // CLASS DEFINITION |
|
39 /** |
|
40 * |
|
41 * EUnitWizard generated test class. |
|
42 * |
|
43 */ |
|
44 class UT_CMusAvaDefaultOptionHandler |
|
45 : public CEUnitTestSuiteClass |
|
46 { |
|
47 public: // Constructors and destructors |
|
48 |
|
49 /** |
|
50 * Two phase construction |
|
51 */ |
|
52 static UT_CMusAvaDefaultOptionHandler* NewL(); |
|
53 static UT_CMusAvaDefaultOptionHandler* NewLC(); |
|
54 /** |
|
55 * Destructor |
|
56 */ |
|
57 ~UT_CMusAvaDefaultOptionHandler(); |
|
58 |
|
59 private: // Constructors and destructors |
|
60 |
|
61 UT_CMusAvaDefaultOptionHandler(); |
|
62 void ConstructL(); |
|
63 |
|
64 public: // From observer interface |
|
65 |
|
66 |
|
67 |
|
68 private: // New methods |
|
69 |
|
70 void SetupL(); |
|
71 |
|
72 void SetupOpSpecificL(); |
|
73 |
|
74 void Teardown(); |
|
75 |
|
76 void UT_CMusAvaDefaultOptionHandler_NewLL(); |
|
77 |
|
78 void UT_CMusAvaDefaultOptionHandler_IncomingRequestL(); |
|
79 |
|
80 void UT_CMusAvaDefaultOptionHandler_DoExecuteLL(); |
|
81 |
|
82 void UT_CMusAvaDefaultOptionHandler_NameL(); |
|
83 |
|
84 void UT_CMusAvaDefaultOptionHandler_StatusL(); |
|
85 |
|
86 void UT_CMusAvaDefaultOptionHandler_StopL(); |
|
87 |
|
88 void UT_CMusAvaDefaultOptionHandler_IncomingOptionRequestLL(); |
|
89 |
|
90 void UT_CMusAvaDefaultOptionHandler_IncomingOptionRequestLOpSpecificL(); |
|
91 |
|
92 void UT_CMusAvaDefaultOptionHandler_ResponseLL(); |
|
93 |
|
94 void UT_CMusAvaDefaultOptionHandler_NoCapabilityResponseLL(); |
|
95 |
|
96 void UT_CMusAvaDefaultOptionHandler_NoCapabilityResponseLOpSpecificL(); |
|
97 |
|
98 void UT_CMusAvaDefaultOptionHandler_CreateResponseLL(); |
|
99 |
|
100 void UT_CMusAvaDefaultOptionHandler_TimedOutL(); |
|
101 |
|
102 |
|
103 EUNIT_DECLARE_TEST_TABLE; |
|
104 CSipSseTestTls* iStorage; |
|
105 |
|
106 CMusAvaDefaultOptionHandler* iOptionDefaultHandler; |
|
107 |
|
108 CMusAvaAvailabilityObserverImp* iAvailabilityObserver; |
|
109 |
|
110 CMusAvaSettingsImp* iConcreteSettings; |
|
111 |
|
112 CMusAvaSettingsObserverImp* iSettingsObserverImp; |
|
113 |
|
114 }; |
|
115 |
|
116 #endif // __UT_CMUSAVADEFAULTOPTIONHANDLER_H__ |
|
117 |
|
118 // End of file |
|