>># 
>># 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: cnvrtslctn.m,v 1.5 92/06/11 16:12:31 rws Exp $
>># 
>>#      SCCS:  @(#)  EWin.mc Rel 1.4	    (7/19/91)
>>#      SCCS:  @(#)  EAto.mc Rel 1.6	    (10/4/91)
>>#
>>TITLE XConvertSelection CH04
>>ASSERTION A XConvertSelection-1
When the specified selection has an owner, then a call to
XConvertSelection generates a SelectionRequest event to the
selection owner, with selection, target, property,
requestor, and time arguments passed unchanged as event
structure members.
>>STRATEGY
Create a new client.
Create a window with a selection which it owns on client2.
Call XConvertSelection to convert the selection.
Verify that the correct SelectionNotify event was delivered to client2
Verify no events were delivered to client1.
>>ASSERTION A XConvertSelection-2
When the specified selection has no owner, then a call to
XConvertSelection generates a SelectionNotify event to the
requestor window with selection, target and time arguments
passed unchanged as event structure members, and with
property set to None.
>>STRATEGY
Call XConvertSelection to convert the selection.
Verify that the correct SelectionNotify event was delivered to display.
>>ASSERTION A XConvertSelection-3
The atoms PRIMARY and SECONDARY are predefined selection
atoms.
>>STRATEGY
Obtain the server representation for the PRIMARY and SECONDARY atoms.
Verify that the atoms were defined.
>>ASSERTION A XConvertSelection-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.
>>ASSERTION A XConvertSelection-5
When an atom argument does not name a valid Atom, then a
BadAtom error occurs.
>>STRATEGY
Call test function using a value with the top bits set as the atom argument.
Verify that a BadAtom error occurs.
