>># 
>># 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: gterrrdtbs.m,v 1.7 92/06/11 17:21:46 rws Exp $
>># 
>>#
>>TITLE XGetErrorDatabaseText CH08
>>ASSERTION A XGetErrorDatabaseText-1
A call to XGetErrorDatabaseText returns a string in
buffer_return.
>>STRATEGY
Set each character in buffer_return to non-ASCII NUL.
Set name to "foo".
Set message to "bar".
Call XGetErrorText.
Verify that there exists at least one ASCII NUL
character in buffer_return.
>>ASSERTION A XGetErrorDatabaseText-2
A call to XGetErrorDatabaseText with name set to the string
XProtoError and message set to the string representation of
a protocol error number returns a string terminated with
ASCII NUL in buffer_return.
>>STRATEGY
Set each character in buffer_return to non-ASCII NUL.
Set name to "XProtoError".
Set message to the string representation of BadWindow.
Call XGetErrorText.
Verify that there exists at least one ASCII NUL
character in buffer_return.
>>ASSERTION A XGetErrorDatabaseText-3
A call to XGetErrorDatabaseText with name set to the string
XRequest and message set to the string representation of a
major protocol number returns a string terminated with ASCII
NUL in buffer_return.
>>STRATEGY
Set each character in buffer_return to non-ASCII NUL.
Set name to "XRequest".
Set message to the string representation of X_DestroyWindow.
Call XGetErrorText.
Verify that there exists at least one ASCII NUL
character in buffer_return.
>>ASSERTION D XGetErrorDatabaseText-4
If the implementation supports an error database: The error
message database used is/usr/lib/X11/XErrorDB.
>>STRATEGY
Report UNTESTED
>>ASSERTION B XGetErrorDatabaseText-5
When a call to XGetErrorDatabaseText is made and no string
is found in the error database, then default_string is
returned in buffer_return.
>>STRATEGY
Report UNTESTED
