summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2014-12-03 06:47:02 (GMT)
committerfvogel <fvogel@noemail.net>2014-12-03 06:47:02 (GMT)
commit1a60da0c33039c8b9f6a43ac435da7f4dc660623 (patch)
tree3d77a7a67ca8e8ffe92c94257621fd042f97c9f3
parentc81c0a61f51e8bb90a928831806e401ceb1e5c93 (diff)
downloadtk-1a60da0c33039c8b9f6a43ac435da7f4dc660623.zip
tk-1a60da0c33039c8b9f6a43ac435da7f4dc660623.tar.gz
tk-1a60da0c33039c8b9f6a43ac435da7f4dc660623.tar.bz2
Fixed embedded windows tests that were failing following
FossilOrigin-Name: 13d2fcd25d225c268e328fea7da1c7e70503a3d5
-rw-r--r--tests/textWind.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/textWind.test b/tests/textWind.test
index 79dca50..23a9e71 100644
--- a/tests/textWind.test
+++ b/tests/textWind.test
@@ -461,6 +461,7 @@ test textWind-10.4.1 {EmbWinLayoutProc procedure, error in creating window} {tex
.t delete 1.0 end
.t insert 1.0 "Some sample text"
catch {destroy .t.f}
+ update
.t window create 1.5 -create {
frame .t.f
frame .t.f.f -width 10 -height 20 -bg $color
@@ -473,6 +474,7 @@ catch {destroy .t.f}
test textWind-10.5 {EmbWinLayoutProc procedure, error in creating window} {textfonts} {
.t delete 1.0 end
.t insert 1.0 "Some sample text"
+ update
.t window create 1.5 -create {
concat .t
}
@@ -484,6 +486,7 @@ test textWind-10.6 {EmbWinLayoutProc procedure, error in creating window} {textf
.t delete 1.0 end
.t insert 1.0 "Some sample text"
catch {destroy .t2}
+ update
.t window create 1.5 -create {
toplevel .t2 -width 100 -height 150
wm geom .t2 +0+0
@@ -497,6 +500,7 @@ test textWind-10.6.1 {EmbWinLayoutProc procedure, error in creating window} {
.t delete 1.0 end
.t insert 1.0 "Some sample text"
catch {destroy .t2}
+ update
.t window create 1.5 -create {
toplevel .t2 -width 100 -height 150
wm geom .t2 +0+0
@@ -595,6 +599,8 @@ test textWind-11.2 {EmbWinDisplayProc procedure, geometry transforms} {
.t insert 1.0 "Some sample text"
pack forget .t
place .t -x 30 -y 50
+ catch {destroy .t.f}
+ update
frame .t.f -width 30 -height 20 -bg $color
.t window create 1.12 -window .t.f
update