Changeset 30
- Timestamp:
- 03/06/09 13:23:20 (3 years ago)
- Location:
- trunk/mgunit/src
- Files:
-
- 1 added
- 3 modified
-
mgunit.pro (modified) (3 diffs)
-
mgutclirunner__define.pro (modified) (2 diffs)
-
mguthtmlrunner__define.pro (modified) (1 diff)
-
mg_ansicode.pro (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/mgunit/src/mgunit.pro
r26 r30 12 12 ; name of file to send output to; if not present sends output to the 13 13 ; output log 14 ; color : in, optional, type=boolean 15 ; set to print color output to the output log 14 16 ; html : in, optional, type=boolean 15 17 ; set to indicate HTML output instead of plain text … … 21 23 ; number of tests 22 24 ;- 23 pro mgunit, tests, filename=filename, html=html, $25 pro mgunit, tests, filename=filename, html=html, color=color, $ 24 26 npass=npass, nfail=nfail, ntests=ntests 25 27 compile_opt strictarr … … 28 30 29 31 runnerName = keyword_set(html) ? 'MGutHTMLRunner' : 'MGutCliRunner' 30 testRunner->add, obj_new(runnerName, filename=filename )32 testRunner->add, obj_new(runnerName, filename=filename, color=color) 31 33 32 34 npass = 0L -
trunk/mgunit/src/mgutclirunner__define.pro
r29 r30 216 216 ; if present, output is sent to that file, otherwise output is sent to 217 217 ; stdout 218 ;- 219 function mgutclirunner::init, filename=filename 218 ; color : in, optional, type=boolean 219 ; set to print color output 220 ;- 221 function mgutclirunner::init, filename=filename, color=color 220 222 compile_opt strictarr 221 223 … … 236 238 self.indent = 3L 237 239 self.space = (byte(' '))[0] 238 self.isTty = self->_findIfTty()240 self.isTty = keyword_set(color) || self->_findIfTty() 239 241 240 242 !quiet = 1 -
trunk/mgunit/src/mguthtmlrunner__define.pro
r25 r30 174 174 ; if present, output is sent that file, otherwise output is sent to 175 175 ; stdout 176 ;- 177 function mguthtmlrunner::init, filename=filename 176 ; color : in, optional, type=boolean 177 ; unused for MGutHTMLRunner 178 ;- 179 function mguthtmlrunner::init, filename=filename, color=color 178 180 compile_opt strictarr 179 181
