Tools__TestRunner2.st
branchjv
changeset 16571 cf319f2e56d0
parent 15949 9c20ced90e66
parent 16517 59437553feb8
child 16596 f111c3082dd1
equal deleted inserted replaced
16570:dc5e958a20dc 16571:cf319f2e56d0
     1 "{ Encoding: utf8 }"
       
     2 
       
     3 "
     1 "
     4  Copyright (c) 2007-2010 Jan Vrany, SWING Research Group, Czech Technical University in Prague
     2  Copyright (c) 2007-2010 Jan Vrany, SWING Research Group, Czech Technical University in Prague
     5  Copyright (c) 2009-2010 eXept Software AG
     3  Copyright (c) 2009-2010 eXept Software AG
     6 
     4 
     7  Permission is hereby granted, free of charge, to any person
     5  Permission is hereby granted, free of charge, to any person
  1941     (aClass isTestCaseLike) ifFalse:[
  1939     (aClass isTestCaseLike) ifFalse:[
  1942         self breakPoint: #jv.
  1940         self breakPoint: #jv.
  1943         ^nm
  1941         ^nm
  1944     ].
  1942     ].
  1945     aClass isAbstract ifTrue:[
  1943     aClass isAbstract ifTrue:[
  1946         nm := (nm,' ') allItalic colorizeAllWith:Color gray
  1944         nm := (nm,' ') allItalic withColor:Color gray
  1947     ].
  1945     ].
  1948     ^nm
  1946     ^nm
  1949 
  1947 
  1950     "Created: / 27-11-2008 / 17:24:18 / Jan Vrany <vranyj1@fel.cvut.cz>"
  1948     "Created: / 27-11-2008 / 17:24:18 / Jan Vrany <vranyj1@fel.cvut.cz>"
  1951     "Modified: / 28-02-2011 / 21:42:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1949     "Modified: / 28-02-2011 / 21:42:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2245 initialize
  2243 initialize
  2246     "Invoked at system start or when the class is dynamically loaded."
  2244     "Invoked at system start or when the class is dynamically loaded."
  2247 
  2245 
  2248     "/ please change as required (and remove this comment)
  2246     "/ please change as required (and remove this comment)
  2249 
  2247 
  2250     PassedText := ' [passed]' asText colorizeAllWith: Tools::TestRunner2 passedColor darker.
  2248     PassedText := ' [passed]' withColor: Tools::TestRunner2 passedColor darker.
  2251     FailedText := ' [','failed' allBold,']' asText colorizeAllWith: Tools::TestRunner2 failedColor "darker".
  2249     FailedText := ' [','failed' allBold,']' withColor: Tools::TestRunner2 failedColor "darker".
  2252     ErrorText := ' [','error' allBold,']' asText colorizeAllWith: Tools::TestRunner2 errorColor "darker".
  2250     ErrorText := ' [','error' allBold,']' withColor: Tools::TestRunner2 errorColor "darker".
  2253 
  2251 
  2254     "Modified: / 07-02-2010 / 15:06:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2252     "Modified: / 07-02-2010 / 15:06:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2255 ! !
  2253 ! !
  2256 
  2254 
  2257 !TestRunner2::ResultList::ListEntry class methodsFor:'instance creation'!
  2255 !TestRunner2::ResultList::ListEntry class methodsFor:'instance creation'!