>># 
>># 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: grvtyntfy.m,v 1.8 92/06/11 17:21:38 rws Exp $
>># 
>>#
>>TITLE GravityNotify CH08
>>ASSERTION A GravityNotify-1
When a GravityNotify event is generated, then all clients
having set StructureNotifyMask event mask bits on the moved
window are delivered a GravityNotify event.
>>STRATEGY
Create clients client2 and client3.
Build and create window hierarchy with child having
win-gravity SouthEastGravity.
Select for GravityNotify events using StructureNotifyMask.
Select for GravityNotify events using StructureNotifyMask with client2.
Select for no events with client3.
Generate GravityNotify event.
Verify that a GravityNotify event is delivered.
Verify that a GravityNotify event is delivered to client2.
Verify that no events are delivered to client3.
Verify delivered event structure members.
>>ASSERTION A GravityNotify-2
When a GravityNotify event is generated, then all clients
having set SubstructureNotifyMask event mask bits on the
parent of the moved window are delivered a GravityNotify
event.
>>STRATEGY
Create clients client2 and client3.
Build and create window hierarchy with child having
win-gravity SouthEastGravity.
Select for GravityNotify events using SubstructureNotifyMask.
Select for GravityNotify events using SubstructureNotifyMask with client2.
Select for no events with client3.
Generate GravityNotify event.
Verify that a GravityNotify event is delivered.
Verify that a GravityNotify event is delivered to client2.
Verify that no events are delivered to client3.
Verify delivered event structure members.
>>ASSERTION - GravityNotify-3
When a GravityNotify event is generated, then clients not
having set StructureNotifyMask event mask bits on the moved
window and also not having set SubstructureNotifyMask event
mask bits on the parent of the moved window are not
delivered a GravityNotify event.
