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