|
Class: TestRunnerMini (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--Tools::AbstractTestRunner
|
+--Tools::TestRunnerMini
|
+--Tools::TestRunnerEmbedded
- Package:
- stx:libtool
- Category:
- SUnit-UI
- Version:
- rev:
1.42
date: 2019/08/16 20:55:35
- user: cg
- file: Tools__TestRunnerMini.st directory: libtool
- module: stx stc-classLibrary: libtool
a tiny runner to be embedded in a system browser
help specs
-
helpSpec
-
This resource specification was automatically generated
by the UIHelpTool of ST/X.
image specs
-
pinIcon
-
-
pinIcon1
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self pinIcon1 inspect
ImageEditor openOnClass:self andSelector:#pinIcon1
Icon flushCachedIcons
|
-
pinIcon2
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self pinIcon2 inspect
ImageEditor openOnClass:self andSelector:#pinIcon2
Icon flushCachedIcons
|
interface specs
-
windowSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::TestRunnerMini andSelector:#windowSpec
Tools::TestRunnerMini new openInterface:#windowSpec
Tools::TestRunnerMini open
|
queries
-
shouldRememberLastExtent
-
to be redefined by concrete applications:
if true is answered, the application's extent is remembered on close
and used as a default when opened the next time
accessing
-
allTestCases
-
-
allTestCases: something
-
-
infoHolder: something
-
to show something in the browsers info area (near the bottom
-
selectedTestMethods
-
-
selectedTestMethodsFromProtocols: protocols
-
-
selectedTestMethodsFromProtocols: protocols inClass: aTestClass
-
-
selectedTestMethodsInClass: testClass
-
-
theSingleTestCase
-
actions
-
debug
-
run the selected test(s), opening a debugger on error/fail.
Also executes tests which want to be skipped
usage example(s):
^self run:suite debug: true coverageContext: nil.
|
usage example(s):
-
pin
-
create a new pinned runner;
that is one in its own top window
-
run
-
run the selected test(s), NOT opening a debugger on error/fail.
Also executes tests which want to be skipped
-
run: suite
-
-
run: suite debug: debug
-
Modified (format): / 27-03-2019 / 16:16:05 / Claus Gittinger
-
run: suite debug: debug coverageContext: coverageContextOrNil
-
rounded
-
runAll
-
-
runAllWithCoverage
-
return a collection of classes which are covered by the selected
tests. Requires that the testcase returns a non-empty collection
from the coveredClasses query
-
runFailed
-
-
runWithDebug
-
cg: I really do not want to run them twice to get a debugger
-
stop
-
aspects
-
debugVisibleAspect
-
-
notRunningHolder
-
-
progressHolder
-
return/create the 'progressHolder' value holder (automatically generated)
-
progressIndicatorShownHolder
-
-
resultBackgroundColorAspect
-
View defaultBackgroundColor
-
resultHolder
-
return/create the 'resultHolder' value holder (automatically generated)
-
resultInfoAspect
-
-
resultNameAspect
-
-
resultTextForegroundColorAspect
-
-
runAllEnabledHolder
-
-
runEnabledHolder
-
-
runFailedEnabledHolder
-
argument: self resultHolder
-
runningHolder
-
-
stopEnabledHolder
-
aspects-visibility
-
pinButtonVisibleHolder
-
-
runAllButtonVisibleHolder
-
-
runFailedButtonVisibleHolder
-
change & update
-
invalidateSuiteAndResult
-
-
update: aspect with: param from: sender
-
updateSuiteAndResult.
-
updateSuiteAndResult
-
-
updateTestCases
-
Nothing to do here
-
updateTestSuiteAndResult
-
ouch: duplicate code
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
updateVisibility
-
cg: now done by embedder via a valueHolder on the visibility
hooks
-
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.
-
postBuildRunnerPanel: aView
-
-
release
-
(comment from inherited method)
remove all references to objects that may refer to self.
Subclasses may redefine this method but should do a 'super release'.
-
releaseAsSubCanvas
-
(comment from inherited method)
a subcanvas is closed or switching to a new application.
Can be redefined to perform a self release in this case.
initialization
-
initialize
-
private
-
isTestCaseLike: cls
-
-
postBuildProgressIndicator: aWidget
-
queries
-
allCoveredClasses
-
return a collection of classes which are covered by the selected
tests. Requires that the testcase returns a non-empty collection
from the coveredClasses query
-
hasTestCaseSelected
-
utilities
-
resultForSuite: suite
-
-
suiteForRun
-
-
suiteForRunAll
-
raise an error: must be redefined in concrete subclass(es)
-
suiteForRunFailed
-
SuiteAndResult
|