|
1 /* |
|
2 * Copyright (c) 2009 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 #ifndef __UT_CPHONECONFERENCEANDWAITINGANDCALLSETUP_H__ |
|
19 #define __UT_CPHONECONFERENCEANDWAITINGANDCALLSETUP_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <CEUnitTestSuiteClass.h> |
|
23 #include <EUnitDecorators.h> |
|
24 |
|
25 |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CPhoneConferenceAndWaitingAndCallSetup; |
|
29 class CPhoneMainResourceResolverMock; |
|
30 class CPhoneStateMachineGSM; |
|
31 class CPhoneViewCommandHandleMock; |
|
32 class CSmcMockContext; |
|
33 class CCoeEnv; |
|
34 class CPEEngineInfo; |
|
35 |
|
36 // CLASS DEFINITION |
|
37 /** |
|
38 * Generated EUnit test suite class. |
|
39 */ |
|
40 NONSHARABLE_CLASS( ut_cphconfandwaitingandcallsetup ) |
|
41 : public CEUnitTestSuiteClass |
|
42 { |
|
43 public: // Constructors and destructor |
|
44 |
|
45 static ut_cphconfandwaitingandcallsetup* NewL(); |
|
46 static ut_cphconfandwaitingandcallsetup* NewLC(); |
|
47 ~ut_cphconfandwaitingandcallsetup(); |
|
48 |
|
49 private: // Constructors |
|
50 |
|
51 ut_cphconfandwaitingandcallsetup(); |
|
52 void ConstructL(); |
|
53 |
|
54 private: // New methods |
|
55 |
|
56 void SetupL(); |
|
57 void Teardown(); |
|
58 |
|
59 void T_HandleConnectedL(); |
|
60 void T_HandleIdleL(); |
|
61 void T_HandleConferenceIdleL(); |
|
62 |
|
63 |
|
64 private: // Data |
|
65 |
|
66 CPhoneViewCommandHandleMock* iViewCommandHandleMock; |
|
67 CPhoneStateMachineGSM* iStateMachineMock; |
|
68 CPhoneConferenceAndWaitingAndCallSetup * iStateConferenceAndCallSetupAndWaiting; |
|
69 CCoeEnv* iCoeEnvMock; |
|
70 CSmcMockContext* iMockContext; |
|
71 CPhoneMainResourceResolverMock* iCPhoneMainResourceResolverMock; |
|
72 CPEEngineInfo* iEngineInfoMock; |
|
73 |
|
74 EUNIT_DECLARE_TEST_TABLE; |
|
75 |
|
76 }; |
|
77 |
|
78 #endif // __UT_CPHONECONFERENCEANDWAITINGANDCALLSETUP_H__ |