equal
deleted
inserted
replaced
156 2) Java method, does not IllegalArgumentException." |
156 2) Java method, does not IllegalArgumentException." |
157 |
157 |
158 | thrower caught | |
158 | thrower caught | |
159 thrower := JAVA stx libjava tests lang ExceptionTests new. |
159 thrower := JAVA stx libjava tests lang ExceptionTests new. |
160 [ |
160 [ |
161 self halt. thrower throw_me: false. |
161 thrower throw_me: false. |
162 caught := false. |
162 caught := false. |
163 ] on: JAVA java lang IllegalArgumentException do: [:ex | caught := true. ]. |
163 ] on: JAVA java lang IllegalArgumentException do: [:ex | caught := true. ]. |
164 self assert: caught == false. |
164 self assert: caught == false. |
165 self assert: (JavaVM enteredMonitorsOfProcess: Processor activeProcess) |
165 self assert: (JavaVM enteredMonitorsOfProcess: Processor activeProcess) |
166 isEmptyOrNil. |
166 isEmptyOrNil. |
167 self assert: (JavaVM acquiredMonitorsOfProcess: Processor activeProcess) |
167 self assert: (JavaVM acquiredMonitorsOfProcess: Processor activeProcess) |
168 isEmptyOrNil. |
168 isEmptyOrNil. |
169 |
169 |
170 "Created: / 18-03-2012 / 21:49:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
170 "Created: / 18-03-2012 / 21:49:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
171 "Modified: / 18-11-2012 / 18:05:51 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
171 "Modified: / 18-11-2012 / 18:17:22 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
172 ! |
172 ! |
173 |
173 |
174 test_01c |
174 test_01c |
175 " |
175 " |
176 Scenario (method activation stack, last called at bottom) |
176 Scenario (method activation stack, last called at bottom) |