summaryrefslogtreecommitdiffstats
path: root/tests/textWind.test
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2002-07-12 21:08:48 (GMT)
committerdgp@users.sourceforge.net <dgp>2002-07-12 21:08:48 (GMT)
commit811107b012d9e5ea079cf16badeecae50cbc775e (patch)
tree324b81919ba9b29c1d80c92b462203c6220febbd /tests/textWind.test
parentd6221cd8a9e69a5623cba5aab41cbba867c614aa (diff)
downloadtk-811107b012d9e5ea079cf16badeecae50cbc775e.zip
tk-811107b012d9e5ea079cf16badeecae50cbc775e.tar.gz
tk-811107b012d9e5ea079cf16badeecae50cbc775e.tar.bz2
* Converted several files in the Tk test suite for testing by
tcltest 2.1.
Diffstat (limited to 'tests/textWind.test')
-rw-r--r--tests/textWind.test15
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/textWind.test b/tests/textWind.test
index 4e11955..43aefff 100644
--- a/tests/textWind.test
+++ b/tests/textWind.test
@@ -6,11 +6,16 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: textWind.test,v 1.3 1999/04/16 01:51:41 stanton Exp $
-
-if {[lsearch [namespace children] ::tcltest] == -1} {
- source [file join [pwd] [file dirname [info script]] defs.tcl]
-}
+# RCS: @(#) $Id: textWind.test,v 1.4 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
foreach i [winfo child .] {
catch {destroy $i}