diff -r 000000000000 -r e686773b3f54 phonebookengines/contactsmodel/tsrc/Integration/TestContactSuite/src/TestContactSuiteServer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phonebookengines/contactsmodel/tsrc/Integration/TestContactSuite/src/TestContactSuiteServer.h Tue Feb 02 10:12:17 2010 +0200 @@ -0,0 +1,74 @@ +/** +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + + +#if (!defined __TESTCONTACT_SERVER_H__) +#define __TESTCONTACT_SERVER_H__ +#include +#include +#include + +//#include "TestAddFieldsStep.h" +//#include "TestUpdateFieldsStep.h" + +// Literal constants for INI file field-names +_LIT(KIniFieldName, "fieldname"); +_LIT(KIniFieldVal, "fieldval"); +_LIT(KIniUpdatedvalue, "updatedvalue"); +_LIT(KIniFlagvalue, "flag"); +_LIT(KIniFlagDelete, "flagdelete"); +//_LIT(KIniAllfields, "allfields"); + +// all fields value +_LIT(KIniFieldAsstVal, "asstfieldval"); +_LIT(KIniFieldAsstTelVal, "assttelfieldval"); +_LIT(KIniFieldSpouseVal, "spousefieldval"); +_LIT(KIniFieldChildVel, "childrenfieldval"); +_LIT(KIniFieldClassVal, "classfieldval"); +_LIT(KIniFieldDeptVal, "deptfieldval"); +_LIT(KIniYear, "year"); +_LIT(KIniMonth, "month"); +_LIT(KIniDay, "day"); +_LIT(KIniUpdateYear, "updateyear"); +_LIT(KIniUpdateMonth, "updatemonth"); +_LIT(KIniUpdateDay, "updateday"); +_LIT(KNoOfContactItem, "noofCI"); + + +// Field Name +_LIT(KAssistance, "Assistant"); +_LIT(KAssistanceTel, "Assistant-Tel"); +_LIT(KAnniversary, "Anniversary"); +_LIT(KSpouse, "Spouse"); +_LIT(KChildren, "Children"); +_LIT(KClass, "Class"); +_LIT(KDepartment, "Department"); + + +class CTestContactSuite : public CTestServer + { +public: + static CTestContactSuite* NewL(); + // Base class pure virtual override + virtual CTestStep* CreateTestStep(const TDesC& aStepName); + +private: + + }; + +#endif