tclxmlutils.tcl
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 package require tcltest
00012 tcltest::Option -parser xml {
00013 Selects the XML parser class.
00014 } AcceptAll parser
00015
00016 source [file join [tcltest::workingDirectory] .. testutils.tcl]
00017
00018 eval tcltest::configure $argv
00019
00020 switch -- $tcltest::parser {
00021 xml {
00022 package require xml
00023 switch [xml::parserclass info default] {
00024 libxml2 {
00025 tcltest::testConstraint xml_libxml2 1
00026 }
00027 tcl {
00028 tcltest::testConstraint xml_tcl 1
00029 }
00030 }
00031 }
00032 libxml2 {
00033 tcltest::testConstraint xml_libxml2 1
00034 }
00035 tclparser {
00036 tcltest::testConstraint xml_tcl 1
00037 }
00038 }
00039