1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 /* |
2 // All rights reserved. |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
3 // This component and the accompanying materials are made available |
3 * All rights reserved. |
4 // under the terms of "Eclipse Public License v1.0" |
4 * This component and the accompanying materials are made available |
5 // which accompanies this distribution, and is available |
5 * under the terms of "Eclipse Public License v1.0" |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 * which accompanies this distribution, and is available |
7 // |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 // Initial Contributors: |
8 * |
9 // Nokia Corporation - initial contribution. |
9 * Initial Contributors: |
10 // |
10 * Nokia Corporation - initial contribution. |
11 // Contributors: |
11 * |
12 // |
12 * Contributors: |
13 // Description: |
13 * |
14 // Persistence Layer Performance Test module |
14 * Description: |
15 // These tests compare the Contact Persistence Layer with the original |
15 * Persistence Layer Performance Test module |
16 // Contacts model. |
16 * These tests compare the Contact Persistence Layer with the original |
17 // This class is an implementation of the bridge pattern. It represents |
17 * Contacts model. |
18 // the left hand side of the pattern or an abstraction class. The decoupled |
18 * This class is an implementation of the bridge pattern. It represents |
19 // implementation classes can be found in T_CntTestImplentor.h |
19 * the left hand side of the pattern or an abstraction class. The decoupled |
20 // |
20 * implementation classes can be found in T_CntTestImplentor.h |
21 // |
21 * |
|
22 */ |
|
23 |
22 |
24 |
23 #include <e32test.h> |
25 #include <e32test.h> |
24 #include <coreappstest/testserver.h> |
26 #include <coreappstest/testserver.h> |
25 #include <cntitem.h> |
27 #include <cntitem.h> |
26 #include <cntfldst.h> |
28 #include <cntfldst.h> |
27 |
29 |
28 _LIT(KTestName, "T_PlPerformance"); // Used by Testhelper - gives an warning under ARMv5 |
30 _LIT(KTestName, "T_PlPerformance"); // Used by Testhelper - gives an warning under ARMv5 |
29 |
31 |
30 #include "T_PlPerformance.h" |
32 #include "t_plperformance.h" |
31 |
33 |
32 #include "testhelpers.h" |
34 #include "testhelpers.h" |
33 #include "persistencelayer.h" |
35 #include "persistencelayer.h" |
34 |
36 |
35 #include "T_CntTestImplDefs.h" |
37 #include "t_cnttestimpldefs.h" |
36 |
38 |
37 |
39 |
38 //#define RUN_CNT |
40 //#define RUN_CNT |
39 #define RUN_PL |
41 #define RUN_PL |
40 //#define RUN_CLIENT_SERVER |
42 //#define RUN_CLIENT_SERVER |