::xox::test
Class TestSimpleXmlNodeWriter

Heritage:
::xotcl::Object
  |
  +--::xox::Node
        |
        +--::xounit::Test
              |
              +--::xounit::Assert
                    |
                    +--::xounit::TestCase
Tested Class:
::xox::SimpleXmlNodeWriter

Class TestSimpleXmlNodeWriter
superclass ::xounit::TestCase,

Variables
NameDefault ValueClassComment
currentTestMethod    ::xounit::TestCase
 name of the currently running test method.
nodeName    ::xox::Node
 
result    ::xounit::TestCase
 the result for the current run.
 
Methods
NameComment
test {}  
   
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

test

Description:
 
Code:
  ::xox::test::TestSimpleXmlNodeWriter instproc test {}  {
   

        set writer [ ::xox::SimpleXmlNodeWriter new ]
        set node [ ::xox::Node new ]

        $node set var value
        $node set other [ Object ::foo ]
        $node set another [ ::xox::Node ::bar ]
        $node set empty ""

        $node createChild snafu ::xox::Node

        set xml [ $writer generateXml $node ]

        my debug $xml

        return
    
}