|
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_CPHONECALLSETUPWAITING_H__ |
|
19 #define __UT_CPHONECALLSETUPWAITING_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <CEUnitTestSuiteClass.h> |
|
23 #include <EUnitDecorators.h> |
|
24 |
|
25 |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CPhoneCallSetupAndWaiting; |
|
29 class CPhoneStateMachineStub; |
|
30 class CPhoneViewController; |
|
31 class CSmcMockContext; |
|
32 |
|
33 // CLASS DEFINITION |
|
34 /** |
|
35 * Generated EUnit test suite class. |
|
36 */ |
|
37 NONSHARABLE_CLASS( ut_cphonecallsetupandwaiting ) |
|
38 : public CEUnitTestSuiteClass |
|
39 { |
|
40 public: // Constructors and destructor |
|
41 |
|
42 static ut_cphonecallsetupandwaiting* NewL(); |
|
43 static ut_cphonecallsetupandwaiting* NewLC(); |
|
44 ~ut_cphonecallsetupandwaiting(); |
|
45 |
|
46 private: // Constructors |
|
47 |
|
48 ut_cphonecallsetupandwaiting(); |
|
49 void ConstructL(); |
|
50 |
|
51 private: // New methods |
|
52 |
|
53 void SetupL(); |
|
54 |
|
55 void Teardown(); |
|
56 |
|
57 void T_HandleIdleL(); |
|
58 |
|
59 private: // Data |
|
60 |
|
61 CPhoneViewController* iViewCommandHandle; |
|
62 |
|
63 CPhoneStateMachineStub* iStateMachine; |
|
64 |
|
65 CPhoneCallSetupAndWaiting * iStateCallSetupAndWaiting; |
|
66 |
|
67 CSmcMockContext* iMockContext; |
|
68 |
|
69 EUNIT_DECLARE_TEST_TABLE; |
|
70 |
|
71 }; |
|
72 |
|
73 #endif // __UT_CPHONECALLSETUPWAITING_H__ |