|
1 /* |
|
2 * Copyright (c) 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: This file contains the header file of the CTestEngine. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef TESTENGINECLIENTSERVER_H |
|
19 #define TESTENGINECLIENTSERVER_H |
|
20 |
|
21 // INCLUDES |
|
22 //#include <e32std.h> |
|
23 #include <e32base.h> |
|
24 |
|
25 // CONSTANTS |
|
26 // none |
|
27 |
|
28 // Server name |
|
29 _LIT( KTestEngineServerName, "TestFrameworkEngine" ); |
|
30 _LIT( KTestEngineServerExe,"STFTestEngineSrv.exe"); // EXE name |
|
31 const TUid KTestEngineServerUid3 = {0x2002BC9C}; |
|
32 |
|
33 // The server version. |
|
34 // A version must be specified when creating a session with the server. |
|
35 const TUint KTestEngineMajorVersionNumber = 0; |
|
36 const TUint KTestEngineMinorVersionNumber = 2; |
|
37 const TUint KTestEngineBuildVersionNumber = 1; |
|
38 |
|
39 // MACROS |
|
40 // None |
|
41 |
|
42 // DATA TYPES |
|
43 // Opcodes used in message passing between client and server |
|
44 enum TTestEngineRequests |
|
45 { |
|
46 // RTestEngine requests |
|
47 ETestEngineLoadConfiguration, |
|
48 ETestEngineUpdateLogConfiguration, |
|
49 ETestEngineUpdateEngineConfiguration, |
|
50 ETestEngineSetAttribute, |
|
51 ETestEngineAddTestModule, |
|
52 ETestEngineRemoveTestModule, |
|
53 ETestEngineAddConfigFile, |
|
54 ETestEngineRemoveConfigFile, |
|
55 ETestEngineEnumerateTestCases, |
|
56 ETestEngineGetTestCases, |
|
57 ETestEngineCancelAsyncRequest, |
|
58 ETestEngineEvent, |
|
59 ETestEngineErrorNotification, |
|
60 ETestEngineLoggerSettings, |
|
61 ETestEngineReportTestCase, //Add info about executed test case to test report. Used by reboot mechanism |
|
62 |
|
63 // RTestCase requests |
|
64 ETestCaseCreateSubSession, |
|
65 ETestCaseCloseSubSession, |
|
66 ETestCaseRunTestCase, |
|
67 ETestCasePause, |
|
68 ETestCaseResume, |
|
69 ETestCaseNotifyProgress, |
|
70 ETestCaseNotifyRemoteType, |
|
71 ETestCaseNotifyRemoteMsg, |
|
72 ETestCaseCancelAsyncRequest, |
|
73 ETestCaseNotifyCommand, |
|
74 }; |
|
75 |
|
76 // FUNCTION PROTOTYPES |
|
77 // None |
|
78 |
|
79 // FORWARD DECLARATIONS |
|
80 // None |
|
81 |
|
82 // CLASS DECLARATION |
|
83 // None |
|
84 |
|
85 #endif /* TESTENGINECLIENTSERVER_H */ |
|
86 |
|
87 // End of file |