summaryrefslogtreecommitdiffstats
path: root/tests/choosedir.test
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2002-07-14 05:48:45 (GMT)
committerdgp@users.sourceforge.net <dgp>2002-07-14 05:48:45 (GMT)
commit16b031f51f3e9b6b68ed2ba7c240c0e26a8d3393 (patch)
tree506cf7b5383406d4969854b8209566f9c0b690c6 /tests/choosedir.test
parent4b05127a8ece80b228577a1487cb77ebadabb65d (diff)
downloadtk-16b031f51f3e9b6b68ed2ba7c240c0e26a8d3393.zip
tk-16b031f51f3e9b6b68ed2ba7c240c0e26a8d3393.tar.gz
tk-16b031f51f3e9b6b68ed2ba7c240c0e26a8d3393.tar.bz2
* Completed conversion of Tk test suite to use tcltest.
Diffstat (limited to 'tests/choosedir.test')
-rw-r--r--tests/choosedir.test14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/choosedir.test b/tests/choosedir.test
index 6e03266..e8da6a3 100644
--- a/tests/choosedir.test
+++ b/tests/choosedir.test
@@ -5,13 +5,17 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: choosedir.test,v 1.9 2000/04/10 22:43:13 ericm Exp $
+# RCS: @(#) $Id: choosedir.test,v 1.10 2002/07/14 05:48:46 dgp Exp $
#
-if {[lsearch [namespace children] ::tcltest] == -1} {
- package require tcltest
- namespace import -force ::tcltest::*
-}
+package require tcltest 2.1
+namespace import -force tcltest::configure
+namespace import -force tcltest::testsDirectory
+configure -testdir [file join [pwd] [file dirname [info script]]]
+configure -loadfile [file join [testsDirectory] constraints.tcl]
+tcltest::loadTestedCommands
+
+namespace import -force tcltest::makeDirectory
#----------------------------------------------------------------------
#