|
1 /* |
|
2 * Copyright (c) 2008-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 * 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 |
|
61 // File related attribute names |
|
62 _LIT(KSetSizeName, "SetSize"); |
|
63 _LIT(KFileName, "FileName"); |
|
64 _LIT(KFileCount, "FileCount"); |
|
65 |
|
66 // Property related attribute names |
|
67 _LIT(KIntPropertyParamName, "IntProperty"); |
|
68 _LIT(KStringPropertyParamName, "StringProperty"); |
|
69 _LIT(KPropertiesCountParamName, "PropertiesCount"); |
|
70 _LIT(KPropertyTypeParam, "PropertyType"); |
|
71 _LIT(KPropertyNameParam, "PropertyName"); |
|
72 _LIT(KPropertyValueParam, "PropertyValue"); |
|
73 _LIT(KPropertyLocaleParam, "PropertyLocale"); |
|
74 |
|
75 // Plug-in related attribute names |
|
76 _LIT(KMimeTypeName, "MimeType"); |
|
77 _LIT(KPluginUidName, "PluginUid"); |
|
78 |
|
79 // Performance related names |
|
80 _LIT(KMaxDurationName, "MaxDuration"); |
|
81 _LIT(KMaxTestCaseDuration, "TEST_CASE_MAXIMUM_ALLOWED_DURATION"); |
|
82 _LIT(KActualTestCaseDuration, "TEST_CASE_ACTUAL_DURATION"); |
|
83 _LIT(KPerformanceTestInfo, "PERFORMANCE_LOG_INFORMATION"); |
|
84 |
|
85 // Dependency related names |
|
86 _LIT(KGlobalIdType, "GlobalIdType"); |
|
87 _LIT(KSupplierGlobalIdName, "SupplierGlobalIdName"); |
|
88 _LIT(KSupplierSwTypeName, "SupplierSwTypeName"); |
|
89 _LIT(KDependantGlobalIdName, "DependantGlobalIdName"); |
|
90 _LIT(KDependantSwTypeName, "DependantSwTypeName"); |
|
91 _LIT(KVersionFrom, "VersionFrom"); |
|
92 _LIT(KVersionTo, "VersionTo"); |
|
93 |
|
94 // Version comparetor names |
|
95 _LIT(KVersionLeft, "VersionLeft"); |
|
96 _LIT(KVersionRight, "VersionRight"); |
|
97 _LIT(KExpectedResult, "ExpectedResult"); |
|
98 |
|
99 // Constants |
|
100 const TChar KComponentIdDelimeter = ','; |
|
101 |
|
102 #endif /* TSCRDEFS_H */ |