diff options
author | dgp <dgp@users.sourceforge.net> | 2002-07-13 00:30:24 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-07-13 00:30:24 (GMT) |
commit | 511415799ba6bf2ec3e5d90c57dfbb61da8c6da1 (patch) | |
tree | d8de9e4b9b75ecee4498744836b0d9adee60d3b5 /tests/spinbox.test | |
parent | c67bb2bfa2e4f3a9aff167a37f0d2bb6f06b67cc (diff) | |
download | tk-511415799ba6bf2ec3e5d90c57dfbb61da8c6da1.zip tk-511415799ba6bf2ec3e5d90c57dfbb61da8c6da1.tar.gz tk-511415799ba6bf2ec3e5d90c57dfbb61da8c6da1.tar.bz2 |
* Converted several files in the test suite for testing by
tcltest 2.1.
Diffstat (limited to 'tests/spinbox.test')
-rw-r--r-- | tests/spinbox.test | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/spinbox.test b/tests/spinbox.test index 1a42d06..41ca9f8 100644 --- a/tests/spinbox.test +++ b/tests/spinbox.test @@ -4,11 +4,16 @@ # Copyright (c) 1998-2000 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: spinbox.test,v 1.1 2000/05/29 01:43:15 hobbs Exp $ +# RCS: @(#) $Id: spinbox.test,v 1.2 2002/07/13 00:30:25 dgp Exp $ -if {[lsearch [namespace children] ::tcltest] == -1} { - source [file join [pwd] [file dirname [info script]] defs.tcl] -} +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 foreach i [winfo children .] { destroy $i |