telephonyserverplugins/common_tsy/test/component/inc/cctsypacketqosfu.h
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     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 PacketQoS
       
    15 // functional unit of the Common TSY.
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef CCTSYPACKETQOSFU_H
       
    20 #define CCTSYPACKETQOSFU_H
       
    21 
       
    22 #include <test/tefunit.h>
       
    23 
       
    24 #include <etelmm.h>
       
    25 #include <etelmmcs.h>
       
    26 
       
    27 #include "cctsycomponenttestbase.h"
       
    28 
       
    29 class CCTsyPacketQoSFU : 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 TestAddMediaAuthorizationL0001L();
       
    39 	void TestAddMediaAuthorizationL0002L();
       
    40 	void TestAddMediaAuthorizationL0004L();
       
    41 	void TestAddMediaAuthorizationL0005L();
       
    42 	void TestRemoveMediaAuthorization0001L();
       
    43 	void TestRemoveMediaAuthorization0002L();
       
    44 	void TestRemoveMediaAuthorization0003L();
       
    45 	void TestRemoveMediaAuthorization0004L();
       
    46 	void TestRemoveMediaAuthorization0005L();
       
    47 	void TestGetProfileParameters0001L();
       
    48 	void TestGetProfileParameters0003L();
       
    49 	void TestGetProfileParameters0004L();
       
    50 	void TestNotifyProfileChanged0001L();
       
    51 	void TestNotifyProfileChanged0002L();
       
    52 	void TestNotifyProfileChanged0003L();
       
    53 	void TestNotifyProfileChanged0004L();
       
    54 	void TestSetProfileParameters0001L();
       
    55 	void TestSetProfileParameters0002L();
       
    56 	void TestSetProfileParameters0003L();
       
    57 	void TestSetProfileParameters0004L();
       
    58 	void TestSetProfileParameters0005L();
       
    59 	void TestGetProfileCapabilities0001L();
       
    60 	void TestGetProfileCapabilities0003L();
       
    61 	void TestGetProfileCapabilities0004L();
       
    62 	void TestGetProfileCapabilities0005L();
       
    63 	void TestCreateNewTFT0001L();
       
    64 	void TestAddPacketFilter0001L();
       
    65 	void TestAddPacketFilter0002L();
       
    66 	void TestAddPacketFilter0003L();
       
    67 	void TestAddPacketFilter0004L();
       
    68 	void TestRemovePacketFilter0001L();
       
    69 	void TestRemovePacketFilter0002L();
       
    70 	void TestRemovePacketFilter0003L();
       
    71 	void TestRemovePacketFilter0004L();
       
    72 	void TestRemovePacketFilter0005L();
       
    73 	void TestGetPacketFilterInfo0001L();
       
    74 	void TestGetPacketFilterInfo0002L();
       
    75 	void TestGetPacketFilterInfo0003L();
       
    76 	void TestGetPacketFilterInfo0004L();
       
    77 	void TestGetPacketFilterInfo0005L();
       
    78 	void TestDeleteTFT0001L();
       
    79 	void TestOpenNewQoS0001L();
       
    80 	void TestOpenNewQoS0003L();
       
    81 	void TestOpenExistingQoS0001L();
       
    82 	void TestOpenExistingQoS0003L();
       
    83 	void TestOpenExistingQoS0004L();
       
    84 
       
    85 private:
       
    86 
       
    87 	template< class T >
       
    88 	void ChangeProfileDataL(RPacketContext& aPacketContext, RPacketQoS& aPacketQoS,
       
    89 	                       TInfoName& aContextName, RBuf8& aData);
       
    90 
       
    91 	}; // class CCTsyPacketQoSFU
       
    92 
       
    93 #endif // CCTSYPACKETQOSFU_H
       
    94