telephonyserverplugins/ctsydispatchlayer/test/dispatchertests/dispatchinc/cctsycallcontrolmultipartyfunegative.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     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 // functional unit of the Common TSY Dispatcher for all situations
       
    15 // in which a IPC is not supported.
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file The TEFUnit header file which tests the Sms
       
    22 */
       
    23 
       
    24 /**
       
    25  @file
       
    26  @internalAll 
       
    27 */
       
    28 
       
    29 #ifndef CCTSYCALLCONTROLMULTIPARTYFU_HNEGATIVE_H__
       
    30 #define CCTSYCALLCONTROLMULTIPARTYFU_HNEGATIVE_H__
       
    31 
       
    32 #include "cctsycomponenttestbase.h"
       
    33 
       
    34 class CCTsyCallControlMultipartyFUNegative : public CCtsyComponentTestBase
       
    35 	{
       
    36 public:
       
    37 	// Create a suite of all the tests
       
    38 	static CTestSuite* CreateSuiteL(const TDesC& aName);
       
    39 
       
    40 public:
       
    41 	void TestHangUpL();
       
    42 	void TestAddCallL();
       
    43 	void TestCreateConferenceL();
       
    44 	void TestSwapL();
       
    45 	void TestGoOneToOneL();
       
    46 	
       
    47 private:
       
    48 
       
    49 	// Driver side helper functions
       
    50 	void DriverCreateConferenceCallL(RMobilePhone::TMobileService aMobileService, TInt aCallId1, TInt aCallId2);
       
    51 	void DriverCloseTwoRemotePartyConferenceAndCallSubsessionsL(TInt aCallId1, TInt aCallId2, const RArray<TInt>& aCallIds);
       
    52 	void DriverCloseThreeRemotePartyConferenceAndCallSubsessionsL(TInt aCallId1, TInt aCallId2, TInt aCallId3, const RArray<TInt>& aCallIds);
       
    53 	void DriverCreateConferenceCallAndHoldItL(RMobilePhone::TMobileService aMobileService, TInt aCallId1, TInt aCallId2);
       
    54 	void DriverCreateConferenceWithThreeRemotePartiesL(RMobilePhone::TMobileService aMobileService, TInt aCallId1, TInt aCallId2, TInt aCallId3);
       
    55 
       
    56 	// Client side helper functions
       
    57 	void ClientCreateConferenceCallL(RMobileConferenceCall& aConfCall);
       
    58 	void ClientSwapConferenceCallL(RMobileConferenceCall& aConfCall, RMobileConferenceCall::TMobileConferenceEvent aExpectedConfEvent, RMobileConferenceCall::TMobileConferenceStatus aExpectedConfStatus);
       
    59 	void ClientCreateConferenceCallAndHoldItL(RMobilePhone::TMobileService aMobileService, RMobileCall& aMobileCall, RMobileLine& aMobileLine, RMobileCall& aMobileCall2, RMobileLine& mobileLine2, RMobileConferenceCall& aConfCall);
       
    60 	void ClientCreateConferenceCallWithThreeRemotePartiesL(RMobilePhone::TMobileService aMobileService, RMobileCall& aMobileCall, RMobileLine& aMobileLine, RMobileCall& aMobileCall2, RMobileLine& aMobileLine2, RMobileCall& aMobileCall3, RMobileLine& aMobileLine3, RMobileConferenceCall& aConfCall);
       
    61 	}; // class CCTsyCallControlMultipartyFUNegative
       
    62 
       
    63 #endif // CCTSYCALLCONTROLMULTIPARTYFU_HNEGATIVE_H__
       
    64