|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent - Internal Symbian test code |
|
19 */ |
|
20 |
|
21 #if (!defined __T_SYSSTARTAPPARCSTEP_H__) |
|
22 #define __T_SYSSTARTAPPARCSTEP_H__ |
|
23 |
|
24 #include "apparctestserver.h" |
|
25 #include "tssaac/SysStartApparcTestCases.h" // KApparcResultFile |
|
26 |
|
27 #define KTestResultPass 1 |
|
28 |
|
29 |
|
30 /** |
|
31 Literal used as name for test case. |
|
32 */ |
|
33 _LIT(KT_SysStartApparcStep,"T_SysStartApparc"); |
|
34 _LIT(KApparcStartupT_TestStartApp1L,"T_TestStartApp1L"); |
|
35 _LIT(KApparcStartupT_TestStartApp2L,"T_TestStartApp2L"); |
|
36 _LIT(KApparcStartupT_TestStartApp3L,"T_TestStartApp3L"); |
|
37 _LIT(KApparcStartupT_TestStartApp4L,"T_TestStartApp4L"); |
|
38 _LIT(KApparcStartupT_TestStartApp5L,"T_TestStartApp5L"); |
|
39 _LIT(KApparcStartupT_TestStartApp6L,"T_TestStartApp6L"); |
|
40 _LIT(KApparcStartupT_TestGetAllApps,"T_TestGetAllApps"); |
|
41 _LIT(KApparcStartupT_TestInsertDataTypeL,"T_TestInsertDataTypeL"); |
|
42 _LIT(KApparcStartupT_TestAppForDataTypeL,"T_TestAppForDataTypeL"); |
|
43 _LIT(KApparcStartupT_TestDeleteDataTypeL,"T_TestDeleteDataTypeL"); |
|
44 _LIT(KApparcStartupT_TestServiceDiscovery,"T_TestServiceDiscovery"); |
|
45 _LIT(KApparcStartupT_TestGetAppInfo,"T_TestGetAppInfo"); |
|
46 _LIT(KApparcStartupT_TestAppCount,"T_TestAppCount"); |
|
47 _LIT(KApparcStartupT_TestCreateDoc,"T_TestCreateDoc"); |
|
48 _LIT(KApparcStartupT_TestLocalisedCaptionL,"T_TestLocalisedCaptionL"); |
|
49 |
|
50 |
|
51 /** |
|
52 CT_SysStartApparcStep encapsulates the functionality required |
|
53 for the T_SysStartApparcTest SysStart test case. |
|
54 */ |
|
55 class CT_SysStartApparcStep : public CTestStep |
|
56 { |
|
57 public: |
|
58 CT_SysStartApparcStep(); |
|
59 ~CT_SysStartApparcStep(); |
|
60 virtual TVerdict doTestStepL(); |
|
61 void CheckApparcPanicResultsL(); |
|
62 void CheckApparcResultsL(); |
|
63 TInt ReadConfigFileL(); |
|
64 TInt iTestcase; |
|
65 }; |
|
66 |
|
67 #endif |
|
68 |