eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::TestRunner2':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: TestRunner2 (in Tools)


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--Tools::AbstractTestRunner
            |
            +--Tools::TestRunner2

Package:
stx:libtool
Category:
SUnit-UI
Version:
rev: 1.74 date: 2018/01/16 21:13:53
user: cg
file: Tools__TestRunner2.st directory: libtool
module: stx stc-classLibrary: libtool

Class protocol:

help specs
o  helpSpec
This resource specification was automatically generated
by the UIHelpTool of ST/X.

image specs
o  defaultIcon
(comment from inherited method)
default is: no icon (should be redefined by concrete class if an icon is wanted).

initialization
o  initialize
mhmh - somehow, this does not work if done immediately
usage example(s):
(probably Launcher is not yet initialized in some situations).

o  initializeHistory

o  installInLauncher
NewLauncher removeUserTool:#TestRunner2.

interface specs
o  buttonPaneSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:Tools::TestRunner2 andSelector:#buttonPaneSpec
     Tools::TestRunner2 new openInterface:#buttonPaneSpec

o  classCategoryListSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:Tools::TestRunner2 andSelector:#classCategoryListSpec
     Tools::TestRunner2 new openInterface:#classCategoryListSpec

o  classListSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

o  packageListSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:Tools::TestRunner2 andSelector:#packageListSpec
     Tools::TestRunner2 new openInterface:#packageListSpec

o  resultPaneSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:TestRunner2 andSelector:#resultPaneSpec
     TestRunner2 new openInterface:#resultPaneSpec

o  testHistoryTabSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:Tools::TestRunner2 andSelector:#testHistoryTabSpec
     Tools::TestRunner2 new openInterface:#testHistoryTabSpec

o  testResultTabSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:Tools::TestRunner2 andSelector:#testResultTabSpec
     Tools::TestRunner2 new openInterface:#testResultTabSpec

o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:Tools::TestRunner2 andSelector:#windowSpec
     Tools::TestRunner2 new openInterface:#windowSpec
     Tools::TestRunner2 open

o  windowSpec_old
This resource specification was automatically generated
by the UIPainter of ST/X.

list specs
o  classCategoryOrPackageTabList
This resource specification was automatically generated
by the TabListEditor of ST/X.
usage example(s):
     TabListEditor new openOnClass: self andSelector:#classCategoryOrPackageTabList

o  resultAndHistoryTabList
This resource specification was automatically generated
by the TabListEditor of ST/X.
usage example(s):
     TabListEditor new openOnClass: self andSelector:#resultAndHistoryTabList

menu specs
o  classListMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
     MenuEditor new openOnClass:Tools::TestRunner2 andSelector:#classListMenu
     (Menu new fromLiteralArrayEncoding:(Tools::TestRunner2 classListMenu)) startUp

o  mainMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
     MenuEditor new openOnClass:Tools::TestRunner2 andSelector:#mainMenu
     (Menu new fromLiteralArrayEncoding:(Tools::TestRunner2 mainMenu)) startUp

o  packageListMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
     MenuEditor new openOnClass:Tools::TestRunner2 andSelector:#packageListMenu
     (Menu new fromLiteralArrayEncoding:(Tools::TestRunner2 packageListMenu)) startUp

o  resultListMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
     MenuEditor new openOnClass:Tools::TestRunner2 andSelector:#resultListMenu
     (Menu new fromLiteralArrayEncoding:(Tools::TestRunner2 resultListMenu)) startUp

resources
o  startSUnitIcon
^ ToolbarIconLibrary sUnit28x28Icon

startup
o  openOnTestCase: aTestCaseClass


Instance protocol:

accessing
o  errorColor

o  errorTestSuite

o  failedColor

o  failureTestSuite

o  passedColor

o  selectedPackages: packages
self packageList updateTreeSelection.

o  selectedTestCases

o  selectedTestSuite

o  theSingleSelectedProject

o  theSingleSelectedProjectDefinition

accessing-lists
o  allTestCategories

o  allTestPackages

o  classCategoryList

o  classList

o  packageList

accessing-menus
o  packageListMenu

o  resultListMenu

actions
o  classSelectionChanged

o  debugError: test

o  debugFailure: test

o  runCoverageAction

o  runDebuggedAction

o  runErrorsAction

o  runFailuresAction

o  runProfiledAction
Modified (comment): / 25-11-2016 / 08:11:05 / cg

o  runSelectedAction

o  runSuite: aTestSuite

o  runSuite: aTestSuite keepFailures: keepFailures keepErrors: keepErrors

o  runSuite: aTestSuite keepFailures: keepFailures keepErrors: keepErrors debug: doDebug

actions - menu
o  classListMenuBrowse

o  classListMenuBrowseCoveredClasses

o  openDocumentation
opens the documentation file

o  packageListMenuSelectDependents

o  packageListMenuSelectDependentsAll

o  packageListMenuSelectPrerequisites

o  packageListMenuSelectPrerequisitesAll

o  resultListMenuBrowse

o  resultListMenuCopyList

aspects
o  classCategoryOrPackageTabIndexHolder

o  classCategoryOrPackageTabList
Generated by the TabListEditor

o  classListInGeneratorHolder

o  classListOutGeneratorHolder

o  detailsHolder
return/create the 'detailsHolder' value holder (automatically generated)

o  errorListHolder
return/create the 'errorListHolder' value holder (automatically generated)

o  errorSelectionHolder
return/create the 'errorSelectionHolder' value holder (automatically generated)

o  failureListHolder
return/create the 'failureListHolder' value holder (automatically generated)

o  failureSelectionHolder
return/create the 'failureSelectionHolder' value holder (automatically generated)

o  hasErrorsAspect

o  hasFailuresAspect

o  hasTestCasesAspect

o  historyHolder
return/create the 'resultHolder' value holder (automatically generated)

o  modeHolder
return/create the 'modeHolder' value holder (automatically generated)

o  resultAndHistoryTabList
Generated by the TabListEditor

o  resultHolder
return/create the 'resultHolder' value holder (automatically generated)

o  selectedResultHolder

o  selectedTestCaseHasCoveredClassesHolder

displaying
o  displayColor: aColorValue

o  displayDetails: details

o  displayFail: result

o  displayMode: mode

o  displayPass: result

o  displayResult: aTestResult

o  displayResult: aTestResult keepFailures: keepFailures keepErrors: keepErrors

o  displayRunning: result test: test total: total

hooks
o  commonPostOpen
(comment from inherited method)
a common hook for postOpenWith:, postOpenAsSubcanvasWith: and postOpenAsDialogWith:.
Notice: redefined methods should do a super send.
otherwise resources might be undefined.

private
o  buildSuiteFromClass: testCaseCls
Bit hackish, but no time to redesign sUnit from
scratch

o  formatTime: aTime

o  isTestCaseLike: cls

o  repairDamage

o  timeSinceLastPassAsString


Private classes:

    ClassList
    ResultList


ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 19 May 2019 07:16:15 GMT