summaryrefslogtreecommitdiffstats
path: root/tests/winButton.test
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2025-05-23 02:28:37 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2025-05-23 02:28:37 (GMT)
commit25f16a070dd42bc33af26334d2071a81377aee5c (patch)
treef20dcb1268a10aa292953f0ffa965881fefed78b /tests/winButton.test
parente1675428ff056ed7a44fcc26a26dc5adb8e5f9eb (diff)
parentf8e4b115fdb0f0886cd853323937b8ea757fcc21 (diff)
downloadtk-core-tip-716.zip
tk-core-tip-716.tar.gz
tk-core-tip-716.tar.bz2
Merge core-9-0-branchcore-tip-716
Diffstat (limited to 'tests/winButton.test')
-rw-r--r--tests/winButton.test13
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/winButton.test b/tests/winButton.test
index e2107ba..406133a 100644
--- a/tests/winButton.test
+++ b/tests/winButton.test
@@ -12,11 +12,12 @@ package require tcltest 2.2
namespace import ::tcltest::*
tcltest::configure {*}$argv
tcltest::loadTestedCommands
+
+# Import utility procs for specific functional areas
+testutils import button image
+
imageInit
-proc bogusTrace args {
- error "trace aborted"
-}
option clear
# ----------------------------------------------------------------------
@@ -191,9 +192,13 @@ test winbutton-1.9 {TkpComputeButtonGeometry procedure} -constraints win -setup
deleteWindows
} -result {23 33}
-# cleanup
+#
+# CLEANUP
+#
+
imageFinish
deleteWindows
+testutils forget button image
cleanupTests
return