@@ -80,31 +80,25 @@ export class TestResultDisplay implements ITestResultDisplay {
8080 // Treat errors as a special case, as we generally wouldn't have any errors
8181 const statusText : string [ ] = [ ] ;
8282 const toolTip : string [ ] = [ ] ;
83- let foreColor = '' ;
8483
8584 if ( tests . summary . passed > 0 ) {
8685 statusText . push ( `${ constants . Octicons . Test_Pass } ${ tests . summary . passed } ` ) ;
8786 toolTip . push ( `${ tests . summary . passed } Passed` ) ;
88- foreColor = '#66ff66' ;
8987 }
9088 if ( tests . summary . skipped > 0 ) {
9189 statusText . push ( `${ constants . Octicons . Test_Skip } ${ tests . summary . skipped } ` ) ;
9290 toolTip . push ( `${ tests . summary . skipped } Skipped` ) ;
93- foreColor = '#66ff66' ;
9491 }
9592 if ( tests . summary . failures > 0 ) {
9693 statusText . push ( `${ constants . Octicons . Test_Fail } ${ tests . summary . failures } ` ) ;
9794 toolTip . push ( `${ tests . summary . failures } Failed` ) ;
98- foreColor = 'yellow' ;
9995 }
10096 if ( tests . summary . errors > 0 ) {
10197 statusText . push ( `${ constants . Octicons . Test_Error } ${ tests . summary . errors } ` ) ;
10298 toolTip . push ( `${ tests . summary . errors } Error${ tests . summary . errors > 1 ? 's' : '' } ` ) ;
103- foreColor = 'yellow' ;
10499 }
105100 this . statusBar . tooltip = toolTip . length === 0 ? 'No Tests Ran' : `${ toolTip . join ( ', ' ) } (Tests)` ;
106101 this . statusBar . text = statusText . length === 0 ? 'No Tests Ran' : statusText . join ( ' ' ) ;
107- this . statusBar . color = foreColor ;
108102 this . statusBar . command = constants . Commands . Tests_View_UI ;
109103 this . didChange . fire ( ) ;
110104 if ( statusText . length === 0 && ! debug ) {
@@ -193,7 +187,6 @@ export class TestResultDisplay implements ITestResultDisplay {
193187 this . statusBar . tooltip = 'Discover Tests' ;
194188 this . statusBar . command = constants . Commands . Tests_Discover ;
195189 this . statusBar . show ( ) ;
196- this . statusBar . color = 'yellow' ;
197190 if ( reason !== CANCELLATION_REASON ) {
198191 this . statusBar . text = '$(alert) Test discovery failed' ;
199192 this . statusBar . tooltip = 'Discovering Tests failed (view \'Python Test Log\' output panel for details)' ;
0 commit comments