|
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 the License "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 @file |
|
21 */ |
|
22 |
|
23 // tests |
|
24 #include "swilaunchercaptest.h" |
|
25 #include "swiocspcaptest.h" |
|
26 #include "swiscaptest.h" |
|
27 #include "sishelpercaptest.h" |
|
28 #include "registrycaptest.h" |
|
29 #include "uisscaptest.h" |
|
30 |
|
31 #include <captestframework/aprcaptestutility.h> |
|
32 |
|
33 #include <s32file.h> |
|
34 |
|
35 // Factory function |
|
36 MCapabilityTestFactory* CapabilityTestFactoryL() |
|
37 { |
|
38 CDefaultCapabilityTestFactory* factory=new(ELeave) CDefaultCapabilityTestFactory(); |
|
39 |
|
40 // Add tests. This is where you would add a new test |
|
41 factory->AddTestL(CSwiLauncherCapTest::NewL()); |
|
42 factory->AddTestL(CSwiOcspCapTest::NewL()); |
|
43 factory->AddTestL(CSwisCapTest::NewL()); |
|
44 //factory->AddTestL(CSisHelperCapTest::NewL()); |
|
45 |
|
46 factory->AddTestL(CReadUserDataRegistryCapTest::NewL()); |
|
47 factory->AddTestL(CPrivateRegistryCapTest::NewL()); |
|
48 factory->AddTestL(CPublicRegistryCapTest::NewL()); |
|
49 factory->AddTestL(CDaemonRegistryCapTest::NewL()); |
|
50 factory->AddTestL(CRevocationRegistryCapTest::NewL()); |
|
51 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
52 factory->AddTestL(CSifServerRegistryCapTest::NewL()); |
|
53 factory->AddTestL(CSwiLauncherInstallServerUtilCapTest::NewL()); |
|
54 factory->AddTestL(CSwiLauncherSisRegistryServerUtilCapTest::NewL()); |
|
55 #endif |
|
56 return factory; |
|
57 } |
|
58 |
|
59 EXPORT_C MCapabilityTestFactory* CapabilityTestFactory() |
|
60 { |
|
61 MCapabilityTestFactory* factory=NULL; |
|
62 TRAP_IGNORE(factory = CapabilityTestFactoryL()); |
|
63 return factory; |
|
64 } |
|
65 |
|
66 |