Attachment "tests.output" to
ticket [561647ff]
added by
mdejong
2002-05-29 05:35:04.
% source wm.test
==== wm-deiconify-1.4 usage FAILED
==== Contents of test case:
catch {destroy .embed}
frame .t.f -container 1
toplevel .embed -use [winfo id .t.f]
set result [list [catch {wm deiconify .embed} msg] $msg]
destroy .t.f .embed
set result
---- Result was:
0 {}
---- Result should have been (exact matching):
1 {can't deiconify .embed: it is an embedded window}
==== wm-deiconify-1.4 FAILED
==== wm-iconify-2.4 Misc errors FAILED
==== Contents of test case:
catch {destroy .t2}
frame .t.f -container 1
toplevel .t2 -use [winfo id .t.f]
set result [list [catch {wm iconify .t2} msg] $msg]
destroy .t2 .r.f
set result
---- Result was:
0 {}
---- Result should have been (exact matching):
1 {can't iconify .t2: it is an embedded window}
==== wm-iconify-2.4 FAILED
==== wm-withdraw-3.1 FAILED
==== Contents of test case:
set result {}
wm withdraw .t
lappend result [wm state .t] [winfo ismapped .t]
wm deiconify .t
lappend result [wm state .t] [winfo ismapped .t]
---- Result was:
withdrawn 0 normal 0
---- Result should have been (exact matching):
withdrawn 0 normal 1
==== wm-withdraw-3.1 FAILED