phonebookengines/contactsmodel/tsrc/Integration/PerfFuncSuite/inc/RequestMixStep.h
changeset 0 e686773b3f54
child 24 0ba2181d7c28
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /**
       
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file 
       
    22  @publishedAll
       
    23  @released
       
    24 */
       
    25 #ifndef __REQUESTMIX_STEP_H__
       
    26 #define __REQUESTMIX_STEP_H__
       
    27 #include <test/testexecutestepbase.h>
       
    28 #include "PerformanceFunctionalityBase.h"
       
    29 
       
    30 class CRequestMixStep : public CPerformanceFunctionalityBase
       
    31 	{
       
    32 public:
       
    33 	CRequestMixStep();
       
    34 	~CRequestMixStep();
       
    35 	virtual TVerdict doTestStepL();
       
    36 
       
    37 private:
       
    38 	void PreTestL()
       
    39 		{
       
    40 		}
       
    41 	
       
    42 	void SingularTestsL(CContactDatabase *aDb2=NULL );
       
    43 	void TransactionTestsL(CContactDatabase *aDb2=NULL );
       
    44 	void UpdateTestL(CContactDatabase *aDb2 );
       
    45 	void CloseTestL( CContactDatabase *aDb2 );
       
    46 	void OpenCloseTestL( CContactDatabase *aDb2 );
       
    47 	void ReadOpenCloseTestL( CContactDatabase *aDb2 );
       
    48 	void MultipleOpenTestL(CContactDatabase *aDb2);
       
    49 	void MultipleDestroyTestL();
       
    50 	void TransactionCommitTestL( CContactDatabase *aDb2);
       
    51 	void TransactionCloseTestL( CContactDatabase *aDb2 );
       
    52 	void TransactionReadCloseTestL( CContactDatabase *aDb2 );
       
    53 	void TransactionDeleteTestL( CContactDatabase *aDb2 );
       
    54 	void TransactionOddSessionCommitTestL( CContactDatabase *aDb2 );
       
    55 	void EndlessLockTestL( );
       
    56 	};
       
    57 
       
    58 _LIT(KRequestMixStep,"RequestMixStep");
       
    59 
       
    60 #endif