author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 17 Jul 2014 15:28:02 +0100 | |
branch | working_v5_0 |
changeset 615 | f1b888de7817 |
parent 614 | 3003097506c9 |
permissions | -rw-r--r-- |
360 | 1 |
"{ Package: 'stx:goodies/sunit' }" |
2 |
||
3 |
Object subclass:#TestCaseOutcome |
|
4 |
instanceVariableNames:'testCase result properties' |
|
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
5 |
classVariableNames:'RemeberedOutcomes' |
360 | 6 |
poolDictionaries:'' |
7 |
category:'SUnit-Base' |
|
8 |
! |
|
9 |
||
10 |
!TestCaseOutcome class methodsFor:'documentation'! |
|
11 |
||
12 |
documentation |
|
13 |
" |
|
14 |
will keep additional info for a testCase run: |
|
15 |
startTime, endTime, |
|
16 |
backtrace (if fail or error) |
|
17 |
and collectedStdout |
|
18 |
" |
|
19 |
! ! |
|
20 |
||
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
21 |
!TestCaseOutcome class methodsFor:'initialization'! |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
22 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
23 |
initialize |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
24 |
"Invoked at system start or when the class is dynamically loaded." |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
25 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
26 |
"/ please change as required (and remove this comment) |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
27 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
28 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
29 |
RemeberedOutcomes := SUnitNameResolver weakIdentityDictionaryClass new |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
30 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
31 |
"Modified: / 14-07-2014 / 09:59:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
32 |
! ! |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
33 |
|
360 | 34 |
!TestCaseOutcome class methodsFor:'instance creation'! |
35 |
||
36 |
forCase: aTestCase |
|
37 |
||
38 |
^self new testCase: aTestCase; yourself |
|
39 |
||
40 |
"Created: / 16-08-2011 / 15:24:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
41 |
! ! |
|
42 |
||
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
43 |
!TestCaseOutcome class methodsFor:'notifying'! |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
44 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
45 |
notifyOutcomeChanged: currentOutcome ifDifferentFrom: previousOutcome |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
46 |
"Notifies whoever is interested that the current outcome for a testcase has |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
47 |
changed, but only if result of the current (pass, fail or error) is actually |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
48 |
different the result of previous outcome" |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
49 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
50 |
(previousOutcome isNil or:[ previousOutcome result ~~ currentOutcome result ]) ifTrue:[ |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
51 |
currentOutcome testCase class lastTestRunResultChanged:currentOutcome testCase selector |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
52 |
]. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
53 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
54 |
"Created: / 14-07-2014 / 21:07:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
55 |
! ! |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
56 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
57 |
!TestCaseOutcome class methodsFor:'remembering'! |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
58 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
59 |
rememberOutcome: current |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
60 |
| method outcomes previous | |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
61 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
62 |
method := current method. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
63 |
outcomes := RemeberedOutcomes at: method ifAbsent:[ RemeberedOutcomes at: method put: TestCaseOutcomeWeakIdentityDictionary new ]. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
64 |
previous := outcomes at: current testCase class ifAbsent:[ nil ]. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
65 |
outcomes at: current testCase class put: current. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
66 |
self notifyOutcomeChanged: current ifDifferentFrom: previous. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
67 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
68 |
"Created: / 13-07-2014 / 23:28:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
69 |
"Modified: / 14-07-2014 / 21:16:02 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
70 |
! |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
71 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
72 |
rememberedOutcomeFor: selector in: class |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
73 |
| implementor method outcomes | |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
74 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
75 |
implementor := class. |
615
f1b888de7817
Fixed condition in TestCaseOutcome class>>rememberedOutcomeFor:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
76 |
[implementor notNil and:[(implementor includesSelector: selector) not]] |
f1b888de7817
Fixed condition in TestCaseOutcome class>>rememberedOutcomeFor:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
77 |
whileTrue: [implementor := implementor superclass]. |
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
78 |
implementor isNil ifTrue:[ ^ nil ]. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
79 |
method := implementor compiledMethodAt: selector. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
80 |
outcomes := RemeberedOutcomes at: method ifAbsent:[ ^ nil ]. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
81 |
^ outcomes at: class ifAbsent: [ nil ] |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
82 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
83 |
"Created: / 13-07-2014 / 23:56:25 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
615
f1b888de7817
Fixed condition in TestCaseOutcome class>>rememberedOutcomeFor:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
84 |
"Modified: / 17-07-2014 / 14:35:02 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
85 |
! ! |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
86 |
|
360 | 87 |
!TestCaseOutcome methodsFor:'accessing'! |
88 |
||
89 |
collectedOutput |
|
90 |
||
91 |
^self propertyAt: #collectedOutput |
|
92 |
||
93 |
"Modified: / 16-08-2011 / 15:27:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
94 |
"Created: / 16-08-2011 / 18:19:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
95 |
! |
|
96 |
||
97 |
collectedOutput: aString |
|
98 |
||
99 |
^self propertyAt: #collectedOutput put: aString |
|
100 |
||
101 |
"Modified: / 16-08-2011 / 15:28:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
102 |
"Created: / 16-08-2011 / 18:19:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
103 |
! |
|
104 |
||
105 |
endTime |
|
106 |
||
107 |
^self propertyAt: #endTime |
|
108 |
||
109 |
"Modified: / 16-08-2011 / 15:28:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
110 |
! |
|
111 |
||
112 |
endTime: anObject |
|
113 |
||
114 |
^self propertyAt: #endTime put: anObject |
|
115 |
||
116 |
"Modified: / 16-08-2011 / 15:28:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
117 |
! |
|
118 |
||
119 |
exceptionDetail |
|
120 |
||
121 |
^self propertyAt: #exceptionDetail |
|
122 |
||
123 |
"Modified: / 16-08-2011 / 15:29:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
124 |
! |
|
125 |
||
126 |
exceptionDetail: anObject |
|
127 |
||
128 |
^self propertyAt: #exceptionDetail put: anObject |
|
129 |
||
130 |
"Modified: / 16-08-2011 / 15:29:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
131 |
! |
|
132 |
||
379 | 133 |
executionTime |
134 |
"the execution time in millis; nil if not yet executed" |
|
135 |
||
136 |
|startTime endTime| |
|
137 |
||
138 |
(startTime := self startTime) isNil ifTrue:[ |
|
139 |
"/ not yet executed |
|
140 |
^ nil |
|
141 |
]. |
|
142 |
(endTime := self endTime) isNil ifTrue:[ |
|
143 |
"/ assume it is still running... |
|
144 |
endTime := Timestamp now |
|
145 |
]. |
|
589 | 146 |
^ (endTime millisecondDeltaFrom:startTime) |
379 | 147 |
|
148 |
"Modified (format): / 18-08-2011 / 21:02:28 / cg" |
|
149 |
! |
|
150 |
||
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
151 |
method |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
152 |
"Return the CompiledMethod corresponding to this test case in as dialect-neutral a way as possible. We code on the assumption there must be one. If there isn't and we work up to nil superclass then fail, not bothering with implementor isNil ifTrue: [^nil] as we assume the caller would immediately fail in that case." |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
153 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
154 |
| implementor | |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
155 |
implementor := testCase class. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
156 |
[implementor includesSelector: testCase selector] |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
157 |
whileFalse: [implementor := implementor superclass]. |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
158 |
^ implementor compiledMethodAt: testCase selector |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
159 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
160 |
"Created: / 13-07-2014 / 23:31:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
161 |
! |
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
162 |
|
360 | 163 |
propertyAt: aSymbol |
164 |
||
379 | 165 |
^ self propertyAt: aSymbol ifAbsent: [nil] |
360 | 166 |
|
167 |
"Created: / 16-08-2011 / 15:26:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
379 | 168 |
"Modified: / 18-08-2011 / 21:03:01 / cg" |
360 | 169 |
! |
170 |
||
171 |
propertyAt: aSymbol ifAbsent: aBlock |
|
172 |
||
173 |
properties isNil ifTrue: [^aBlock value]. |
|
174 |
^properties at: aSymbol ifAbsent:aBlock. |
|
175 |
||
176 |
"Created: / 16-08-2011 / 15:27:00 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
177 |
! |
|
178 |
||
179 |
propertyAt: aSymbol put: anObject |
|
180 |
||
181 |
properties isNil ifTrue: [properties := Dictionary new]. |
|
182 |
properties at: aSymbol put: anObject. |
|
183 |
||
184 |
"Created: / 16-08-2011 / 15:28:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
185 |
! |
|
186 |
||
187 |
result |
|
188 |
^ result |
|
189 |
! |
|
190 |
||
419 | 191 |
result:aSymbol |
488 | 192 |
((aSymbol ~= TestResult statePass) |
193 |
and:[ aSymbol ~= TestResult stateFail |
|
194 |
and:[ aSymbol ~= TestResult stateError |
|
195 |
and:[ aSymbol ~= TestResult stateSkip ]]]) ifTrue:[ |
|
419 | 196 |
self error:'invalid result'. |
197 |
]. |
|
198 |
result := aSymbol. |
|
199 |
||
200 |
"Modified: / 20-08-2011 / 12:52:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
360 | 201 |
! |
202 |
||
203 |
selector |
|
204 |
||
205 |
^testCase selector |
|
206 |
||
207 |
"Created: / 16-08-2011 / 15:38:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
208 |
! |
|
209 |
||
210 |
startTime |
|
211 |
||
212 |
^self propertyAt: #startTime |
|
213 |
||
214 |
"Modified: / 16-08-2011 / 15:29:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
215 |
! |
|
216 |
||
217 |
startTime: anObject |
|
218 |
||
219 |
^self propertyAt: #startTime put: anObject |
|
220 |
||
221 |
"Modified: / 16-08-2011 / 15:29:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
222 |
! |
|
223 |
||
224 |
testCase |
|
225 |
^ testCase |
|
226 |
! |
|
227 |
||
228 |
testCase:something |
|
229 |
testCase := something. |
|
230 |
! ! |
|
231 |
||
419 | 232 |
!TestCaseOutcome methodsFor:'comparing'! |
233 |
||
234 |
= anotherOutcome |
|
235 |
||
236 |
^(anotherOutcome isKindOf: self class) |
|
237 |
and:[self testCase class == anotherOutcome testCase class |
|
238 |
and:[self testCase selector == anotherOutcome testCase selector]]. |
|
239 |
||
240 |
"Created: / 20-08-2011 / 14:24:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
241 |
! |
|
242 |
||
243 |
hash |
|
244 |
||
245 |
^testCase hash bitXor: result hash |
|
246 |
||
247 |
"Created: / 20-08-2011 / 14:23:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
248 |
! ! |
|
249 |
||
589 | 250 |
!TestCaseOutcome methodsFor:'printing & storing'! |
251 |
||
252 |
printOn:aStream |
|
253 |
"append a printed representation if the receiver to the argument, aStream" |
|
254 |
||
255 |
super printOn:aStream. |
|
256 |
aStream nextPut:$(. |
|
257 |
testCase printOn: aStream. |
|
258 |
aStream nextPut:$). |
|
259 |
||
260 |
"Modified: / 17-07-2013 / 17:59:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
261 |
! ! |
|
262 |
||
419 | 263 |
!TestCaseOutcome methodsFor:'remembering'! |
264 |
||
265 |
remember |
|
266 |
||
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
267 |
^TestCaseOutcome rememberOutcome: self. |
419 | 268 |
|
269 |
"Created: / 20-08-2011 / 12:45:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
270 |
"Modified: / 14-07-2014 / 21:35:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
419 | 271 |
! ! |
272 |
||
360 | 273 |
!TestCaseOutcome class methodsFor:'documentation'! |
274 |
||
275 |
version_CVS |
|
589 | 276 |
^ '$Header: /cvs/stx/stx/goodies/sunit/TestCaseOutcome.st,v 1.6 2014-04-16 22:06:04 cg Exp $' |
615
f1b888de7817
Fixed condition in TestCaseOutcome class>>rememberedOutcomeFor:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
277 |
! |
f1b888de7817
Fixed condition in TestCaseOutcome class>>rememberedOutcomeFor:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
278 |
|
f1b888de7817
Fixed condition in TestCaseOutcome class>>rememberedOutcomeFor:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
279 |
version_HG |
f1b888de7817
Fixed condition in TestCaseOutcome class>>rememberedOutcomeFor:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
280 |
|
f1b888de7817
Fixed condition in TestCaseOutcome class>>rememberedOutcomeFor:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
614
diff
changeset
|
281 |
^ '$Changeset: <not expanded> $' |
360 | 282 |
! ! |
589 | 283 |
|
614
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
284 |
|
3003097506c9
Refactored remembering of TestCaseOutcomes.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
285 |
TestCaseOutcome initialize! |