summaryrefslogtreecommitdiffstats
path: root/tests/winDialog.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/winDialog.test')
-rw-r--r--tests/winDialog.test13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/winDialog.test b/tests/winDialog.test
index 62c1c8a..bebfe08 100644
--- a/tests/winDialog.test
+++ b/tests/winDialog.test
@@ -6,14 +6,13 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# Copyright (c) 1998-1999 ActiveState Corporation.
#
-# RCS: @(#) $Id: winDialog.test,v 1.7 2001/09/21 20:38:18 hobbs Exp $
+# RCS: @(#) $Id: winDialog.test,v 1.8 2002/07/12 13:41:01 dgp Exp $
-if {[lsearch [namespace children] ::tcltest] == -1} {
- source [file join [pwd] [file dirname [info script]] defs.tcl]
-}
-
-set ::tcltest::testConfig(testwinevent) \
- [llength [info commands testwinevent]]
+package require tcltest 2.1
+namespace import -force tcltest::test
+namespace import -force tcltest::testConstraint
+eval tcltest::configure $argv
+testConstraint testwinevent [llength [info commands testwinevent]]
catch {testwinevent debug 1}