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_CMUSAVAOPTIONHANDLER_H__ |
|
20 #define __UT_CMUSAVAOPTIONHANDLER_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 // FORWARD DECLARATIONS |
|
30 class CSIPConnection; |
|
31 class CSIPProfile; |
|
32 class CSipSseTestTls; |
|
33 class CMusAvaOptionHandler; |
|
34 class CMusAvaObserverImp; |
|
35 class CMusAvaSettingsImp; |
|
36 class CMusAvaSharedObject; |
|
37 class CMusAvaAvailabilityObserverImp; |
|
38 |
|
39 // CLASS DEFINITION |
|
40 /** |
|
41 * |
|
42 * EUnitWizard generated test class. |
|
43 * |
|
44 */ |
|
45 class UT_CMusAvaOptionHandler |
|
46 : public CEUnitTestSuiteClass |
|
47 { |
|
48 public: // Constructors and destructors |
|
49 |
|
50 /** |
|
51 * Two phase construction |
|
52 */ |
|
53 static UT_CMusAvaOptionHandler* NewL(); |
|
54 static UT_CMusAvaOptionHandler* NewLC(); |
|
55 /** |
|
56 * Destructor |
|
57 */ |
|
58 ~UT_CMusAvaOptionHandler(); |
|
59 |
|
60 private: // Constructors and destructors |
|
61 |
|
62 UT_CMusAvaOptionHandler(); |
|
63 void ConstructL(); |
|
64 |
|
65 public: // From observer interface |
|
66 |
|
67 |
|
68 |
|
69 private: // New methods |
|
70 |
|
71 void SetupL(); |
|
72 |
|
73 void Teardown(); |
|
74 |
|
75 void UT_CMusAvaOptionHandler_NewLL(); |
|
76 |
|
77 void UT_CMusAvaOptionHandler_DoExecuteLL(); |
|
78 |
|
79 void UT_CMusAvaOptionHandler_NameL(); |
|
80 |
|
81 void UT_CMusAvaOptionHandler_StatusL(); |
|
82 |
|
83 void UT_CMusAvaOptionHandler_StopL(); |
|
84 |
|
85 void UT_CMusAvaOptionHandler_CapabilitiesResolvedL(); |
|
86 |
|
87 void UT_CMusAvaOptionHandler_CapabilitiesResolvedForCingularL(); |
|
88 |
|
89 void UT_CMusAvaOptionHandler_SipHeadersL(); |
|
90 |
|
91 void UT_CMusAvaOptionHandler_VideoCodecsResolvedLL(); |
|
92 |
|
93 |
|
94 EUNIT_DECLARE_TEST_TABLE; |
|
95 CSipSseTestTls* iStorage; |
|
96 |
|
97 CMusAvaOptionHandler* iOptionHandler; |
|
98 |
|
99 CMusAvaAvailabilityObserverImp* iAvailabilityObserver; |
|
100 |
|
101 CMusAvaSettingsImp* iConcreteSettings; |
|
102 |
|
103 CMusAvaSharedObject* iSharedObject; |
|
104 |
|
105 CSIPProfile* iProfile; |
|
106 |
|
107 }; |
|
108 |
|
109 #endif // __UT_CMUSAVAOPTIONHANDLER_H__ |
|
110 |
|
111 // End of file |
|