tclxmlutils.tcl

Go to the documentation of this file.
00001 /*  tclxmlutils.tcl --*/
00002 /* */
00003 /*  This script prepares the testing environment for TclXML.*/
00004 /* */
00005 /*  Copyright (c) 2008 Explain*/
00006 /*  http://www.explain.com.au/*/
00007 /*  Copyright (c) 2003 Zveno Pty Ltd.*/
00008 /* */
00009 /*  $Id: tclxmlutils.tcl,v 1.2 2003/12/03 20:06:37 balls Exp $*/
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 

Generated on 21 Sep 2010 for Gui by  doxygen 1.6.1