phonebookengines/contactsmodel/tsrc/Integration/CntPerfTest/inc/CustomLabelUid.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 
       
    26 #ifndef __CUSTOM_LABELUID_H__
       
    27 #define __CUSTOM_LABELUID_H__
       
    28 
       
    29 #include "CntBaseStep.h"
       
    30 
       
    31 class CCustomLabelUid : public CCntBaseStep
       
    32 	{
       
    33 private:
       
    34 	enum TUidTypeTest
       
    35 		{
       
    36 		EDuplicateUids,
       
    37 		EUniqueUids,
       
    38 		};
       
    39 public:
       
    40 	CCustomLabelUid();
       
    41 	virtual TVerdict doTestStepL();
       
    42 private:
       
    43 	void TestCustomUidsL( const TContactItemId aCid );
       
    44 	void TestCustomLabelsL( const TContactItemId aCid );
       
    45 	void TestCustomUidLabelsL( const TContactItemId aCid, const TBool aNewFields );
       
    46 	void DuplicateUidsTestL( const TContactItemId aCid );
       
    47 	void ExistingUidsTestL( const TUidTypeTest aTestType );
       
    48 	void PreTestL()
       
    49 		{
       
    50 		}
       
    51 	};
       
    52 #endif