From 06cad2c9acc51cefa77a0935d52fde5b3d79691e Mon Sep 17 00:00:00 2001 From: fvogel Date: Sat, 30 May 2015 14:02:36 +0000 Subject: Completed test for bug [1292219fff], regarding MapNotify event this time --- tests/panedwindow.test | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/panedwindow.test b/tests/panedwindow.test index 582aad4..724b40d 100644 --- a/tests/panedwindow.test +++ b/tests/panedwindow.test @@ -2460,7 +2460,7 @@ test panedwindow-26.1 {DestroyPanedWindow} { } set result {} } {} -test panedwindow-26.2 {DestroyPanedWindow, UnmapNotify event is propagated to slaves} { +test panedwindow-26.2 {UnmapNotify and MapNotify events are propagated to slaves} { panedwindow .pw .pw add [button .pw.b] pack .pw @@ -2470,7 +2470,13 @@ test panedwindow-26.2 {DestroyPanedWindow, UnmapNotify event is propagated to sl update lappend result [winfo ismapped .pw.b] lappend result [winfo ismapped .pw] -} {1 0 0} + pack .pw + update + lappend result [winfo ismapped .pw] + lappend result [winfo ismapped .pw.b] + destroy .pw .pw.b + set result +} {1 0 0 1 1} test panedwindow-27.1 {PanedWindowIdentifyCoords} { panedwindow .p -bd 0 -sashwidth 2 -sashpad 2 -- cgit v0.12