content.txt
8.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
!1 User Story 07: Paramètre composé utilisateur sur scalaire, avec opération simple et expression simple
http://yahscrum.akka.eu:8080/icescrum/p/AMDAKERNEL-40
!define path {../test/FitNesseRoot/ReleaseS/FirstPart/ReLease2/SprinT2/UserStory07/}
!define executable {amdaXMLRequestorTool}
!2 Description
construct and output values of composed parameter based on user defined expression with one arithmetic operator and parameters simple.
Available operators for this US are: +, -, *, /, ^
The expression contain only one operator (for example: paramA + paramB)
Validation formule
!2 Liste des tests
!3 ID-71 doc de conception mise a jour
!3 ID 72: Operation scalar + constant
Input: expression_plus_1 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 72|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_72.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_72.txt|file1|output-expression_plus_1_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 83: Operation constant + scalar
Input: expression_plus_2 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: Identique à la sortie du test d’acceptaion ID72
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 83|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_83.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_72.txt|file1|output-expression_plus_2_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 84: Operation scalarA + scalarB
Input: expression_plus_3 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 84|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_84.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_84.txt|file1|output-expression_plus_3_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 85: Operation scalar - constant
Input: expression_moins_1 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 85|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_85.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_85.txt|file1|output-expression_moins_1_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 86: Operation constant - scalar
Input: expression_moins_2 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 86|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_86.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_86.txt|file1|output-expression_moins_2_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 87: Operation scalarA - scalarB
Input: expression_moins_3 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 87|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_87.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_87.txt|file1|output-expression_moins_3_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 88: Operation constant*scalar
Input: expression_fois_1 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 88|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_88.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_88.txt|file1|output-expression_fois_1_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 89: Operation scalar*constant
Input: expression_fois_2 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: Identique à la sortie du test d’acceptaion ID88
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 89|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_89.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_88.txt|file1|output-expression_fois_2_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 90: Operation scalarA*scalarB
Input: expression_fois_3 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 90|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_90.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_90.txt|file1|output-expression_fois_3_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 91: Operation scalar/constant
Input: expression_div_1 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 91|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_91.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_91.txt|file1|output-expression_div_1_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 92: Operation constant/scalar
Input: expression_div_2 (paramID)
!-StartTime-!: '2008000013000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
Attention!! Le start time de la requète est différent de celui des tests précedents (ceci afin de se retrouver dans le cas où le scalaire vaut 0)
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 92|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_92.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_92.txt|file1|output-expression_div_2_2008000013000000.txt|file2|0|epsilon|0|
!3 ID 93: Operation scalarA/scalarB
Input: expression_div_3 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 93|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_93.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_93.txt|file1|output-expression_div_3_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 94: Operation scalar^constant
Input: expression_pow_1 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 94|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_94.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_94.txt|file1|output-expression_pow_1_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 95: Operation constant^scalar
Input: expression_pow_2 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 95|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_95.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_95.txt|file1|output-expression_pow_2_2008000003000000.txt|file2|0|epsilon|0|
!3 ID 96: Operation scalarA^scalarB
Input: expression_pow_3 (paramID)
!-StartTime-!: '2008000003000000\0'
!-TimeInt-!: '0000001000000000\0'
Output: ascii file
Attention!! Par rapport aux autres tests de cette story, ce test correspond plutôt à scalarB^scalarA
!4 Tests :
!|script|TestAmdaCommandLine|
|reference|US 07: id 96|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_7_96.xml|args|
|check|result|0|
|check|diffOutputFile|test_7_96.txt|file1|output-expression_pow_3_2008000003000000.txt|file2|2.1e-3|epsilon|0|
!2 Suivit des modifications
* test ID 84:
dernière ligne
2008-01-02T00:30:00.000 190.644
remplacer par
2008-01-02T00:30:00.000 190.144
* test ID 87:
dernière ligne
2008-01-02T00:30:00.000 191.644
remplacer par
2008-01-02T00:30:00.000 192.144
* test ID 90:
dernière ligne
2008-01-02T00:30:00.000 -95.572
remplacer par
2008-01-02T00:30:00.000 -191.144
* test ID 93:
dernière ligne
2008-01-02T00:30:00.000 -0.003
remplacer par
2008-01-02T00:30:00.000 -0.005
* test ID 96:
dernière ligne
2008-01-02T00:30:00.000 7.233e-02
remplacer par
2008-01-02T00:30:00.000 5.231e-03