diff options
author | culler <culler> | 2020-07-27 16:27:47 (GMT) |
---|---|---|
committer | culler <culler> | 2020-07-27 16:27:47 (GMT) |
commit | 50092ff480b5a538c303cc781bf30505d4c2ba08 (patch) | |
tree | b02dbbf1709ef6db989d4c47fd3c8442513e1dd6 /tests/pack.test | |
parent | ad4ba7d19aaf93762d9c0c3605c14a5aca7849a6 (diff) | |
parent | 916ea258d01119b9f5e02836ac8a92c4d6c4f520 (diff) | |
download | tk-50092ff480b5a538c303cc781bf30505d4c2ba08.zip tk-50092ff480b5a538c303cc781bf30505d4c2ba08.tar.gz tk-50092ff480b5a538c303cc781bf30505d4c2ba08.tar.bz2 |
Merge 8.6: fix testing and build issues on the various supported versions of macOS.
Diffstat (limited to 'tests/pack.test')
-rw-r--r-- | tests/pack.test | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/tests/pack.test b/tests/pack.test index c65727e..3ca2253 100644 --- a/tests/pack.test +++ b/tests/pack.test @@ -1532,6 +1532,15 @@ test pack-17.2 {PackLostSlaveProc procedure} -setup { pack info .pack.a } -returnCodes error -result {window ".pack.a" isn't packed} +if {[tk windowingsystem] == "win32"} { + proc packUpdate {} { + update + } +} else { + proc packUpdate {} { + } +} + test pack-18.1 {unmap slaves when master unmapped} -constraints { tempNotPc } -setup { @@ -1550,19 +1559,19 @@ test pack-18.1 {unmap slaves when master unmapped} -constraints { eval destroy [winfo child .pack] frame .pack.a -width 100 -height 50 -relief raised -bd 2 pack .pack.a - update + update idletasks set result [winfo ismapped .pack.a] wm iconify .pack - update lappend result [winfo ismapped .pack.a] .pack.a configure -width 200 -height 75 - update + update idletasks lappend result [winfo width .pack.a ] [winfo height .pack.a] \ [winfo ismapped .pack.a] wm deiconify .pack - update + packUpdate lappend result [winfo ismapped .pack.a] } -result {1 0 200 75 0 1} + test pack-18.2 {unmap slaves when master unmapped} -setup { eval destroy [winfo child .pack] } -body { @@ -1575,17 +1584,16 @@ test pack-18.2 {unmap slaves when master unmapped} -setup { frame .pack.b -width 70 -height 30 -relief sunken -bd 2 pack .pack.a pack .pack.b -in .pack.a - update + update idletasks set result [winfo ismapped .pack.b] wm iconify .pack - update lappend result [winfo ismapped .pack.b] .pack.b configure -width 100 -height 30 - update + update idletasks lappend result [winfo width .pack.b ] [winfo height .pack.b] \ [winfo ismapped .pack.b] wm deiconify .pack - update + packUpdate lappend result [winfo ismapped .pack.b] } -result {1 0 100 30 0 1} |