equal
deleted
inserted
replaced
|
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 #ifndef __TESTS_H__ |
|
19 #define __TESTS_H__ |
|
20 |
|
21 // -- Add specific test header files here. |
|
22 #include "usbchargingarmtest.h" |
|
23 // -- End |
|
24 |
|
25 class CTestBase; |
|
26 |
|
27 struct TTestDefinition |
|
28 { |
|
29 TTestDefinition(const TDesC8& aDescription, CTestBase* (*aFactoryL)(MTestManager&)); |
|
30 |
|
31 TBuf8<256> iDescription; |
|
32 CTestBase* (*iFactoryL)(MTestManager&); |
|
33 }; |
|
34 |
|
35 TTestDefinition::TTestDefinition(const TDesC8& aDescription, CTestBase* (*aFactoryL)(MTestManager&)) |
|
36 { |
|
37 iDescription = aDescription; |
|
38 iFactoryL = aFactoryL; |
|
39 } |
|
40 |
|
41 TTestDefinition gTestDefinitions[] = |
|
42 { |
|
43 // -- Add information about specific tests here |
|
44 TTestDefinition(_L8("Test 1 (USBChargingARMTest)"), CUsbChargingArmTest::NewL), |
|
45 // -- End |
|
46 }; |
|
47 |
|
48 #endif // __TESTS_H__ |