summaryrefslogtreecommitdiffstats
path: root/tests/textWind.test
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2006-10-17 10:21:48 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2006-10-17 10:21:48 (GMT)
commite58a5fcd90ad9607b9357a1c82417e651ad8ae18 (patch)
treef2e3c2358a8814697991e809019215ff5f2b3659 /tests/textWind.test
parentdf7092fbb134cfbb28d68c0deca1a6241df8ca02 (diff)
downloadtk-e58a5fcd90ad9607b9357a1c82417e651ad8ae18.zip
tk-e58a5fcd90ad9607b9357a1c82417e651ad8ae18.tar.gz
tk-e58a5fcd90ad9607b9357a1c82417e651ad8ae18.tar.bz2
generic/tkText.c: Applied suggested patch from #1536735
tests/text.test: Update test for above patch. tests/textWind.test: Corrected test to catch all messages tests/safe.test: Silence spurious win32 failure awaiting TIP150 tests/winDialog.test: Updated test for file name length check. test/winWm.test: Corrected test expectation for menu wrapping.
Diffstat (limited to 'tests/textWind.test')
-rw-r--r--tests/textWind.test12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/textWind.test b/tests/textWind.test
index 1044cfe..b6739c2 100644
--- a/tests/textWind.test
+++ b/tests/textWind.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: textWind.test,v 1.21 2006/04/05 20:57:08 hobbs Exp $
+# RCS: @(#) $Id: textWind.test,v 1.22 2006/10/17 10:21:50 patthoyts Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -446,11 +446,13 @@ test textWind-10.4 {EmbWinLayoutProc procedure, error in creating window} {textf
.t delete 1.0 end
.t insert 1.0 "Some sample text"
catch {destroy .t.f}
- .t window create 1.5 -create {
- frame .t.f
- frame .t.f.f -width 10 -height 20 -bg $color
- }
set msg {}
+ after idle {
+ .t window create 1.5 -create {
+ frame .t.f
+ frame .t.f.f -width 10 -height 20 -bg $color
+ }
+ }
set count 0
while {([llength $msg] < 2) && ($count < 100)} {
update ; incr count; .t bbox 1.5 ; after 10