Fix in JUnitTestCaseProxy>>performTest.
Add JavaVM unimplementedNativeMethodSignal to set of exceptions. This one is
old-style instance-based Signal and thus does not match to Exception in outer handler.
Therefore it must be added here explicitly listed in #performTest.
--- a/JUnitTestCaseProxy.st Tue Jan 21 14:44:18 2014 +0000
+++ b/JUnitTestCaseProxy.st Wed Jan 22 15:02:15 2014 +0000
@@ -172,7 +172,10 @@
assertions := SignalSet
with: (Java classForName:'java.lang.AssertionError')
- with: (Java classForName:'junit.framework.AssertionFailedError').
+ with: (Java classForName:'junit.framework.AssertionFailedError')
+ "/ JavaVM unimplementedNativeMethodSignal is Signal, not exception.
+ "/ Therefore it MUST be listed here!!!!!!
+ with: (JavaVM unimplementedNativeMethodSignal).
[
self javaClass new perform: testSelector sunitAsSymbol
] on: assertions do: [:ex|
@@ -182,7 +185,7 @@
]
"Created: / 01-03-2011 / 14:50:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified (format): / 30-11-2012 / 09:59:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 22-01-2014 / 14:40:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!JUnitTestCaseProxy class methodsFor:'documentation'!