>># 
>># Copyright 1990, 1991 by the Massachusetts Institute of Technology and
>># UniSoft Group Limited.
>># 
>># Permission to use, copy, modify, distribute, and sell this software and
>># its documentation for any purpose is hereby granted without fee,
>># provided that the above copyright notice appear in all copies and that
>># both that copyright notice and this permission notice appear in
>># supporting documentation, and that the names of MIT and UniSoft not be
>># used in advertising or publicity pertaining to distribution of the
>># software without specific, written prior permission.  MIT and UniSoft
>># make no representations about the suitability of this software for any
>># purpose.  It is provided "as is" without express or implied warranty.
>># 
>># $XConsortium: kympntfy.m,v 1.9 92/06/11 17:22:17 rws Exp $
>># 
>>#
>>TITLE KeymapNotify CH08
>>ASSERTION A KeymapNotify-1
When a EnterNotify event is generated, then a KeymapNotify
event is generated immediately afterwards.
>>STRATEGY
Move pointer to known location.
Build and create window hierarchy.
Select for EnterNotify and KeymapNotify events on window hierarchy.
Move cursor into hierarchy window.
Get events from event queue.
Verify that EnterNotify events are delivered.
Verify that a KeymapNotify event follows each of these EnterNotify events.
Repeat.
>>ASSERTION A KeymapNotify-2
When a FocusIn event is generated, then a KeymapNotify
event is generated immediately afterwards.
>>STRATEGY
Move pointer to known location.
Build and create window hierarchy.
Select for FocusIn and KeymapNotify events on window hierarchy.
Generate FocusIn event.
Get events from event queue.
Verify that FocusIn events are delivered.
Verify that a KeymapNotify event follows each of these FocusIn events.
Repeat.
>>ASSERTION A KeymapNotify-3
When a KeymapNotify event is generated, then all clients
having set KeymapStateMask event mask bits on the event
window are delivered a KeymapNotify event.
>>STRATEGY
Move pointer to known location.
Create clients client2 and client3.
Build and create window hierarchy.
Select for KeymapNotify and EnterNotify events on eventw.
Select for KeymapNotify and EnterNotify events on eventw with client2.
Select for no events on eventw with client3.
Generate KeymapNotify event.
Initialize for expected events.
Harvest events from each clients event queue.
Verify that KeymapNotify event was received.
Verify that KeymapNotify event was received by client2.
Verify that no event was received by client3.
>>ASSERTION - KeymapNotify-4
When a KeymapNotify event is generated, then clients not
having set KeymapStateMask event mask bits on the event
window are not delivered a KeymapNotify event.
