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