|
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_CMUSAVAINVITEHANDLER_H__ |
|
20 #define __UT_CMUSAVAINVITEHANDLER_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 CSipSseTestTls; |
|
31 class CMusAvaInviteHandler; |
|
32 class CMusAvaAvailabilityObserverImp; |
|
33 class CMusAvaSettingsImp; |
|
34 |
|
35 // CLASS DEFINITION |
|
36 /** |
|
37 * |
|
38 * EUnitWizard generated test class. |
|
39 * |
|
40 */ |
|
41 class UT_CMusAvaInviteHandler |
|
42 : public CEUnitTestSuiteClass |
|
43 { |
|
44 public: // Constructors and destructors |
|
45 |
|
46 /** |
|
47 * Two phase construction |
|
48 */ |
|
49 static UT_CMusAvaInviteHandler* NewL(); |
|
50 static UT_CMusAvaInviteHandler* NewLC(); |
|
51 /** |
|
52 * Destructor |
|
53 */ |
|
54 ~UT_CMusAvaInviteHandler(); |
|
55 |
|
56 private: // Constructors and destructors |
|
57 |
|
58 UT_CMusAvaInviteHandler(); |
|
59 void ConstructL(); |
|
60 |
|
61 public: // From observer interface |
|
62 |
|
63 |
|
64 |
|
65 private: // New methods |
|
66 |
|
67 void SetupL(); |
|
68 |
|
69 void Teardown(); |
|
70 |
|
71 void UT_CMusAvaInviteHandler_NewLL(); |
|
72 |
|
73 void UT_CMusAvaInviteHandler_IncomingRequestL(); |
|
74 |
|
75 void UT_CMusAvaInviteHandler_DoExecuteLL(); |
|
76 |
|
77 void UT_CMusAvaInviteHandler_NameL(); |
|
78 |
|
79 void UT_CMusAvaInviteHandler_StopL(); |
|
80 |
|
81 void UT_CMusAvaInviteHandler_InvitationReceivedLL(); |
|
82 |
|
83 void UT_CMusAvaInviteHandler_InvitationAnsweredLDL(); |
|
84 |
|
85 |
|
86 EUNIT_DECLARE_TEST_TABLE; |
|
87 |
|
88 CMusAvaInviteHandler* iInviteHandler; |
|
89 |
|
90 CMusAvaAvailabilityObserverImp* iAvailabilityObserver; |
|
91 |
|
92 CMusAvaSettingsImp* iConcreteSettings; |
|
93 |
|
94 }; |
|
95 |
|
96 #endif // __UT_CMUSAVAINVITEHANDLER_H__ |
|
97 |
|
98 // End of file |