|
||||||
| SUMMARY: CHILDREN | PARAMETER | INSTPROC | INSTFILTER | INSTFORWARD | DETAIL: | INSTPROC | |||||
::xotcl::Object
|
+--::xox::Node
|
+--::xounit::Test
|
+--::xounit::Assert
|
+--::xounit::TestCase
| Variables | |||
| Name | Default Value | Class | Comment |
currentTestMethod |
::xounit::TestCase | name of the currently running test method. |
|
nodeName |
::xox::Node | ||
result |
::xounit::TestCase | the result for the current run. |
|
| Methods | |
| Name | Comment |
procA {}
| |
procB {}
| |
procC {}
| |
procD {}
| |
testDebug {}
| |
testError {}
| |
testStackTrace {}
| |
| Methods from ::xotcl::Object |
#, ., ?, ?code, ?methods, ?object, abstract, copy, coverageFilter, defaultmethod, extractConfigureArg, filterappend, garbageCollect, get#, getClean#, hasclass, init, methodTag, mixinappend, move, profileFilter, self, setParameterDefaults, shell, tclcmd, traceFilter,
|
| Instproc Detail |
::xox::test::TestDebugging instproc procA {} {
my procB
}
::xox::test::TestDebugging instproc procB {} {
my procC
}
::xox::test::TestDebugging instproc procC {} {
my procD
}
::xox::test::TestDebugging instproc procD {} {
set object [ Object new ]
puts [ $object stackTrace ]
}
::xox::test::TestDebugging instproc testDebug {} {
set object [ Object new ]
$object debug debug
}
::xox::test::TestDebugging instproc testError {} {
if [ catch {
error A
} ] {
puts [ my stackTrace ]
}
#set object [ Object new ]
#puts [ $object stackTrace ]
}
::xox::test::TestDebugging instproc testStackTrace {} {
set object [ Object new ]
$object debug debug
my procA
}