--- a/reports/Builder__TestReportFormat.st Fri Mar 11 07:03:20 2016 +0100
+++ b/reports/Builder__TestReportFormat.st Tue Mar 15 14:36:37 2016 +0000
@@ -125,15 +125,17 @@
home := context methodHome.
mthd := home method.
- s nextPutAll:'bytecode: '; cr.
- mthd notNil ifTrue:[
- (mthd isJavaMethod and:[mthd class ~~ JavaNativeMethod]) ifFalse:[
- Decompiler decompile: mthd to: s.
- ] ifTrue:[
- (Smalltalk at: #JavaByteCodeDisassembler) notNil ifTrue:[
- (Smalltalk at: #JavaByteCodeDisassembler) diassemble: mthd to: s.
- ] ifFalse:[
- s nextPutAll: ' ** no JavaByteCodeDisassembler **'
+ report keepBytecode ifTrue:[
+ s nextPutAll:'bytecode: '; cr.
+ mthd notNil ifTrue:[
+ (mthd isJavaMethod and:[mthd class ~~ JavaNativeMethod]) ifFalse:[
+ Decompiler decompile: mthd to: s.
+ ] ifTrue:[
+ (Smalltalk at: #JavaByteCodeDisassembler) notNil ifTrue:[
+ (Smalltalk at: #JavaByteCodeDisassembler) diassemble: mthd to: s.
+ ] ifFalse:[
+ s nextPutAll: ' ** no JavaByteCodeDisassembler **'
+ ].
].
].
].
@@ -179,15 +181,14 @@
"
"Created: / 03-08-2011 / 14:53:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 18-01-2016 / 08:12:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 15-03-2016 / 14:34:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
writeStackTrace:err of:aTestCase on: str
- | context stop |
+ | context |
context := err signalerContext.
- stop := false.
[ context notNil ] whileTrue:[
self writeContext: context on: str.
@@ -202,6 +203,7 @@
].
"Created: / 03-08-2011 / 14:53:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 15-03-2016 / 14:33:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!TestReportFormat::JUnit class methodsFor:'accessing'!