Tools__TestRunnerMini.st
changeset 18997 2d6d26317af8
parent 18942 aa9077775955
equal deleted inserted replaced
18996:ce203f9d183c 18997:2d6d26317af8
  1369     
  1369     
  1370     numRun := passedCount + failureCount + errorCount.
  1370     numRun := passedCount + failureCount + errorCount.
  1371     "/ (passedCount + failureCount + errorCount) = 1 ifTrue:[^''].
  1371     "/ (passedCount + failureCount + errorCount) = 1 ifTrue:[^''].
  1372     numRun == 0 ifTrue:[
  1372     numRun == 0 ifTrue:[
  1373         numTests == 1 ifTrue:[
  1373         numTests == 1 ifTrue:[
  1374             ^'not run'
  1374             result skippedOutcomes size == 1 ifTrue:[
       
  1375                 ^ (result skippedOutcomes first exceptionDetail ? 'skipped') asString
       
  1376             ].
       
  1377             ^ 'not run'
  1375         ].
  1378         ].
  1376         ^'%1 tests, 0 run' bindWith: numTests
  1379         ^ '%1 tests, 0 run' bindWith: numTests
  1377     ].
  1380     ].
  1378     numRun < numTests ifTrue:[
  1381     numRun < numTests ifTrue:[
  1379         skippedCount > 0 ifTrue:[
  1382         skippedCount > 0 ifTrue:[
  1380             ^'%1 tests, %2 run, %5 skipped, %3 passed, %4 fail or error'
  1383             ^'%1 tests, %2 run, %5 skipped, %3 passed, %4 fail or error'
  1381                 bindWith: numTests
  1384                 bindWith: numTests