phonebookengines/contactsmodel/tsrc/Integration/TestContactSuite/src/TestUpdateFieldsStep.h
changeset 0 e686773b3f54
child 24 0ba2181d7c28
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /**
       
     2 * Copyright (c) 2005-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 #if (!defined __TESTUPDATEFIELDSSTEP_H__)
       
    21 #define __TESTUPDATEFIELDSSTEP_H__
       
    22 #include <test/testexecutestepbase.h>
       
    23 
       
    24 _LIT(KTestUpdateFieldsStep,"TestUpdateFieldsStep");
       
    25 
       
    26 class CTestUpdateFieldsStep : public CTestStep
       
    27 	{
       
    28 public:
       
    29 	CTestUpdateFieldsStep();
       
    30 	~CTestUpdateFieldsStep();
       
    31 	virtual TVerdict doTestStepPreambleL();
       
    32 	virtual TVerdict doTestStepL();
       
    33 	virtual TVerdict doTestStepPostambleL();
       
    34 
       
    35 private:
       
    36 	CActiveScheduler* iScheduler;
       
    37 	RFs iFsSession;
       
    38 	void UpdateFieldsL(TPtrC aValue, TInt aStorageType,TUid aContFieldUid, TUid aFieldvCardUid);
       
    39 	void UpdateFieldsNewTemplateL(TPtrC aValue, TInt aStorageType,TUid aContFieldUid, TUid aFieldvCardUid);
       
    40 	static TInt iStorage[];
       
    41 	static TUid iFieldUid[];
       
    42 	static TUid iVcardUid[];
       
    43 	};
       
    44 
       
    45 #endif