>># 
>># 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: qrytr.m,v 1.9 92/06/11 16:13:48 rws Exp $
>># 
>>#      SCCS:  @(#)  EWin.mc Rel 1.4	    (7/19/91)
>>#
>>TITLE XQueryTree CH04
>>ASSERTION A XQueryTree-1
A successful call to XQueryTree returns non-zero, the root
window ID in root_return, the parent window of the
specified window w in parent_return, a pointer to the list
of children windows of specified window w in children_return,
and the number of children in the list for the specified
window w in nchildren_return.
>>STRATEGY
Create a window hierarchy.
Call XQueryTree to query the window tree.
Verify that the root window, parent window, number of children and
	the children array were returned as expected.
>>ASSERTION A XQueryTree-2
A call to XQueryTree returns the child windows of the
specified window w in children_return in current stacking
order from bottommost first to topmost last.
>>STRATEGY
Create a window hierarchy.
Call XQueryTree to query the window tree.
Verify that the children array was returned as expected.
>>ASSERTION A XQueryTree-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.
