|
1 /* |
|
2 * Copyright (c) 2008-2010 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 * Defines the common constant definitions for the Software Component Registry test harness |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @internalComponent |
|
23 @test |
|
24 */ |
|
25 |
|
26 #ifndef TSCRDEFS_H |
|
27 #define TSCRDEFS_H |
|
28 |
|
29 const TInt MAX_SCR_ERROR_MESSAGE_LENGTH = 256; |
|
30 const TInt MAX_SCR_BUFFER_LENGTH = 64; |
|
31 const TInt MAX_SCR_PARAM_LENGTH = 32; |
|
32 const TInt MAX_SCR_PARAM_VALUE_LENGTH = 10; |
|
33 |
|
34 /** The path where data files live. */ |
|
35 _LIT(KDataFilesPath, "z:\\tusif\\tscr\\data\\"); |
|
36 |
|
37 // Common attribute names |
|
38 |
|
39 // Component related attribute names |
|
40 _LIT(KComponentsCountName, "ComponentsCount"); |
|
41 _LIT(KComponentLocaleName, "ComponentLocale"); |
|
42 _LIT(KComponentIdOffsetName, "ComponentIdOffset"); |
|
43 _LIT(KComponentIdName, "ComponentId"); |
|
44 _LIT(KComponentName, "ComponentName"); |
|
45 _LIT(KVendorName, "VendorName"); |
|
46 _LIT(KRemovableName, "Removable"); |
|
47 _LIT(KDrmProtectedName, "DrmProtected"); |
|
48 _LIT(KHiddenName, "Hidden"); |
|
49 _LIT(KKnownRevokedName, "KnownRevoked"); |
|
50 _LIT(KOriginVerifiedName, "OriginVerified"); |
|
51 _LIT(KComponentSizeName, "ComponentSize"); |
|
52 _LIT(KComponentScomoStateName, "ScomoState"); |
|
53 _LIT(KInstalledDrivesName, "InstalledDrives"); |
|
54 _LIT(KVersionName, "Version"); |
|
55 _LIT(KSoftwareTypeName, "SoftwareType"); |
|
56 _LIT(KGlobalIdName, "GlobalIdName"); |
|
57 _LIT(KGlobalIdCount,"GlobalIdCount"); |
|
58 _LIT(KOperationType, "OperationType"); |
|
59 _LIT(KLogsCountParamName, "LogsCount"); |
|
60 // appreg related attribute names |
|
61 _LIT(KOwnedFileName, "FileName"); |
|
62 _LIT(KServiceUid, "ServiceUid"); |
|
63 _LIT(KServiceOpaqueLocale, "ServiceOpaqueLocale"); |
|
64 _LIT(KServiceOpaqueData, "ServiceOpaqueData"); |
|
65 _LIT(KAppOpaqueDataLocale, "AppOpaqueLocale"); |
|
66 _LIT(KAppOpaqueData, "AppOpaqueData"); |
|
67 _LIT(KServiceDataTypePriority, "ServiceDataTypePriority"); |
|
68 _LIT(KServiceDataType, "ServiceDataType"); |
|
69 _LIT(KLocShortCaption, "LocShortCaption"); |
|
70 _LIT(KLocAppLanguage, "LocAppLanguage"); |
|
71 _LIT(KLocGroupName, "LocGroupName"); |
|
72 _LIT(KLocCaption, "LocCaption"); |
|
73 _LIT(KLocIconFileName, "LocIconFileName"); |
|
74 _LIT(KLocNumberOfAppIcons, "LocNumberOfAppIcons"); |
|
75 _LIT(KVwUid, "VwUid"); |
|
76 _LIT(KVwScreenMode, "VwScreenMode"); |
|
77 _LIT(KVwCaption, "VwCaption"); |
|
78 _LIT(KVwIconFileName, "VwIconFileName"); |
|
79 _LIT(KVwNumberOfAppIcons, "VwNumberOfAppIcons"); |
|
80 _LIT(KPropertyLocale, "PropertyLocale"); |
|
81 _LIT(KPropertyName, "PropertyName"); |
|
82 _LIT(KPropertyIntValue, "PropertyIntValue"); |
|
83 _LIT(KPropertyStrValue, "PropertyStrValue"); |
|
84 _LIT(KViewDataCount, "ViewDataCount"); |
|
85 _LIT(KServiceOpaqueDataInfoCount, "ServiceOpaqueDataInfoCount"); |
|
86 _LIT(KServiceDataTypeCount,"ServiceDataTypeCount"); |
|
87 _LIT(KAppUid, "AppUid"); |
|
88 _LIT(KNoOfComponents, "NoOfComponents"); |
|
89 _LIT(KFormatDrive, "FormatDrive"); |
|
90 |
|
91 // File related attribute names |
|
92 _LIT(KSetSizeName, "SetSize"); |
|
93 _LIT(KFileName, "FileName"); |
|
94 _LIT(KFileCount, "FileCount"); |
|
95 |
|
96 // Property related attribute names |
|
97 _LIT(KIntPropertyParamName, "IntProperty"); |
|
98 _LIT(KStringPropertyParamName, "StringProperty"); |
|
99 _LIT(KPropertiesCountParamName, "PropertiesCount"); |
|
100 _LIT(KPropertyTypeParam, "PropertyType"); |
|
101 _LIT(KPropertyNameParam, "PropertyName"); |
|
102 _LIT(KPropertyValueParam, "PropertyValue"); |
|
103 _LIT(KPropertyLocaleParam, "PropertyLocale"); |
|
104 |
|
105 // Plug-in related attribute names |
|
106 _LIT(KMimeTypeName, "MimeType"); |
|
107 _LIT(KPluginUidName, "PluginUid"); |
|
108 |
|
109 // Performance related names |
|
110 _LIT(KMaxDurationName, "MaxDuration"); |
|
111 _LIT(KMaxTestCaseDuration, "TEST_CASE_MAXIMUM_ALLOWED_DURATION"); |
|
112 _LIT(KActualTestCaseDuration, "TEST_CASE_ACTUAL_DURATION"); |
|
113 _LIT(KPerformanceTestInfo, "PERFORMANCE_LOG_INFORMATION"); |
|
114 |
|
115 // Dependency related names |
|
116 _LIT(KGlobalIdType, "GlobalIdType"); |
|
117 _LIT(KSupplierGlobalIdName, "SupplierGlobalIdName"); |
|
118 _LIT(KSupplierSwTypeName, "SupplierSwTypeName"); |
|
119 _LIT(KDependantGlobalIdName, "DependantGlobalIdName"); |
|
120 _LIT(KDependantSwTypeName, "DependantSwTypeName"); |
|
121 _LIT(KVersionFrom, "VersionFrom"); |
|
122 _LIT(KVersionTo, "VersionTo"); |
|
123 |
|
124 // Version comparetor names |
|
125 _LIT(KVersionLeft, "VersionLeft"); |
|
126 _LIT(KVersionRight, "VersionRight"); |
|
127 _LIT(KExpectedResult, "ExpectedResult"); |
|
128 |
|
129 // Constants |
|
130 const TChar KComponentIdDelimeter = ','; |
|
131 |
|
132 //Apparc related attributes |
|
133 _LIT(KAppEntriesCountName, "AppEntriesCount"); |
|
134 // TAppRegInfo related attribute names |
|
135 _LIT(KIntTAppInfoUID, "TAppInfoUID"); |
|
136 _LIT(KStringTAppInfoFileName, "TAppInfoFileName"); |
|
137 _LIT(KStringTAppInfoCaption, "TAppInfoCaption"); |
|
138 _LIT(KStringTAppInfoShortCaption, "TAppInfoShortCaption"); |
|
139 |
|
140 |
|
141 #endif /* TSCRDEFS_H */ |