|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--TestCaseRunner
Class implementing a test case harness
Defined in TestRunner.js
Field Summary | |
Object |
selected
|
Object |
testCase
|
Object |
testGroupRunner
|
Object |
xml
|
Constructor Summary | |
TestCaseRunner(testGroupRunner, testCase)
Construct a TestCaseRunner object |
Method Summary | |
void
|
actionListener(<Object> source, <String> actionName)
Event listener for context menu |
void
|
addLog(<String> log)
Add a log entry to the test case node |
void
|
clearResult()
Clear result of test |
void
|
enable(<Boolean> state)
Enable or disable test |
Object
|
getLog()
|
Object
|
getXML()
Return describing XML element |
void
|
hasFailed(<String> log)
Listener for failed notifications |
void
|
hasPassed(<String> log)
Listener for passed notifications |
boolean
|
isEnabled()
Tell test runner if case is enabled |
void
|
run()
Run this test case |
Field Detail |
Object selected
Object testCase
Object testGroupRunner
Object xml
Constructor Detail |
TestCaseRunner(testGroupRunner, testCase)
the
- parent test group runner
the
- test case name
Method Detail |
void actionListener(<Object> source, <String> actionName)
source
- the outline node for which the action was invoked
actionName
- the name of the action selected
void addLog(<String> log)
log
- the test log
void clearResult()
void enable(<Boolean> state)
state
- true for enabled
Object getLog()
Object getXML()
void hasFailed(<String> log)
log
- the test log
void hasPassed(<String> log)
log
- the test log
boolean isEnabled()
void run()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |