equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2003-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 |
|
21 |
|
22 |
|
23 /** |
|
24 @file testexecuteinterface.h |
|
25 */ |
|
26 #ifndef __TESTEXECUTEINTERFACE_H__ |
|
27 #define __TESTEXECUTEINTERFACE_H__ |
|
28 |
|
29 #include <e32cons.h> |
|
30 |
|
31 struct TScriptTests; |
|
32 |
|
33 namespace TestExecuteInterface |
|
34 { |
|
35 // The test code's WinsMain() should call this to kick off |
|
36 // the server thread for wins/eka1. Usage is: |
|
37 // EXPORT_C TInt WinsMain() |
|
38 // { |
|
39 // return TTestExecuteInterface::StartWinsEka1Thread(E32Main); |
|
40 // } |
|
41 IMPORT_C TInt StartWinsEka1Thread(TInt (*aE32Main)(), |
|
42 const TDesC& aServerName); |
|
43 |
|
44 // Client calls this to perform the tests instead of |
|
45 // CTestSetup::CreateAndRunTestsL |
|
46 IMPORT_C void StartWithTestExecuteL(TScriptTests theTestTypes[], |
|
47 const TDesC& aServerName); |
|
48 } |
|
49 |
|
50 #endif |