>>*
>>* asserts
>>*
>>* Copyright (c) 2005 Intel Corporation
>>* All rights reserved except as granted by this License.
>>*
>>* This program is free software; you can redistribute it and/or modify
>>* it under the terms of the "Artistic License" which comes with this
>>* Kit, with the following modification:
>>* a) "executable(s)" should be interpreted to include
>>* "test case(s)"
>>* b) if you wish to make changes as defined in clause 2 and 3, and
>>* distribute a modified version of this package, then
>>* clauses 3c and 4c are required
>>* c) Clause 7 is rephrased as follows: "Subroutines supplied by you
>>* and linked into this Package shall not be considered part of this
>>* Package".
>>*
>>*
>>* Intel Corporation DISCLAIMS ALL WARRANTIES
>>* WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
>>* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL X/OPEN OR IBM CORP. BE
>>* LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
>>* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
>>* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
>>* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
>>*
>>* You should have received a copy of the Artistic License with this
>>* Kit, in the file named "Artistic".  If not, we'll be glad to provide one.
>>*
>>TITLE	XeviGetVisualInfo	CHEVI
>>ASSERTION Good XeviGetVisualInfo-1
With the exception of XeviQueryExtension, if any of these routines are called 
with a display that does not support the extension, the ExtensionErrorHandler 
(which can be set with XSetExtensionErrorHandler and functions the same way as 
XSetErrorHandler) will be called and the function will then return.

n;
>>STRATEGY
Open the display
If the display supports the EVI extension
	- munge the structure so it appears the extension is not supported
End
Call the XeviGetVisualInfo function and verify error handling
Close the Display
>>ASSERTION Good XeviGetVisualInfo-2
XeviGetVisualInfo returns a list of ExtendedVisualInfo structures that describe 
visual information beyond that supported by the core protocol
>>STRATEGY
>> Given the restirections, noted above, this test does not really do anything.
>>ASSERTION Good XeviGetVisualInfo-3
XeviGetVisualInfo returns Success if successful, or an X error otherwise
>>STRATEGY
Open the display
If the display supports the XEVI extension
	Call the GetVisualInfo function, which should succeed
	Verify the count and evi_return match
	free evi_return
End
Close Display
>>ASSERTION Good XeviGetVisualInfo-4
If the argument visual is NULL, then information for all visuals of all 
screens is returned. Otherwise, it's a pointer to a list of visuals for which 
extended visual information is desired
>>STRATEGY
Open the display
Validate the array of <evi_return> matches the count in <n_info_return>

Call GetVisualInfo with a valid <*visual>
Validate the results
Close the Display
>>ASSERTION Good XeviGetVisualInfo-5
XeviGetVisualInfo will return BadValue if passed an illegal visual ID, 
BadAccess if the X server does not respond, BadAlloc if there is a memory 
allocation failure.
>>STRATEGY
Call GetVisualInfo with an invalid <*visual>
Validate the error handling
Close the Display
