phonebookengines/contactsmodel/tsrc/Integration/TestContactSuite/src/TestContactSuiteServer.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 __TESTCONTACT_SERVER_H__)
       
    21 #define __TESTCONTACT_SERVER_H__
       
    22 #include <test/testexecuteserverbase.h>
       
    23 #include <cntitem.h>
       
    24 #include <cntfield.h>
       
    25 
       
    26 //#include "TestAddFieldsStep.h"
       
    27 //#include "TestUpdateFieldsStep.h"
       
    28 
       
    29 // Literal constants for INI file field-names
       
    30 _LIT(KIniFieldName, 			"fieldname");
       
    31 _LIT(KIniFieldVal,				"fieldval");
       
    32 _LIT(KIniUpdatedvalue,			"updatedvalue");
       
    33 _LIT(KIniFlagvalue,				"flag");
       
    34 _LIT(KIniFlagDelete,			"flagdelete");
       
    35 //_LIT(KIniAllfields,			"allfields");
       
    36 
       
    37 // all fields value
       
    38 _LIT(KIniFieldAsstVal,					"asstfieldval");
       
    39 _LIT(KIniFieldAsstTelVal,				"assttelfieldval");
       
    40 _LIT(KIniFieldSpouseVal,				"spousefieldval");
       
    41 _LIT(KIniFieldChildVel,					"childrenfieldval");
       
    42 _LIT(KIniFieldClassVal,					"classfieldval");
       
    43 _LIT(KIniFieldDeptVal,					"deptfieldval");
       
    44 _LIT(KIniYear,							"year");
       
    45 _LIT(KIniMonth,							"month");
       
    46 _LIT(KIniDay,							"day");
       
    47 _LIT(KIniUpdateYear,					"updateyear");
       
    48 _LIT(KIniUpdateMonth,					"updatemonth");
       
    49 _LIT(KIniUpdateDay,						"updateday");
       
    50 _LIT(KNoOfContactItem,					"noofCI");
       
    51 
       
    52 
       
    53 // Field Name
       
    54 _LIT(KAssistance, 		"Assistant");
       
    55 _LIT(KAssistanceTel, 	"Assistant-Tel");
       
    56 _LIT(KAnniversary, 		"Anniversary");
       
    57 _LIT(KSpouse, 			"Spouse");
       
    58 _LIT(KChildren, 		"Children");
       
    59 _LIT(KClass, 			"Class");
       
    60 _LIT(KDepartment, 		"Department");
       
    61 
       
    62 
       
    63 class CTestContactSuite : public CTestServer
       
    64 	{
       
    65 public:
       
    66 	static CTestContactSuite* NewL();
       
    67 	// Base class pure virtual override
       
    68 	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
       
    69 
       
    70 private:
       
    71 	
       
    72 	};
       
    73 
       
    74 #endif