TestCaseOutcome.st
author Claus Gittinger <cg@exept.de>
Thu, 28 Mar 2019 12:17:57 +0100
changeset 738 19f75695aa0f
parent 736 481186cd77cf
child 741 5385d22dcc62
permissions -rw-r--r--
#FEATURE by cg class: TestResult class definition added: #lastOutcome changed: #runCase:debugged: class: TestResult class added: #stateInconclusive #stateNames comment/format in: #stateError #stateSkip
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
360
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
     1
"{ Package: 'stx:goodies/sunit' }"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
     2
610
756214d7dcca class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 589
diff changeset
     3
"{ NameSpace: Smalltalk }"
756214d7dcca class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 589
diff changeset
     4
360
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
     5
Object subclass:#TestCaseOutcome
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
     6
	instanceVariableNames:'testCase result properties'
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
     7
	classVariableNames:''
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
     8
	poolDictionaries:''
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
     9
	category:'SUnit-Base'
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    10
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    11
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    12
!TestCaseOutcome class methodsFor:'documentation'!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    13
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    14
documentation
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    15
"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    16
    will keep additional info for a testCase run:
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    17
        startTime, endTime,
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    18
        backtrace (if fail or error)
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    19
        and collectedStdout
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    20
"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    21
! !
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    22
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    23
!TestCaseOutcome class methodsFor:'instance creation'!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    24
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    25
forCase: aTestCase
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    26
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    27
    ^self new testCase: aTestCase; yourself
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    28
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    29
    "Created: / 16-08-2011 / 15:24:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    30
! !
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    31
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    32
!TestCaseOutcome methodsFor:'accessing'!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    33
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    34
collectedOutput
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    35
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    36
    ^self propertyAt: #collectedOutput
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    37
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    38
    "Modified: / 16-08-2011 / 15:27:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    39
    "Created: / 16-08-2011 / 18:19:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    40
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    41
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    42
collectedOutput: aString
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    43
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    44
    ^self propertyAt: #collectedOutput put: aString
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    45
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    46
    "Modified: / 16-08-2011 / 15:28:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    47
    "Created: / 16-08-2011 / 18:19:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    48
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    49
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    50
endTime
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    51
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    52
    ^self propertyAt: #endTime
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    53
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    54
    "Modified: / 16-08-2011 / 15:28:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    55
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    56
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    57
endTime: anObject
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    58
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    59
    ^self propertyAt: #endTime put: anObject
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    60
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    61
    "Modified: / 16-08-2011 / 15:28:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    62
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    63
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    64
exceptionDetail
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    65
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    66
    ^self propertyAt: #exceptionDetail
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    67
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    68
    "Modified: / 16-08-2011 / 15:29:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    69
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    70
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    71
exceptionDetail: anObject
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    72
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    73
    ^self propertyAt: #exceptionDetail put: anObject
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    74
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    75
    "Modified: / 16-08-2011 / 15:29:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    76
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    77
379
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    78
executionTime
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    79
    "the execution time in millis; nil if not yet executed"
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    80
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    81
    |startTime endTime|
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    82
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    83
    (startTime := self startTime) isNil ifTrue:[
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    84
        "/ not yet executed
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    85
        ^ nil
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    86
    ].
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    87
    (endTime := self endTime) isNil ifTrue:[
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    88
        "/ assume it is still running...
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    89
        endTime := Timestamp now
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    90
    ].
589
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
    91
    ^ (endTime millisecondDeltaFrom:startTime)
379
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    92
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    93
    "Modified (format): / 18-08-2011 / 21:02:28 / cg"
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    94
!
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    95
360
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    96
propertyAt: aSymbol
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    97
379
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
    98
    ^ self propertyAt: aSymbol ifAbsent: [nil]
360
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
    99
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   100
    "Created: / 16-08-2011 / 15:26:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
379
065605384740 added: #executionTime
Claus Gittinger <cg@exept.de>
parents: 360
diff changeset
   101
    "Modified: / 18-08-2011 / 21:03:01 / cg"
