phonebookengines/contactsmodel/tsrc/T_PersistenceLayer.h
changeset 0 e686773b3f54
child 24 0ba2181d7c28
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This class are the concrete implementation of the right hand side of the
       
    15 // the bridge pattern.
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef __T_PERSISTENCELAYER_H__
       
    20 #define __T_PERSISTENCELAYER_H__
       
    21 
       
    22 #include "T_CntTest.h"
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 namespace nsCntTest
       
    28 	{	
       
    29 	_LIT(KPl, "Pl");
       
    30 	_LIT(KCnt,"Cnt");
       
    31 	}
       
    32 
       
    33 
       
    34 // CPersistenceTests - the class implementing the 
       
    35 // Contact Performance Tests. 
       
    36 class CPersistenceTests : public CCntTest 
       
    37 	{
       
    38 public:
       
    39 	static CPersistenceTests* NewLC (CCntTestImplementor& aCntTestImpl);
       
    40 	~CPersistenceTests();
       
    41 
       
    42 	void ConstructL();
       
    43 
       
    44 	//Test procedures
       
    45 	void FileCreationL();
       
    46 	void AllTestsL(); 		
       
    47 	void BasicCRUDL();  	
       
    48 	void GroupsL();		
       
    49 	void ViewDefsInclL();	
       
    50 	void ViewDefsMaskL();
       
    51 	void DuplicatedFieldUidsL();
       
    52 	void AccessCountL();
       
    53 	void TemplateAccessCountL();
       
    54 	void OomTestL();
       
    55 	void IccL();
       
    56 	void SystemTemplateUpdates();
       
    57 
       
    58 
       
    59 private:
       
    60 	inline CPersistenceTests (CCntTestImplementor& aCntTestImpl);
       
    61 	CContactItemViewDef* iMatchAll;
       
    62 	};
       
    63 
       
    64 CPersistenceTests::CPersistenceTests (CCntTestImplementor& aCntTestImpl):CCntTest(aCntTestImpl) {};
       
    65 
       
    66 	
       
    67 
       
    68 #endif //__T_PERSISTENCELAYER_H__