>># 
>># 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: kllclnt.m,v 1.5 92/06/11 17:14:54 rws Exp $
>># 
>>#
>>TITLE XKillClient CH07
>>ASSERTION A XKillClient-1
A call to XKillClient forces a close-down of the client
that created the specified resource.
>>STRATEGY
Create a client client1.
Create several resources using client1.
Call XKillClient with one of these resources.
Verify that all client1's resources are destroyed and infer that client1 was
destroyed.
>>ASSERTION A XKillClient-2
When the client that created the resource has already
terminated in either RetainPermanent or RetainTemporary
mode, then all the resources of that client are destroyed.
>>STRATEGY
Create a connection, client1.
Create resources for client1.
Set close-down mode to RetainPermanent.
Close client1 connection with XCloseDisplay.
Check client1 resources still exist.
Call XKillClient with one of the client1 resources.
Verify that all client1 resources are destroyed.
>>ASSERTION A XKillClient-3
When a resource of AllTemporary is specified, then the
resources of all clients that have terminated in
RetainTemporary mode are destroyed.
>>STRATEGY
Open connection client1.
Open connextion client2.
Make resources for both clients.
Set close-down mode of RetainTemporary for both.
Close both clients with XCloseDisplay.
Call XKillClient with ID AllTemporary.
Verify that all clients 1 and 2 resources are destroyed.
>>ASSERTION A XKillClient-4
When the specified resource is not valid, then a BadValue
error occurs.
>>STRATEGY
Get bad id using badwin().
Call XKillClient with this value.
Verify that a BadValue error occurs.
