| 
 | ||||||
| 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 | 
|  testIsExceptionException {}
 | |
|  testIsExceptionTclError {}
 | |
| 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 | 
  ::xoexception::test::TestIsException instproc testIsExceptionException {}  {
   
    catch {
        error [ ::xoexception::Error new "Exception" ]
    } result
    ::xotcl::my assertTrue [ ::xoexception::Throwable isThrowable  $result ]
    ::xotcl::my assertEquals [ $result message ]  "Exception"
}
  ::xoexception::test::TestIsException instproc testIsExceptionTclError {}  {
   
    catch {
        error "Simple error"
    } result
    ::xotcl::my assertFalse [ ::xoexception::Throwable isThrowable  $result ]
}