summaryrefslogtreecommitdiff
path: root/itcl/itk/tests/privacy.test
diff options
context:
space:
mode:
Diffstat (limited to 'itcl/itk/tests/privacy.test')
-rw-r--r--itcl/itk/tests/privacy.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/itcl/itk/tests/privacy.test b/itcl/itk/tests/privacy.test
index 19ce700fd44..a3cfe533aa9 100644
--- a/itcl/itk/tests/privacy.test
+++ b/itcl/itk/tests/privacy.test
@@ -13,8 +13,13 @@
# See the file "license.terms" for information on usage and
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+package require tcltest
+namespace import -force ::tcltest::*
+
if {[string compare test [info procs test]] == 1} then {source defs}
+package require Itk
+
# ----------------------------------------------------------------------
# Define a base class with public variables and a simple mega-widget
# ----------------------------------------------------------------------
@@ -92,3 +97,6 @@ test privacy-1.7 {components are visible depending on namespace context} {
# Clean up
# ----------------------------------------------------------------------
itcl::delete class TestPrivacy TestMorePrivacy
+
+::tcltest::cleanupTests
+exit