Tools__TestRunnerMini.st
changeset 15122 ab2f00b41933
parent 15121 dd8d070f66b0
child 15162 fc14775b60a7
equal deleted inserted replaced
15121:dd8d070f66b0 15122:ab2f00b41933
   206                             (LabelSpec
   206                             (LabelSpec
   207                                label: 'Run tests first!!'
   207                                label: 'Run tests first!!'
   208                                name: 'ResultName'
   208                                name: 'ResultName'
   209                                layout: (LayoutFrame 22 0 0 0 0 1 -10 1)
   209                                layout: (LayoutFrame 22 0 0 0 0 1 -10 1)
   210                                backgroundChannel: resultBackgroundColorAspect
   210                                backgroundChannel: resultBackgroundColorAspect
       
   211                                foregroundChannel: resultTextForegroundColorAspect
   211                                foregroundColor: (Color 100.0 100.0 100.0)
   212                                foregroundColor: (Color 100.0 100.0 100.0)
   212                                translateLabel: true
   213                                translateLabel: true
   213                                labelChannel: resultNameAspect
   214                                labelChannel: resultNameAspect
   214                                adjust: left
   215                                adjust: left
   215                              )
   216                              )
   218                                layout: (LayoutFrame 5 0 3 0 21 0 17 0)
   219                                layout: (LayoutFrame 5 0 3 0 21 0 17 0)
   219                                activeHelpKey: pin
   220                                activeHelpKey: pin
   220                                level: 0
   221                                level: 0
   221                                visibilityChannel: pinButtonVisibleHolder
   222                                visibilityChannel: pinButtonVisibleHolder
   222                                backgroundChannel: resultBackgroundColorAspect
   223                                backgroundChannel: resultBackgroundColorAspect
   223                                foregroundChannel: resultBackgroundColorAspect
       
   224                                hasCharacterOrientedLabel: false
   224                                hasCharacterOrientedLabel: false
   225                                translateLabel: true
   225                                translateLabel: true
   226                                labelChannel: pinIcon
   226                                labelChannel: pinIcon
   227                                model: pin
   227                                model: pin
   228                              )
   228                              )
   297                 (LabelSpec
   297                 (LabelSpec
   298                    name: 'ResultInfo'
   298                    name: 'ResultInfo'
   299                    layout: (LayoutFrame 0 0 -20 1 0 0.5 0 1)
   299                    layout: (LayoutFrame 0 0 -20 1 0 0.5 0 1)
   300                    style: (FontDescription helvetica medium roman 8 #'iso10646-1')
   300                    style: (FontDescription helvetica medium roman 8 #'iso10646-1')
   301                    backgroundChannel: resultBackgroundColorAspect
   301                    backgroundChannel: resultBackgroundColorAspect
   302                    foregroundColor: (Color 100.0 100.0 100.0)
   302                    foregroundChannel: resultTextForegroundColorAspect
   303                    translateLabel: true
   303                    translateLabel: true
   304                    labelChannel: resultInfoAspect
   304                    labelChannel: resultInfoAspect
   305                    adjust: left
   305                    adjust: left
   306                  )
   306                  )
   307                 (ViewSpec
   307                 (ViewSpec
   329            )
   329            )
   330           )
   330           )
   331         
   331         
   332        )
   332        )
   333      )
   333      )
   334 
       
   335 ! !
   334 ! !
   336 
   335 
   337 !TestRunnerMini class methodsFor:'queries'!
   336 !TestRunnerMini class methodsFor:'queries'!
   338 
   337 
   339 shouldRememberLastExtent
   338 shouldRememberLastExtent
   830     "Created: / 15-03-2010 / 14:57:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   829     "Created: / 15-03-2010 / 14:57:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   831     "Modified: / 15-03-2010 / 20:17:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   830     "Modified: / 15-03-2010 / 20:17:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   832     "Modified: / 02-08-2011 / 18:20:38 / cg"
   831     "Modified: / 02-08-2011 / 18:20:38 / cg"
   833 !
   832 !
   834 
   833 
       
   834 resultTextForegroundColorAspect
       
   835     <resource: #uiAspect>
       
   836 
       
   837     ^ BlockValue 
       
   838         with:[:bgColor | 
       
   839             bgColor brightness > 0.6 ifTrue:[
       
   840                 Color black
       
   841             ] ifFalse:[
       
   842                 Color white
       
   843             ].
       
   844         ]
       
   845         argument:self resultBackgroundColorAspect
       
   846 !
       
   847 
   835 runAllEnabledHolder
   848 runAllEnabledHolder
   836 
   849 
   837     ^ self notRunningHolder
   850     ^ self notRunningHolder
   838 
   851 
   839     "Created: / 07-09-2010 / 09:15:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   852     "Created: / 07-09-2010 / 09:15:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1250 ! !
  1263 ! !
  1251 
  1264 
  1252 !TestRunnerMini class methodsFor:'documentation'!
  1265 !TestRunnerMini class methodsFor:'documentation'!
  1253 
  1266 
  1254 version
  1267 version
  1255     ^ '$Header: /cvs/stx/stx/libtool/Tools__TestRunnerMini.st,v 1.6 2015-01-30 13:11:56 cg Exp $'
  1268     ^ '$Header: /cvs/stx/stx/libtool/Tools__TestRunnerMini.st,v 1.7 2015-01-30 13:54:52 cg Exp $'
  1256 !
  1269 !
  1257 
  1270 
  1258 version_CVS
  1271 version_CVS
  1259     ^ '$Header: /cvs/stx/stx/libtool/Tools__TestRunnerMini.st,v 1.6 2015-01-30 13:11:56 cg Exp $'
  1272     ^ '$Header: /cvs/stx/stx/libtool/Tools__TestRunnerMini.st,v 1.7 2015-01-30 13:54:52 cg Exp $'
  1260 !
  1273 !
  1261 
  1274 
  1262 version_SVN
  1275 version_SVN
  1263     ^ '$Id: Tools__TestRunnerMini.st,v 1.6 2015-01-30 13:11:56 cg Exp $'
  1276     ^ '$Id: Tools__TestRunnerMini.st,v 1.7 2015-01-30 13:54:52 cg Exp $'
  1264 ! !
  1277 ! !
  1265 
  1278