sl@0
|
1 |
#
|
sl@0
|
2 |
# This is STIFTestFramework initialization file
|
sl@0
|
3 |
# Comment lines start with '#'-character.
|
sl@0
|
4 |
# See STIF TestFramework users guide.doc for instructions
|
sl@0
|
5 |
|
sl@0
|
6 |
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
sl@0
|
7 |
# Set following test engine settings:
|
sl@0
|
8 |
# - Set Test Reporting mode. TestReportMode's possible values are:
|
sl@0
|
9 |
# + 'Summary': Summary of the tested test cases.
|
sl@0
|
10 |
# + 'Environment': Hardware and software info.
|
sl@0
|
11 |
# + 'TestCases': Test case report.
|
sl@0
|
12 |
# + 'FullReport': Set of all above ones.
|
sl@0
|
13 |
# + Example 'TestReportMode= Summary TestCases'
|
sl@0
|
14 |
#
|
sl@0
|
15 |
# - CreateTestReport setting controls report creation mode
|
sl@0
|
16 |
# + YES, Test report will created.
|
sl@0
|
17 |
# + NO, No Test report.
|
sl@0
|
18 |
#
|
sl@0
|
19 |
# - File path indicates the base path of the test report.
|
sl@0
|
20 |
# - File name indicates the name of the test report.
|
sl@0
|
21 |
#
|
sl@0
|
22 |
# - File format indicates the type of the test report.
|
sl@0
|
23 |
# + TXT, Test report file will be txt type, for example 'TestReport.txt'.
|
sl@0
|
24 |
# + HTML, Test report will be html type, for example 'TestReport.html'.
|
sl@0
|
25 |
#
|
sl@0
|
26 |
# - File output indicates output source of the test report.
|
sl@0
|
27 |
# + FILE, Test report logging to file.
|
sl@0
|
28 |
# + RDEBUG, Test report logging to using rdebug.
|
sl@0
|
29 |
#
|
sl@0
|
30 |
# - File Creation Mode indicates test report overwriting if file exist.
|
sl@0
|
31 |
# + OVERWRITE, Overwrites if the Test report file exist.
|
sl@0
|
32 |
# + APPEND, Continue logging after the old Test report information if
|
sl@0
|
33 |
# report exist.
|
sl@0
|
34 |
# - Sets a device reset module's dll name(Reboot).
|
sl@0
|
35 |
# + If Nokia specific reset module is not available or it is not correct one
|
sl@0
|
36 |
# StifHWResetStub module may use as a template for user specific reset
|
sl@0
|
37 |
# module.
|
sl@0
|
38 |
|
sl@0
|
39 |
[Engine_Defaults]
|
sl@0
|
40 |
|
sl@0
|
41 |
TestReportMode= FullReport # Possible values are: 'Empty', 'Summary', 'Environment',
|
sl@0
|
42 |
'TestCases' or 'FullReport'
|
sl@0
|
43 |
|
sl@0
|
44 |
CreateTestReport= YES # Possible values: YES or NO
|
sl@0
|
45 |
|
sl@0
|
46 |
TestReportFilePath= C:\LOGS\TestFramework\
|
sl@0
|
47 |
TestReportFileName= TestReport
|
sl@0
|
48 |
|
sl@0
|
49 |
TestReportFormat= TXT # Possible values: TXT or HTML
|
sl@0
|
50 |
TestReportOutput= FILE # Possible values: FILE or RDEBUG
|
sl@0
|
51 |
TestReportFileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND
|
sl@0
|
52 |
|
sl@0
|
53 |
DeviceResetDllName= StifResetForNokia.dll # e.g. 'StifHWResetStub.dll' for user specific reseting
|
sl@0
|
54 |
|
sl@0
|
55 |
[End_Defaults]
|
sl@0
|
56 |
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
sl@0
|
57 |
|
sl@0
|
58 |
|
sl@0
|
59 |
|
sl@0
|
60 |
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
sl@0
|
61 |
# Module configurations start
|
sl@0
|
62 |
# Modules are added between module tags
|
sl@0
|
63 |
# tags. Module name is specified after ModuleName= tag, like
|
sl@0
|
64 |
# ModuleName= XXXXXXXXX
|
sl@0
|
65 |
# Modules might have initialisation file, specified as
|
sl@0
|
66 |
# IniFile= c:\testframework\YYYYYY
|
sl@0
|
67 |
# Modules might have several configuration files, like
|
sl@0
|
68 |
# TestCaseFile= c:\testframework\NormalCases.txt
|
sl@0
|
69 |
# TestCaseFile= c:\testframework\SmokeCases.txt
|
sl@0
|
70 |
# TestCaseFile= c:\testframework\ManualCases.txt
|
sl@0
|
71 |
|
sl@0
|
72 |
# (TestCaseFile is synonym for old term ConfigFile)
|
sl@0
|
73 |
|
sl@0
|
74 |
# Following case specifies demo module settings. Demo module
|
sl@0
|
75 |
# does not read any settings from file, so tags
|
sl@0
|
76 |
# IniFile and TestCaseFile are not used.
|
sl@0
|
77 |
# In the simplest case it is enough to specify only the
|
sl@0
|
78 |
# name of the test module when adding new test module
|
sl@0
|
79 |
|
sl@0
|
80 |
[New_Module]
|
sl@0
|
81 |
ModuleName= widecharclassapiBCTest
|
sl@0
|
82 |
[End_Module]
|
sl@0
|
83 |
|
sl@0
|
84 |
|
sl@0
|
85 |
# Load testmoduleXXX, optionally with initialization file and/or test case files
|
sl@0
|
86 |
#[New_Module]
|
sl@0
|
87 |
#ModuleName= testmodulexxx
|
sl@0
|
88 |
|
sl@0
|
89 |
#TestModuleXXX used initialization file
|
sl@0
|
90 |
#IniFile= c:\testframework\init.txt
|
sl@0
|
91 |
|
sl@0
|
92 |
#TestModuleXXX used configuration file(s)
|
sl@0
|
93 |
#TestCaseFile= c:\testframework\testcases1.cfg
|
sl@0
|
94 |
#TestCaseFile= c:\testframework\testcases2.cfg
|
sl@0
|
95 |
#TestCaseFile= c:\testframework\manualtestcases.cfg
|
sl@0
|
96 |
|
sl@0
|
97 |
#[End_Module]
|
sl@0
|
98 |
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
sl@0
|
99 |
|
sl@0
|
100 |
|
sl@0
|
101 |
|
sl@0
|
102 |
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
sl@0
|
103 |
# Set STIFTestFramework logging overwrite parameters for Logger.
|
sl@0
|
104 |
# Hardware and emulator environment logging path and styles can
|
sl@0
|
105 |
# be configured from here to overwrite the Logger's implemented values.
|
sl@0
|
106 |
#
|
sl@0
|
107 |
# Settings description:
|
sl@0
|
108 |
# - Indicates option for creation log directory/directories. If log directory/directories
|
sl@0
|
109 |
# is/are not created by user they will make by software.
|
sl@0
|
110 |
# + YES, Create log directory/directories if not allready exist.
|
sl@0
|
111 |
# + NO, Log directory/directories not created. Only created one is used.
|
sl@0
|
112 |
#
|
sl@0
|
113 |
# - Overwrite emulator path setting.
|
sl@0
|
114 |
# + Example: If 'EmulatorBasePath= C:\LOGS\TestFramework\' and in code is defined
|
sl@0
|
115 |
# Logger's path 'D:\\LOGS\\Module\\' with those definition the path
|
sl@0
|
116 |
# will be 'C:\LOGS\TestFramework\LOGS\Module\'
|
sl@0
|
117 |
#
|
sl@0
|
118 |
# - Overwrite emulator's logging format.
|
sl@0
|
119 |
# + TXT, Log file(s) will be txt type(s), for example 'Module.txt'.
|
sl@0
|
120 |
# + HTML, Log file(s) will be html type(s), for example 'Module.html'.
|
sl@0
|
121 |
#
|
sl@0
|
122 |
# - Overwrited emulator logging output source.
|
sl@0
|
123 |
# + FILE, Logging to file(s).
|
sl@0
|
124 |
# + RDEBUG, Logging to using rdebug(s).
|
sl@0
|
125 |
#
|
sl@0
|
126 |
# - Overwrite hardware path setting (Same description as above in emulator path).
|
sl@0
|
127 |
# - Overwrite hardware's logging format(Same description as above in emulator format).
|
sl@0
|
128 |
# - Overwrite hardware's logging output source(Same description as above in emulator output).
|
sl@0
|
129 |
#
|
sl@0
|
130 |
# - File Creation Mode indicates file overwriting if file exist.
|
sl@0
|
131 |
# + OVERWRITE, Overwrites if file(s) exist.
|
sl@0
|
132 |
# + APPEND, Continue logging after the old logging information if file(s) exist.
|
sl@0
|
133 |
#
|
sl@0
|
134 |
# - Will thread id include to the log filename.
|
sl@0
|
135 |
# + YES, Thread id to log file(s) name, Example filename 'Module_b9.txt'.
|
sl@0
|
136 |
# + NO, No thread id to log file(s), Example filename 'Module.txt'.
|
sl@0
|
137 |
#
|
sl@0
|
138 |
# - Will time stamps include the to log file.
|
sl@0
|
139 |
# + YES, Time stamp added to each line in log file(s). Time stamp is
|
sl@0
|
140 |
# for example'12.Nov.2003 115958 LOGGING INFO'
|
sl@0
|
141 |
# + NO, No time stamp(s).
|
sl@0
|
142 |
#
|
sl@0
|
143 |
# - Will line breaks include to the log file.
|
sl@0
|
144 |
# + YES, Each logging event includes line break and next log event is in own line.
|
sl@0
|
145 |
# + NO, No line break(s).
|
sl@0
|
146 |
#
|
sl@0
|
147 |
# - Will event ranking include to the log file.
|
sl@0
|
148 |
# + YES, Event ranking number added to each line in log file(s). Ranking number
|
sl@0
|
149 |
# depends on environment's tics, for example(includes time stamp also)
|
sl@0
|
150 |
# '012 12.Nov.2003 115958 LOGGING INFO'
|
sl@0
|
151 |
# + NO, No event ranking.
|
sl@0
|
152 |
#
|
sl@0
|
153 |
|
sl@0
|
154 |
[Logger_Defaults]
|
sl@0
|
155 |
|
sl@0
|
156 |
#NOTE: If you want to set Logger using next setting(s) remove comment(s)'#'
|
sl@0
|
157 |
|
sl@0
|
158 |
#CreateLogDirectories= YES # Possible values: YES or NO
|
sl@0
|
159 |
|
sl@0
|
160 |
#EmulatorBasePath= C:\LOGS\TestFramework\
|
sl@0
|
161 |
#EmulatorFormat= HTML # Possible values: TXT or HTML
|
sl@0
|
162 |
#EmulatorOutput= FILE # Possible values: FILE or RDEBUG
|
sl@0
|
163 |
|
sl@0
|
164 |
#HardwareBasePath= D:\LOGS\TestFramework\
|
sl@0
|
165 |
#HardwareFormat= HTML # Possible values: TXT or HTML
|
sl@0
|
166 |
#HardwareOutput= FILE # Possible values: FILE or RDEBUG
|
sl@0
|
167 |
|
sl@0
|
168 |
#FileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND
|
sl@0
|
169 |
|
sl@0
|
170 |
#ThreadIdToLogFile= YES # Possible values: YES or NO
|
sl@0
|
171 |
#WithTimeStamp= YES # Possible values: YES or NO
|
sl@0
|
172 |
#WithLineBreak= YES # Possible values: YES or NO
|
sl@0
|
173 |
#WithEventRanking= YES # Possible values: YES or NO
|
sl@0
|
174 |
|
sl@0
|
175 |
[End_Logger_Defaults]
|
sl@0
|
176 |
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
sl@0
|
177 |
|
sl@0
|
178 |
# End of file |