|
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 __SIMPLE_VIEWDEF_TESTS_H__ |
|
27 #define __SIMPLE_VIEWDEF_TESTS_H__ |
|
28 |
|
29 #include "ViewDefBase.h" |
|
30 |
|
31 |
|
32 class CSimpleViewDefTest : public CViewDefBase |
|
33 { |
|
34 public: |
|
35 CSimpleViewDefTest(); |
|
36 virtual TVerdict doTestStepL(); |
|
37 protected: |
|
38 virtual void PreTestL() |
|
39 { |
|
40 } |
|
41 private: |
|
42 void SetupTestL(const TContactItemId aCid, CContactDatabase &aContactsDatabase, |
|
43 const CContactItemViewDef &aViewAll); |
|
44 void MIInverseTestL( const TContactItemId aCid, CContactDatabase &aContactsDatabase, |
|
45 const CContactItemViewDef &aViewAll); |
|
46 void PrimayMappingsTestL( const TContactItemId aCid, CContactDatabase &aContactsDatabase, |
|
47 const CContactItemViewDef &aViewAll); |
|
48 void AllPrimayMappingsTestL( const TContactItemId aCid, CContactDatabase &aContactsDatabase, |
|
49 const CContactItemViewDef &aViewAll); |
|
50 void doPrimayMappingsTestL(const TContactItemId aCid, CContactDatabase &aContactsDatabase, |
|
51 const CContactItemViewDef &aViewAll, const TInt32 aUid); |
|
52 |
|
53 }; |
|
54 |
|
55 #endif |