>># 
>># 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: gttrnsntfr.m,v 1.7 92/06/11 17:28:21 rws Exp $
>># 
>>#      SCCS:  @(#)  EWin.mc Rel 1.4	    (7/19/91)
>>#
>>TITLE XGetTransientForHint CH09
>>ASSERTION A XGetTransientForHint-1
When the WM_TRANSIENT_FOR property is set for the window w,
and is format 32, length 1 element and of type WINDOW, then
a call to XGetTransientForHint returns the property value in
the prop_window_return argument and returns non-zero.
>>STRATEGY
Create a window with XCreateWindow.
Set the WM_TRANSIENT_FOR property using XSetTransientForHint.
Obtain the value of the WM_TRANSIENT_FOR property using XGetTransientForHint.
Verify that the call did not return False.
Verify that the value was correct.
>>ASSERTION A XGetTransientForHint-2
When the WM_TRANSIENT_FOR property is not set for the
window w, or is format other than 32, length < 1 element or
of type other than WINDOW, then a call to
XGetTransientForHint returns zero.
>>STRATEGY
Create a window with XCreateWindow.
Obtain the value of the unset WM_TRANSIENT_FOR property with XGetWMHints.
Verify that the call returned False.

Create a window with XCreateWindow.
Set the WM_TRANSIENT_FOR property with format 16 and type WINDOW and size 1 using XChangeProperty.
Obtain the value of the WM_TRANSIENT_FOR property with XGetWMHints.
Verify that the call returned False.

Create a window with XCreateWindow.
Set the WM_TRANSIENT_FOR property with format 32 type STRING and size 1 using XChangeProperty.
Obtain the value of the WM_TRANSIENT_FOR property with XGetWMHints.
Verify that the call returned False.

Create a window with XCreateWindow.
Set the WM_TRANSIENT_FOR property with format 32 type WINDOW and size 0 using XChangeProperty.
Obtain the value of the WM_TRANSIENT_FOR property with XGetWMHints.
Verify that the call returned False.
>>ASSERTION A XGetTransientForHint-3
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.
