summaryrefslogtreecommitdiffstats
path: root/tests/textWind.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-07-20 21:03:49 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-07-20 21:03:49 (GMT)
commit25306736bbf92ef57062b08f139a36034a9e390c (patch)
tree22c97e330f1f1ccf87e7c23b2b92c0c87ebff2d5 /tests/textWind.test
parent607aef238d641e4203788e4062515f7323f94e4d (diff)
downloadtk-25306736bbf92ef57062b08f139a36034a9e390c.zip
tk-25306736bbf92ef57062b08f139a36034a9e390c.tar.gz
tk-25306736bbf92ef57062b08f139a36034a9e390c.tar.bz2
Completely eradicate proc waitForMap and waitForUnmap in the test suite. The tests stability problem was due to the TkMacOSXHandleMapOrUnmap() approach, now removed.
Diffstat (limited to 'tests/textWind.test')
-rw-r--r--tests/textWind.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/textWind.test b/tests/textWind.test
index b659520..adffbc2 100644
--- a/tests/textWind.test
+++ b/tests/textWind.test
@@ -402,7 +402,7 @@ test textWind-3.6 {EmbWinConfigure procedure} -setup {
.t window create 1.3
updateWidgets
.t window configure 1.3 -window .f
- waitForMap .f
+ updateWidgets
list [catch {.t index .f} msg] $msg [winfo ismapped .f] [.t bbox 1.4]
} -cleanup {
destroy .f
@@ -461,7 +461,7 @@ test textWind-3.11 {EmbWinConfigure procedure} -setup {
button .t.b -text "Hello!"
.t window create 1.4 -window .t.b
.t window create 1.6 -window .t.b
- waitForMap .t.b
+ updateWidgets
.t index .t.b
} -result {1.6}