summaryrefslogtreecommitdiffstats
path: root/tests/unixButton.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/unixButton.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/unixButton.test')
-rw-r--r--tests/unixButton.test16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/unixButton.test b/tests/unixButton.test
index f77ec73..501e779 100644
--- a/tests/unixButton.test
+++ b/tests/unixButton.test
@@ -9,9 +9,13 @@
# All rights reserved.
package require tcltest 2.2
+namespace import -force tcltest::test
eval tcltest::configure $argv
tcltest::loadTestedCommands
-namespace import -force tcltest::test
+
+# Import utility procs for specific functional areas
+testutils import button image
+
imageInit
# Create entries in the option database to be sure that geometry options
@@ -30,11 +34,6 @@ option add *Radiobutton.borderWidth 2
option add *Radiobutton.highlightThickness 2
option add *Radiobutton.font {Helvetica -12 bold}
-
-proc bogusTrace args {
- error "trace aborted"
-}
-
if {[tk windowingsystem] eq "aqua"} {
set smallIndicator 20
set bigIndicator 20
@@ -258,9 +257,12 @@ test unixbutton-2.1 {disabled coloring check, bug 669595} -constraints {
deleteWindows
} -result 1
+#
+# CLEANUP
+#
-# cleanup
imageFinish
+testutils forget button image
cleanupTests
return