diff options
author | dgp <dgp@users.sourceforge.net> | 2002-07-12 21:08:48 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-07-12 21:08:48 (GMT) |
commit | c67bb2bfa2e4f3a9aff167a37f0d2bb6f06b67cc (patch) | |
tree | 324b81919ba9b29c1d80c92b462203c6220febbd /tests/text.test | |
parent | 92b5df1f4c8a5885e387c9f91b89b4ac70d00abd (diff) | |
download | tk-c67bb2bfa2e4f3a9aff167a37f0d2bb6f06b67cc.zip tk-c67bb2bfa2e4f3a9aff167a37f0d2bb6f06b67cc.tar.gz tk-c67bb2bfa2e4f3a9aff167a37f0d2bb6f06b67cc.tar.bz2 |
* Converted several files in the Tk test suite for testing by
tcltest 2.1.
Diffstat (limited to 'tests/text.test')
-rw-r--r-- | tests/text.test | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/text.test b/tests/text.test index a6bfc19..7ae80a0 100644 --- a/tests/text.test +++ b/tests/text.test @@ -6,11 +6,16 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: text.test,v 1.16 2002/06/22 08:21:52 hobbs Exp $ - -if {[lsearch [namespace children] ::tcltest] == -1} { - source [file join [pwd] [file dirname [info script]] defs.tcl] -} +# RCS: @(#) $Id: text.test,v 1.17 2002/07/12 21:08:49 dgp Exp $ + +package require tcltest 2.1 +namespace import -force tcltest::test +namespace import -force tcltest::testsDirectory +namespace import -force tcltest::configure +configure -testdir [file join [pwd] [file dirname [info script]]] +configure -loadfile [file join [testsDirectory] constraints.tcl] +tcltest::loadTestedCommands +eval configure $argv eval destroy [winfo child .] |