|
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 "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 # |
|
16 # |
|
17 |
|
18 # |
|
19 # This is STIF initialization file |
|
20 # Comment lines start with '#'-character. |
|
21 # See STIF TestFramework users guide.doc for instructions |
|
22 |
|
23 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
24 # Set following test engine settings: |
|
25 # - Set Test Reporting mode. TestReportMode's possible values are: |
|
26 # + 'Summary': Summary of the tested test cases. |
|
27 # + 'Environment': Hardware and software info. |
|
28 # + 'TestCases': Test case report. |
|
29 # + 'FullReport': Set of all above ones. |
|
30 # + Example 'TestReportMode= Summary TestCases' |
|
31 # |
|
32 # - CreateTestReport setting controls report creation mode |
|
33 # + YES, Test report will created. |
|
34 # + NO, No Test report. |
|
35 # |
|
36 # - File path indicates the base path of the test report. |
|
37 # - File name indicates the name of the test report. |
|
38 # |
|
39 # - File format indicates the type of the test report. |
|
40 # + TXT, Test report file will be txt type, for example 'TestReport.txt'. |
|
41 # + HTML, Test report will be html type, for example 'TestReport.html'. |
|
42 # + XML, Test report will be xml type, for example 'TestReport.xml'. |
|
43 # Note, that xml format is available only when output is set to FILE. |
|
44 # |
|
45 # - File output indicates output source of the test report. |
|
46 # + FILE, Test report logging to file. |
|
47 # + RDEBUG, Test report logging to using rdebug. |
|
48 # |
|
49 # - File Creation Mode indicates test report overwriting if file exist. |
|
50 # + OVERWRITE, Overwrites if the Test report file exist. |
|
51 # + APPEND, Continue logging after the old Test report information if |
|
52 # report exist. |
|
53 # - Sets a device reset module's dll name(Reboot). |
|
54 # + If Nokia specific reset module is not available or it is not correct one |
|
55 # StifHWResetStub module may use as a template for user specific reset |
|
56 # module. |
|
57 # - Sets STIF test measurement disable options. e.g. pluging1 and pluging2 disablation |
|
58 # DisableMeasurement= stifmeasurementplugin01 stifmeasurementplugin02 |
|
59 # |
|
60 |
|
61 [Engine_Defaults] |
|
62 |
|
63 TestReportMode= FullReport # Possible values are: 'Empty', 'Summary', 'Environment', |
|
64 'TestCases' or 'FullReport' |
|
65 |
|
66 CreateTestReport= YES # Possible values: YES or NO |
|
67 |
|
68 TestReportFilePath= c:\logs\testframework\GenericHidTest\ |
|
69 TestReportFileName= testreport |
|
70 |
|
71 TestReportFormat= TXT # Possible values: TXT, HTML or XML |
|
72 TestReportOutput= FILE # Possible values: FILE or RDEBUG |
|
73 TestReportFileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND |
|
74 |
|
75 DeviceResetDllName= StifResetForNokia.dll # e.g. 'StifHWResetStub.dll' for user specific reseting |
|
76 |
|
77 DisableMeasurement= stifmeasurementdisablenone # Possible values are: |
|
78 # 'stifmeasurementdisablenone', 'stifmeasurementdisableall' |
|
79 # 'stifmeasurementplugin01', 'stifmeasurementplugin02', |
|
80 # 'stifmeasurementplugin03', 'stifmeasurementplugin04', |
|
81 # 'stifmeasurementplugin05' or 'stifbappeaprofiler' |
|
82 |
|
83 Timeout= 0 # Default timeout value for each test case. In milliseconds |
|
84 UITestingSupport= YES # Possible values: YES or NO |
|
85 #SeparateProcesses= YES # Possible values: YES or NO (default: NO) |
|
86 [End_Defaults] |
|
87 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
88 |
|
89 |
|
90 |
|
91 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
92 # Module configurations start |
|
93 # Modules are added between module tags |
|
94 # tags. Module name is specified after ModuleName= tag, like |
|
95 # ModuleName= GenericHidTestGenericHidTestGenericHidTest |
|
96 # Modules might have initialisation file, specified as |
|
97 # IniFile= c:\testframework\YYYYYY |
|
98 # Modules might have several configuration files, like |
|
99 # TestCaseFile= c:\testframework\NormalCases.txt |
|
100 # TestCaseFile= c:\testframework\SmokeCases.txt |
|
101 # TestCaseFile= c:\testframework\ManualCases.txt |
|
102 |
|
103 # (TestCaseFile is synonym for old term ConfigFile) |
|
104 |
|
105 # Following case specifies demo module settings. Demo module |
|
106 # does not read any settings from file, so tags |
|
107 # IniFile and TestCaseFile are not used. |
|
108 # In the simplest case it is enough to specify only the |
|
109 # name of the test module when adding new test module |
|
110 |
|
111 [New_Module] |
|
112 ModuleName= testscripter |
|
113 TestCaseFile= c:\testframework\GenericHidTest.cfg |
|
114 [End_Module] |
|
115 |
|
116 |
|
117 # Load testmoduleGenericHidTest, optionally with initialization file and/or test case files |
|
118 #[New_Module] |
|
119 #ModuleName= testmodulexxx |
|
120 |
|
121 #TestModuleGenericHidTest used initialization file |
|
122 #IniFile= c:\testframework\init.txt |
|
123 |
|
124 #TestModuleGenericHidTest used configuration file(s) |
|
125 #TestCaseFile= c:\testframework\testcases1.cfg |
|
126 #TestCaseFile= c:\testframework\testcases2.cfg |
|
127 #TestCaseFile= c:\testframework\manualtestcases.cfg |
|
128 |
|
129 #[End_Module] |
|
130 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
131 |
|
132 |
|
133 |
|
134 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
135 # Set STIF logging overwrite parameters for Logger. |
|
136 # Hardware and emulator environment logging path and styles can |
|
137 # be configured from here to overwrite the Logger's implemented values. |
|
138 # |
|
139 # Settings description: |
|
140 # - Indicates option for creation log directory/directories. If log directory/directories |
|
141 # is/are not created by user they will make by software. |
|
142 # + YES, Create log directory/directories if not allready exist. |
|
143 # + NO, Log directory/directories not created. Only created one is used. |
|
144 # |
|
145 # - Overwrite emulator path setting. |
|
146 # + Example: If 'EmulatorBasePath= C:\LOGS\TestFramework\' and in code is defined |
|
147 # Logger's path 'D:\\LOGS\\Module\\' with those definition the path |
|
148 # will be 'C:\LOGS\TestFramework\LOGS\Module\' |
|
149 # |
|
150 # - Overwrite emulator's logging format. |
|
151 # + TXT, Log file(s) will be txt type(s), for example 'Module.txt'. |
|
152 # + HTML, Log file(s) will be html type(s), for example 'Module.html'. |
|
153 # |
|
154 # - Overwrited emulator logging output source. |
|
155 # + FILE, Logging to file(s). |
|
156 # + RDEBUG, Logging to using rdebug(s). |
|
157 # |
|
158 # - Overwrite hardware path setting (Same description as above in emulator path). |
|
159 # - Overwrite hardware's logging format(Same description as above in emulator format). |
|
160 # - Overwrite hardware's logging output source(Same description as above in emulator output). |
|
161 # |
|
162 # - File Creation Mode indicates file overwriting if file exist. |
|
163 # + OVERWRITE, Overwrites if file(s) exist. |
|
164 # + APPEND, Continue logging after the old logging information if file(s) exist. |
|
165 # |
|
166 # - Will thread id include to the log filename. |
|
167 # + YES, Thread id to log file(s) name, Example filename 'Module_b9.txt'. |
|
168 # + NO, No thread id to log file(s), Example filename 'Module.txt'. |
|
169 # |
|
170 # - Will time stamps include the to log file. |
|
171 # + YES, Time stamp added to each line in log file(s). Time stamp is |
|
172 # for example'12.Nov.2003 115958 LOGGING INFO' |
|
173 # + NO, No time stamp(s). |
|
174 # |
|
175 # - Will line breaks include to the log file. |
|
176 # + YES, Each logging event includes line break and next log event is in own line. |
|
177 # + NO, No line break(s). |
|
178 # |
|
179 # - Will event ranking include to the log file. |
|
180 # + YES, Event ranking number added to each line in log file(s). Ranking number |
|
181 # depends on environment's tics, for example(includes time stamp also) |
|
182 # '012 12.Nov.2003 115958 LOGGING INFO' |
|
183 # + NO, No event ranking. |
|
184 # |
|
185 # - Will write log file in unicode format. |
|
186 # + YES, Log file will be written in unicode format |
|
187 # + NO, Log will be written as normal, not unicode, file. |
|
188 # |
|
189 |
|
190 [Logger_Defaults] |
|
191 |
|
192 #NOTE: If you want to set Logger using next setting(s) remove comment(s)'#' |
|
193 #NOTE: TestEngine and TestServer logging settings cannot change here |
|
194 |
|
195 #CreateLogDirectories= YES # Possible values: YES or NO |
|
196 |
|
197 #EmulatorBasePath= C:\LOGS\TestFramework\ |
|
198 #EmulatorFormat= HTML # Possible values: TXT or HTML |
|
199 #EmulatorOutput= FILE # Possible values: FILE or RDEBUG |
|
200 |
|
201 #HardwareBasePath= D:\LOGS\TestFramework\ |
|
202 #HardwareFormat= HTML # Possible values: TXT or HTML |
|
203 #HardwareOutput= FILE # Possible values: FILE or RDEBUG |
|
204 |
|
205 #FileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND |
|
206 |
|
207 #ThreadIdToLogFile= YES # Possible values: YES or NO |
|
208 #WithTimeStamp= YES # Possible values: YES or NO |
|
209 #WithLineBreak= YES # Possible values: YES or NO |
|
210 #WithEventRanking= YES # Possible values: YES or NO |
|
211 |
|
212 #FileUnicode= YES # Possible values: YES or NO |
|
213 #AddTestCaseTitle= YES # Possible values: YES or NO |
|
214 [End_Logger_Defaults] |
|
215 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
216 |
|
217 |
|
218 |
|
219 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
220 # Set filters to be used by ConsoleUI. |
|
221 # If you want to use filter with ConsoleUI, simply remove comments |
|
222 # from section below and provide valid filter entries. |
|
223 # Each filter line has to start with "filter= " keyword. |
|
224 # Filter can contain special wildcard characters: |
|
225 # * which stands for none or any literal; |
|
226 # ? which stands for single character. |
|
227 # Filters are not case-sensitive. |
|
228 |
|
229 #[Filters] |
|
230 #filter= *math* |
|
231 #filter= *radio* |
|
232 #[End_Filters] |
|
233 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
234 |
|
235 # End of file |