#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Wed, 26 Jun 2019 15:22:46 +0200
changeset 18843 ace2c3514658
parent 18842 058cd94533d3
child 18844 2556c2dcb567
#UI_ENHANCEMENT by cg class: Tools::TestRunnerMini changed: #run:debug:coverageContext:
Tools__TestRunnerMini.st
--- a/Tools__TestRunnerMini.st	Wed Jun 26 15:21:24 2019 +0200
+++ b/Tools__TestRunnerMini.st	Wed Jun 26 15:22:46 2019 +0200
@@ -694,14 +694,15 @@
                             beforeEachDo:[:test :result |
                                 currentTestCaseName := (' (run: ',test getTestName allBold,')').
                                 resultHolder changed.
-                                self activityNotification:('Running "%1-%2"...' 
-                                                    bindWith:test name
-                                                    with:test getTestName allBold).
                                 infoHolder notNil ifTrue:[
                                     infoHolder value:('Running "%1-%2"...' 
                                                     bindWith:test name
                                                     with:test getTestName allBold).
-                                    self window repairDamage.                
+                                    self window repairDamage.  
+                                ] ifFalse:[    
+                                    self activityNotification:('Running "%1-%2"...' 
+                                                    bindWith:test name
+                                                    with:test getTestName allBold).
                                 ]
                             ]
                             afterEachDo:[:test :result | 
@@ -720,7 +721,11 @@
                 self progressIndicatorShownHolder value:false.
                 resultHolder setValue:nil; value:suiteAndResult; changed.
                 self runningHolder value:false.
-                self activityNotification:('Finished.'). 
+                infoHolder notNil ifTrue:[
+                    infoHolder value:('Finished.').
+                ] ifFalse:[
+                    self activityNotification:('Finished.'). 
+                ]
             ]
         ].
 
@@ -737,7 +742,7 @@
 
     "Created: / 03-12-2012 / 13:59:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 18-02-2016 / 16:57:27 / cg"
-    "Modified: / 26-06-2019 / 15:18:41 / Claus Gittinger"
+    "Modified: / 26-06-2019 / 15:22:35 / Claus Gittinger"
 !
 
 runAll