|
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // @file testltsycallcontrolbase.h |
|
15 // |
|
16 |
|
17 #ifndef TESTLTSYCALLCONTROLBASE_H_ |
|
18 #define TESTLTSYCALLCONTROLBASE_H_ |
|
19 |
|
20 //System include |
|
21 #include "te_integration_stltsysuitestepbase.h" |
|
22 #include "testltsycallshareddata.h" |
|
23 #include "testltsymodel.h" |
|
24 |
|
25 |
|
26 /** |
|
27 * This is the test step base class of Call Control test |
|
28 * category which provides methods |
|
29 */ |
|
30 |
|
31 class CTestLtsyCallControlBase : public CTe_integration_stltsySuiteStepBase |
|
32 /** |
|
33 * @internalAll |
|
34 * @test |
|
35 */ |
|
36 { |
|
37 public: |
|
38 virtual ~CTestLtsyCallControlBase(); |
|
39 |
|
40 CTestLtsyCallControlBase(CTestLtsyModel& aModel); |
|
41 |
|
42 protected: |
|
43 virtual TVerdict doTestStepPreambleL(); |
|
44 |
|
45 virtual TVerdict doTestStepPostambleL(); |
|
46 |
|
47 virtual TVerdict doTestStepL(); |
|
48 |
|
49 void OpenPhoneL(); |
|
50 |
|
51 void OpenLineL(); |
|
52 |
|
53 void CloseLine(); |
|
54 |
|
55 void OpenCustomAPIL(); |
|
56 |
|
57 void CloseCustomAPI(); |
|
58 |
|
59 void CustomAPITerminateAllCallsL(); |
|
60 |
|
61 void PhoneTerminateAllCallsL(); |
|
62 |
|
63 void CreateThirtyPartyTelephonyL(); |
|
64 |
|
65 void OpenCallOneL(); |
|
66 |
|
67 void OpenCallTwoL(); |
|
68 |
|
69 void CloseCallOne(); |
|
70 |
|
71 void CloseCallTwo(); |
|
72 |
|
73 void DialCallOne(); |
|
74 |
|
75 void CallOneDialBadNumberL(); |
|
76 |
|
77 void CallOneDialSelfNumberL(); |
|
78 |
|
79 void DialCallTwo(); |
|
80 |
|
81 void HangupCallOneL(); |
|
82 |
|
83 void HangupCallTwoL(); |
|
84 |
|
85 void HoldCallOne(); |
|
86 |
|
87 void HoldCallTwo(); |
|
88 |
|
89 void ResumeCallOne(); |
|
90 |
|
91 void ResumeCallTwo(); |
|
92 |
|
93 void SwapCallOne(); |
|
94 void NotifyCallOne(); |
|
95 |
|
96 void SwapCallTwo(); |
|
97 void NotifyCallTwo(); |
|
98 |
|
99 void NotifyIncomingCallOneL(); |
|
100 |
|
101 void NotifyIncomingCallTwoL(); |
|
102 |
|
103 void AnswerIncomingCallOneL(); |
|
104 |
|
105 void AnswerIncomingCallTwoL(); |
|
106 |
|
107 protected: |
|
108 |
|
109 CTestLtsyModel& iLtsyModel; |
|
110 }; |
|
111 |
|
112 _LIT(KTestLtsyCallControlBase, "CTestLtsyCallControlBase"); |
|
113 #endif /*TESTLTSYCALLCONTROLBASE_H_*/ |