24
|
1 |
// Copyright (c) 2003-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 |
//
|
|
15 |
|
|
16 |
|
|
17 |
#ifndef __TE_ETELISVSUPPSERVICES_H_
|
|
18 |
#define __TE_ETELISVSUPPSERVICES_H_
|
|
19 |
|
|
20 |
|
|
21 |
class CTestGetSupplementaryServiceStatus : public CEtelIsvTestStep
|
|
22 |
{
|
|
23 |
public:
|
|
24 |
CTestGetSupplementaryServiceStatus() ;
|
|
25 |
~CTestGetSupplementaryServiceStatus(){} ;
|
|
26 |
virtual enum TVerdict doTestStepL();
|
|
27 |
};
|
|
28 |
|
|
29 |
class CTestGetSupplementaryServiceStatusAct : public CEtelIsvActBase
|
|
30 |
{
|
|
31 |
public: // functions
|
|
32 |
enum TTestSupplServiceType
|
|
33 |
{
|
|
34 |
ETestSupplServiceCB,
|
|
35 |
ETestSupplServiceCF,
|
|
36 |
ETestSupplServiceCW,
|
|
37 |
};
|
|
38 |
static CTestGetSupplementaryServiceStatusAct* NewLC(CEtelIsvTestStep* aTestStep, CTelephony* aTelephony);
|
|
39 |
void ConstructL();
|
|
40 |
~CTestGetSupplementaryServiceStatusAct();
|
|
41 |
void TestGetCFSupplementaryServiceStatus(CTelephony::TCallForwardingSupplServicesV1& aExpSupplementaryServiceStatus, CTelephony::TCallForwardingCondition aSSCondition, CTelephony::TServiceGroup aServiceGroup, TRequestStatus aExpStat, TBool aCheckConcurrency = EFalse);
|
|
42 |
void TestGetCBSupplementaryServiceStatus(CTelephony::TCallBarringSupplServicesV1& aExpSupplementaryServiceStatus, CTelephony::TCallBarringCondition aSSCondition, CTelephony::TServiceGroup aServiceGroup, TRequestStatus aExpStat, TBool aCheckConcurrency = EFalse);
|
|
43 |
void TestGetCWSupplementaryServiceStatus(CTelephony::TCallWaitingSupplServicesV1& aExpSupplementaryServiceStatus, CTelephony::TServiceGroup aServiceGroup, TRequestStatus aExpStat, TBool aCheckConcurrency = EFalse);
|
|
44 |
void DoCancel();
|
|
45 |
void RunL();
|
|
46 |
protected:
|
|
47 |
CTestGetSupplementaryServiceStatusAct(CEtelIsvTestStep* aTestStep, CTelephony* aTelephony);
|
|
48 |
private: // data
|
|
49 |
TTestSupplServiceType iSupplServiceType;
|
|
50 |
CTelephony::TCallBarringSupplServicesV1 iCallBarringStatus;
|
|
51 |
CTelephony::TCallBarringSupplServicesV1Pckg iCallBarringStatusPckg;
|
|
52 |
TPckgBuf<CTelephony::TCallBarringSupplServicesV1> iCallBarringStatusBuff;
|
|
53 |
CTelephony::TCallBarringSupplServicesV1 iExpectedCallBarringStatus;
|
|
54 |
|
|
55 |
CTelephony::TCallWaitingSupplServicesV1 iCallWaitingStatus;
|
|
56 |
CTelephony::TCallWaitingSupplServicesV1Pckg iCallWaitingStatusPckg;
|
|
57 |
TPckgBuf<CTelephony::TCallWaitingSupplServicesV1> iCallWaitingStatusBuff;
|
|
58 |
CTelephony::TCallWaitingSupplServicesV1 iExpectedCallWaitingStatus;
|
|
59 |
|
|
60 |
CTelephony::TCallForwardingSupplServicesV1 iCallForwardingStatus;
|
|
61 |
CTelephony::TCallForwardingSupplServicesV1Pckg iCallForwardingStatusPckg;
|
|
62 |
TPckgBuf<CTelephony::TCallForwardingSupplServicesV1> iCallForwardingStatusBuff;
|
|
63 |
CTelephony::TCallForwardingSupplServicesV1 iExpectedCallForwardingStatus;
|
|
64 |
CTelephony::TServiceGroup iServiceGroup;
|
|
65 |
};
|
|
66 |
|
|
67 |
|
|
68 |
class CTestGetIdentityServiceStatus : public CEtelIsvTestStep
|
|
69 |
{
|
|
70 |
public:
|
|
71 |
CTestGetIdentityServiceStatus() ;
|
|
72 |
~CTestGetIdentityServiceStatus(){} ;
|
|
73 |
virtual enum TVerdict doTestStepL();
|
|
74 |
};
|
|
75 |
|
|
76 |
class CTestGetIdentityServiceStatusAct : public CEtelIsvActBase
|
|
77 |
{
|
|
78 |
public: // functions
|
|
79 |
static CTestGetIdentityServiceStatusAct* NewLC(CEtelIsvTestStep* aTestStep, CTelephony* aTelephony);
|
|
80 |
void ConstructL();
|
|
81 |
~CTestGetIdentityServiceStatusAct();
|
|
82 |
void TestGetIdentityServiceStatus( CTelephony::TIdentityServiceV1& aIdentityServiceStatus, CTelephony::TIdentityService aIdentityServiceType, TRequestStatus aExpStat, TBool aCheckConcurrency = EFalse);
|
|
83 |
void DoCancel();
|
|
84 |
void RunL();
|
|
85 |
protected:
|
|
86 |
CTestGetIdentityServiceStatusAct(CEtelIsvTestStep* aTestStep, CTelephony* aTelephony);
|
|
87 |
private: // data
|
|
88 |
CTelephony::TIdentityService iIdentityServiceType;
|
|
89 |
CTelephony::TIdentityServiceV1 iIdentityServiceStatus;
|
|
90 |
CTelephony::TIdentityServiceV1 iExpectedIdentityServiceStatus;
|
|
91 |
|
|
92 |
CTelephony::TIdentityServiceV1Pckg iIdentityServiceStatusPckg;
|
|
93 |
TPckgBuf<CTelephony::TIdentityServiceV1> iIdentityServiceStatusBuff;
|
|
94 |
};
|
|
95 |
|
|
96 |
class CTestSuppServFuncFlightModeOnWithPublishSubscribe : public CEtelIsvTestStep
|
|
97 |
{
|
|
98 |
public:
|
|
99 |
CTestSuppServFuncFlightModeOnWithPublishSubscribe() ;
|
|
100 |
~CTestSuppServFuncFlightModeOnWithPublishSubscribe(){} ;
|
|
101 |
virtual enum TVerdict doTestStepL();
|
|
102 |
};
|
|
103 |
|
|
104 |
|
|
105 |
#endif
|