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