>># 
>># 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: rcnfgrwmwd.m,v 1.11 92/06/11 17:29:43 rws Exp $
>># 
>>#
>>TITLE XReconfigureWMWindow CH09
>>ASSERTION A XReconfigureWMWindow-1
A call to XReconfigureWMWindow issues a ConfigureWindow
request on the specified top-level window named by the w
argument.
>>STRATEGY
Create a window using XCreateWindow.
Select ConfigureNotify events on the window using XSelectInput with SubstructureNotifyMask.
Generate a ConfigureWindow event on the window using XReconfigureWMWindow.
Verify that the call returned non-zero.
Verify that a single event was generated.
Verify that the event type was ConfigureWindow.
>>ASSERTION A XReconfigureWMWindow-2
When the ConfigureWindow request fails with a BadMatch
error, then a call to XReconfigureWMWindow sends a synthetic
ConfigureRequestEvent to the root of the window specified by
the w argument, with the event containing the same
configuration parameters specified by the values and
valuemask arguments and having a window element of w and a
parent element equal to the receiving root window, using an
event mask of SubstructureRedirectMask|
SubstructureNotifyMask and returns non-zero.
>>STRATEGY
Create a window with XCreateWindow.
Select ConfigureRequest events using XSelectInput with SubstructureNotifyMask.
Call XReconfigureWMWindow using the root window as a sibling and no specified StackMode.
Verify that the call did not return zero.
Verify that one ConfigureRequest event is generated using XNextEvent.
Verify that the event components are correct.

Select ConfigureRequest events using XSelectInput with SubstructureRedirectMask.
Call XReconfigureWMWindow using the root window as a sibling and no specified StackMode.
Verify that the call did not return zero.
Verify that one ConfigureRequest event is generated using XNextEvent.
Verify that the event components are correct.
>>ASSERTION B XReconfigureWMWindow-3
When the ConfigureRequestEvent is not successfully sent,
then a call to XReconfigureWMWindow returns zero.
>>STRATEGY
Report UNTESTED
>>ASSERTION A XReconfigureWMWindow-4
When the value_mask argument contains the bits CWWidth or
CWHeight and either of the width or height components of the
XWindowChanges structure named by the values argument is
zero, then a BadValue error occurs.
>>STRATEGY
Create a window using XCreateWindow.
Configure the window to have a height of zero using XReconfigureWMWindow
Verify that a BadValue error was generated.
Configure the window to have a width of zero using XReconfigureWMWindow
Verify that a BadValue error was generated.
>>ASSERTION A XReconfigureWMWindow-5
When the window argument does not name a valid window, then
a BadWindow error occurs.
>>STRATEGY
Create a bad window by creating and destroying a window.
Call test function using bad window as the window argument.
Verify that a BadWindow error occurs.