360
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   102
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   103
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   104
propertyAt: aSymbol ifAbsent: aBlock
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   105
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   106
    properties isNil ifTrue: [^aBlock value].
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   107
    ^properties at: aSymbol ifAbsent:aBlock.
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   108
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   109
    "Created: / 16-08-2011 / 15:27:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   110
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   111
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   112
propertyAt: aSymbol put: anObject
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   113
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   114
    properties isNil ifTrue: [properties := Dictionary new].
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   115
    properties at: aSymbol put: anObject.
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   116
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   117
    "Created: / 16-08-2011 / 15:28:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   118
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   119
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   120
result
736
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   121
    "returns one of that state symbols:
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   122
     (see stateNames on the class side)"
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   123
     
360
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   124
    ^ result
736
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   125
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   126
    "Modified (comment): / 28-03-2019 / 11:29:15 / Claus Gittinger"
360
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   127
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   128
419
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   129
result:aSymbol
736
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   130
    "sets my state symbol (see TestResult stateNames for valid names)"
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   131
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   132
    self assert:(TestResult stateNames includes:aSymbol)
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   133
         message:'invalid result state'.
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   134
419
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   135
    result := aSymbol.
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   136
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   137
    "Modified: / 20-08-2011 / 12:52:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
736
481186cd77cf #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 662
diff changeset
   138
    "Modified (comment): / 28-03-2019 / 11:30:38 / Claus Gittinger"
360
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   139
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   140
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   141
selector
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   142
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   143
    ^testCase selector
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   144
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   145
    "Created: / 16-08-2011 / 15:38:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   146
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   147
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   148
startTime
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   149
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   150
    ^self propertyAt: #startTime
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   151
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   152
    "Modified: / 16-08-2011 / 15:29:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   153
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   154
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   155
startTime: anObject
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   156
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   157
    ^self propertyAt: #startTime put: anObject
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   158
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   159
    "Modified: / 16-08-2011 / 15:29:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   160
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   161
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   162
testCase
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   163
    ^ testCase
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   164
!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   165
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   166
testCase:something
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   167
    testCase := something.
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   168
! !
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   169
419
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   170
!TestCaseOutcome methodsFor:'comparing'!
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   171
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   172
= anotherOutcome
610
756214d7dcca class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 589
diff changeset
   173
    |myTestCase otherTestCase|
419
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   174
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   175
    ^(anotherOutcome isKindOf: self class) 
610
756214d7dcca class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 589
diff changeset
   176
        and:[(myTestCase := self testCase) class == (otherTestCase := anotherOutcome testCase) class
756214d7dcca class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 589
diff changeset
   177
            and:[myTestCase selector == otherTestCase selector]].
419
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   178
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   179
    "Created: / 20-08-2011 / 14:24:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   180
!
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   181
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   182
hash
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   183
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   184
    ^testCase hash bitXor: result hash
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   185
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   186
    "Created: / 20-08-2011 / 14:23:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   187
! !
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   188
589
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   189
!TestCaseOutcome methodsFor:'printing & storing'!
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   190
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   191
printOn:aStream
662
6c625b63db5c #OTHER by mawalch
mawalch
parents: 610
diff changeset
   192
    "append a printed representation of the receiver to the argument, aStream"
589
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   193
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   194
    super printOn:aStream.
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   195
    aStream nextPut:$(.
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   196
    testCase printOn: aStream.
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   197
    aStream nextPut:$).
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   198
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   199
    "Modified: / 17-07-2013 / 17:59:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   200
! !
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   201
419
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   202
!TestCaseOutcome methodsFor:'remembering'!
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   203
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   204
remember
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   205
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   206
    ^testCase class rememberOutcome: self.
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   207
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   208
    "Created: / 20-08-2011 / 12:45:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   209
! !
e2eb2ab5b937 Lost methods
vrany
parents: 379
diff changeset
   210
360
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   211
!TestCaseOutcome class methodsFor:'documentation'!
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   212
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   213
version_CVS
662
6c625b63db5c #OTHER by mawalch
mawalch
parents: 610
diff changeset
   214
    ^ '$Header$'
360
57c87e624dc6 initial checkin
vrany
parents:
diff changeset
   215
! !
589
b7cd9f791bb1 class: TestCaseOutcome
Claus Gittinger <cg@exept.de>
parents: 488
diff changeset
   216