>># 
>># 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: gtwmclrmpw.m,v 1.8 92/06/11 17:28:43 rws Exp $
>># 
>>#      SCCS:  @(#)  EWin.mc Rel 1.4	    (7/19/91)
>>#
>>TITLE XGetWMColormapWindows CH09
>>ASSERTION A XGetWMColormapWindows-1
When the WM_COLORMAP_WINDOWS property is set on the window
w, the property is of type WINDOW, and is of format 32,
then a call to XGetWMColormapWindows returns the list of
window identifiers stored in the property, which can be
freed with XFree, in the colormap_windows_return argument
and the number of windows in the count_return argument and
returns non-zero.
>>STRATEGY
Create a window using XCreateWindow.
Set the WM_COLORMAP_WINDOWS property using XSetWMColormapWindows.
Obtain the WM_COLORMAP_WINDOWS property using XGetWMColormapWindows.
Verify that the call did not return False.
Verify that the value of the property is correct.
Release the allocated memory using XFree.
>>ASSERTION B XGetWMColormapWindows-2
When the atom name (lqWM_COLORMAP_WINDOWS(rq cannot be
interned, then a call to XGetWMColormapWindows does not set
the colormap_windows_return or count_return arguments and
returns zero.
>>STRATEGY
Report UNTESTED
>>ASSERTION A XGetWMColormapWindows-3
When the WM_COLORMAP_WINDOWS property is not set on the
window w, or is not of type WINDOW, or is not of format 32,
then a call to XGetWMColormapWindows does not set the
colormap_windows_return or count_return arguments and
returns zero.
>>STRATEGY
Create a window with XCreateWindow.
Insure that the name "WM_COLOMAP_WINDOWS" is interned using XSetWMColormapWindows.
Obtain the WM_COLORMAP_WINDOWS atom using XInternAtom.

Create a window with XCreateWindow.
Initialise the colormap_windows_return and count_return arguments.
Obtain the value of the WM_COLORMAP_WINDOWS property with XGetWMColormapWindows.
Verify that the call returned False.
Verify that colormap_windows_return and count_return arguments were unchanged.

Create a window with XCreateWindow.
Set the WM_COLORMAP_WINDOWS property with format 8 and type WINDOW using XChangeProperty.
Initialise the colormap_windows_return and count_return arguments.
Obtain the value of the WM_COLORMAP_WINDOWS property with XGetWMColormapWindows.
Verify that the call returned False.
Verify that colormap_windows_return and count_return arguments were unchanged.

Create a window with XCreateWindow.
Initialise the colormap_windows_return and count_return arguments.
Set the WM_COLORMAP_WINDOWS property with format 32 type ATOM using XChangeProperty.
Obtain the value of the WM_COLORMAP_WINDOWS property with XGetWMColormapWindows.
Verify that the call returned False.
Verify that colormap_windows_return and count_return arguments were unchanged.

>>ASSERTION A XGetWMColormapWindows-4
When a 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.
