>># 
>># 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: txtprprtyt.m,v 1.8 92/06/11 17:32:23 rws Exp $
>># 
>>#
>>TITLE XTextPropertyToStringList CH09
>>ASSERTION A XTextPropertyToStringList-1
When the encoding component of the text_prop argument is
STRING and the format component is 8, then a call to
XTextPropertyToStringList returns in the list_string
argument the list of strings representing the null-separated
elements of the XTextProperty structure named by the
text_prop argument, returns in count_return the number of
strings and returns non-zero.
>>STRATEGY
Create an XTextProperty structure.
Extract the strings using XTextPropertyToStringList.
Verify that the call did not return zero.
Verify that the returned string count is correct.
Verify that the returned string list is correct.
>>ASSERTION A XTextPropertyToStringList-2
When the encoding component of the text_prop argument is
not STRING, then a call to XTextPropertyToStringList sets no
return values and returns zero.
>>STRATEGY
Create an XTextProperty structure with encoding component set to XA_WINDOW.
Call XTextPropertyToStringList.
Verify that the call returned zero.
Verify that the list_return argument was not changed.
Verify that the count_return argument was not changed.
>>ASSERTION A XTextPropertyToStringList-3
When the format component of the text_prop argument is not
8, then a call to XTextPropertyToStringList sets no return
values and returns zero.
>>STRATEGY
Create an XTextProperty structure with format component set to 16.
Call XTextPropertyToStringList.
Verify that the call returned zero.
Verify that the list_return argument was not changed.
Verify that the count_return argument was not changed.
>>ASSERTION B XTextPropertyToStringList-4
When insufficient memory is available for the list and its
elements, then a call to XTextPropertyToStringList sets no
return values and returns zero.
>>STRATEGY
Report UNTESTED
