summaryrefslogtreecommitdiffstats
path: root/tests/button.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/button.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/button.test')
-rw-r--r--tests/button.test12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/button.test b/tests/button.test
index c60750a..96847c1 100644
--- a/tests/button.test
+++ b/tests/button.test
@@ -11,11 +11,11 @@ package require tcltest 2.2
namespace import ::tcltest::*
eval tcltest::configure $argv
tcltest::loadTestedCommands
-imageInit
-proc bogusTrace args {
- error "trace aborted"
-}
+# Import utility procs for specific functional areas
+testutils import button image
+
+imageInit
test button-1.1 {configuration option: "activebackground" for label} -setup {
label .l -borderwidth 2 -highlightthickness 2 -font {Helvetica -12 bold}
@@ -4007,8 +4007,12 @@ test button-15.3 {Bug [5d991b822e]} {
destroy .b
} {}
+#
+# CLEANUP
+#
imageFinish
+testutils forget button image
cleanupTests
return