>># 
>># 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: exps.m,v 1.8 92/06/11 17:20:54 rws Exp $
>># 
>>#
>>TITLE Expose CH08
>>ASSERTION A Expose-1
The server does not generate Expose events on windows whose
class is specified as InputOnly.
>>STRATEGY
Create InputOnly window.
Select for Expose and MapNotify events on window.
Map window.
Verify that a MapNotify event was received.
Verify that no Expose events were received.
>>ASSERTION - Expose-2
When no valid contents are available for regions of a
window and the regions are visible, then an Expose event is
generated.
>>ASSERTION B Expose-3
When no valid contents are available for regions of a
window and the regions are viewable but not visible and the
server is maintaining backing store on the window, then an
Expose event is generated.
>>STRATEGY
Report UNTESTED
>>ASSERTION B Expose-4
When no valid contents are available for regions of a
window and the window is not viewable but the server is
honoring the window's backing-store attribute of Always or
WhenMapped, then an Expose event is generated.
>>STRATEGY
Report UNTESTED
>>ASSERTION A Expose-5
When an Expose events are generated, then they are
contiguously delivered by the server.
>>STRATEGY
Build and create window hierarchy.
Choose event window.
Select for Expose events on event window.
Generate Expose events on event window.
Verify that events are contiguously delivered.
>>ASSERTION A Expose-6
When an Expose event is generated, then all clients having
set ExposureMask event mask bits on the event window are
delivered an Expose event.
>>STRATEGY
Create clients client2 and client3.
Build and create window hierarchy.
Choose event window.
Select for Expose events on event window.
Select for Expose events on event window with client2.
Select for no events on event window with client3.
Generate Expose events on event window.
Verify that events are delivered to selecting clients.
Verify that no Expose events are received for client3.
>>ASSERTION - Expose-7
When an Expose event is generated, then clients not having
set ExposureMask event mask bits on the event window are not
delivered an Expose event.
