summaryrefslogtreecommitdiffstats
path: root/tests/choosedir.test
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2002-07-14 05:48:45 (GMT)
committerdgp <dgp@noemail.net>2002-07-14 05:48:45 (GMT)
commit4c1656ba1ffc46714225f3398cd9f1ca89c847c2 (patch)
tree506cf7b5383406d4969854b8209566f9c0b690c6 /tests/choosedir.test
parent701540fb99eaeea087e645b17d7b77ff54d494db (diff)
downloadtk-4c1656ba1ffc46714225f3398cd9f1ca89c847c2.zip
tk-4c1656ba1ffc46714225f3398cd9f1ca89c847c2.tar.gz
tk-4c1656ba1ffc46714225f3398cd9f1ca89c847c2.tar.bz2
* Completed conversion of Tk test suite to use tcltest.
FossilOrigin-Name: c483179b915e863450b867189ddfab962971936a
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
#----------------------------------------------------------------------
#