|
1 // Copyright (c) 2007-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 // The TEFUnit header file which tests the UserToUserSignalling |
|
15 // functional unit of the Common TSY. |
|
16 // |
|
17 // |
|
18 |
|
19 #ifndef CCTSYUSERTOUSERSIGNALLINGFU_H |
|
20 #define CCTSYUSERTOUSERSIGNALLINGFU_H |
|
21 |
|
22 #include <test/tefunit.h> |
|
23 |
|
24 #include <etelmm.h> |
|
25 #include <etelmmcs.h> |
|
26 |
|
27 #include "cctsycomponenttestbase.h" |
|
28 |
|
29 class CCTsyUserToUserSignallingFU : public CCtsyComponentTestBase |
|
30 { |
|
31 public: |
|
32 // Create a suite of all the tests |
|
33 static CTestSuite* CreateSuiteL(const TDesC& aName); |
|
34 |
|
35 public: |
|
36 // Individual test steps |
|
37 |
|
38 void TestGetUUSCaps0001L(); |
|
39 void TestGetUUSCaps0002L(); |
|
40 void TestGetUUSCaps0003L(); |
|
41 void TestReceiveUUI0001L(); |
|
42 void TestReceiveUUI0001bL(); |
|
43 void TestReceiveUUI0002L(); |
|
44 void TestReceiveUUI0003L(); |
|
45 void TestActivateUUS0001L(); |
|
46 void TestActivateUUS0002L(); |
|
47 void TestActivateUUS0003L(); |
|
48 void TestHangupWithUUI0001L(); |
|
49 void TestHangupWithUUI0002L(); |
|
50 void TestHangupWithUUI0003L(); |
|
51 void TestNotifyUUSCapsChange0001L(); |
|
52 void TestNotifyUUSCapsChange0002L(); |
|
53 void TestNotifyUUSCapsChange0003L(); |
|
54 void TestAnswerIncomingCallWithUUI0001L(); |
|
55 void TestAnswerIncomingCallWithUUI0002L(); |
|
56 void TestAnswerIncomingCallWithUUI0003L(); |
|
57 void TestSendUUI0001L(); |
|
58 void TestSendUUI0002L(); |
|
59 void TestSendUUI0003L(); |
|
60 void TestGetUUSSetting0001L(); |
|
61 void TestSetUUSSetting0001L(); |
|
62 void TestNotifyUUSSettingChange0001L(); |
|
63 |
|
64 |
|
65 private: |
|
66 |
|
67 void AuxGetUUSCapsL(const TDesC& aLineName); |
|
68 void AuxActivateUUSDataAndFaxL(const TDesC& aLineName); |
|
69 void AuxHangupWithUUIL(const TDesC& aLineName); |
|
70 void AuxNotifyUUSCapsChangeL(const TDesC& aLineName); |
|
71 void AuxAnswerIncomingCallWithUUIL(const TDesC& aLineName); |
|
72 void AuxSendUUIL(const TDesC& aLineName); |
|
73 void AuxReceiveUUIDataAndFaxL(const TDesC& aLineName); |
|
74 void AuxReceiveUUIVoiceL(TBool aWaitForComplete = EFalse); |
|
75 |
|
76 void OpenNewLineLC(RLine& aLine, const TDesC& aLineName); |
|
77 void OpenNewCallLC(RMobileCall& aCall, RLine& aLine, TDes& aCallName); |
|
78 void CreateAndOpenCallForVoiceLC( RLine& aLine, RCall& aCall, |
|
79 TInt aCallId, TName& aCallName, |
|
80 RMobilePhone::TMobileService& aMobileService, |
|
81 RMobileCall::TMobileCallStatus aMobileCallStatus = RMobileCall::EStatusRinging); |
|
82 |
|
83 }; // class CCTsyUserToUserSignallingFU |
|
84 |
|
85 #endif // CCTSYUSERTOUSERSIGNALLINGFU_H |
|
86 |