telephonyserverplugins/common_tsy/test/component/inc/cctsysessionmanagementfu.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
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 SessionManagement
       
    15 // functional unit of the Common TSY.
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef CCTSYSESSIONMANAGEMENTFU_H
       
    20 #define CCTSYSESSIONMANAGEMENTFU_H
       
    21 
       
    22 #include <test/tefunit.h>
       
    23 
       
    24 #include <etelmm.h>
       
    25 #include <etelmmcs.h>
       
    26 
       
    27 #include "cctsycomponenttestbase.h"
       
    28 
       
    29 class CCTsySessionManagementFU : 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 TestInitialise0001L();
       
    39 	void TestInitialise0004L();
       
    40 	void TestOpen0001L();
       
    41 	void TestOpen0003L();
       
    42 	void TestGetTsyName0001L();
       
    43 	void TestGetTsyName0003L();
       
    44 	void TestEnumeratePhones0001L();
       
    45 	void TestLoadPhoneModule0001L();
       
    46 	void TestLoadPhoneModule0003L();
       
    47 	void TestUnloadPhoneModule0001L();
       
    48 	void TestUnloadPhoneModule0003L();
       
    49 	void TestGetTsyVersionNumber0001L();
       
    50 	void TestGetTsyVersionNumber0003L();
       
    51 	void TestSetExtendedErrorGranularity0001L();
       
    52 	void TestReferenceCount0001L();
       
    53 	void TestReferenceCount0006L();
       
    54 	void TestReferenceCount00011L();
       
    55 	void TestOpenExistingCall0001L();
       
    56 	void TestOpenExistingCall0003L();
       
    57 	void TestOpenExistingCall0006L();
       
    58 	void TestOpenExistingCall0008L();
       
    59 	void TestOpenExistingCall00011L();
       
    60 	void TestOpenExistingCall00013L();
       
    61 	void TestInitialiseMM0001L();
       
    62 
       
    63 private:
       
    64 
       
    65 	void AuxReferenceCountL(const TDesC &aName);
       
    66 	void AuxOpenExisting1L(const TDesC &aName);
       
    67 	void AuxOpenExisting3L(const TDesC &aName);
       
    68 
       
    69 	}; // class CCTsySessionManagementFU
       
    70 
       
    71 #endif // CCTSYSESSIONMANAGEMENTFU_H
       
    72