>># $Header: /usr4/cvs/vsw5/tset/Xopen/crtfntcrsr/asserts,v 8.0 1998/12/23 23:35:29 mar Rel $
>># 
>># Project: VSW5
>># 
>># File: vsw5/tset/Xopen/crtfntcrsr/asserts
>># 
>># Description:
>># 	Assertions for XCreateFontCursor()
>># 
>># Modifications:
>># $Log: asserts,v $
>># Revision 8.0  1998/12/23 23:35:29  mar
>># Branch point for Release 5.0.2
>>#
>># Revision 7.0  1998/10/30 22:57:58  mar
>># Branch point for Release 5.0.2b1
>>#
>># Revision 6.0  1998/03/02 05:26:43  tbr
>># Branch point for Release 5.0.1
>>#
>># Revision 5.0  1998/01/26 03:23:17  tbr
>># Branch point for Release 5.0.1b1
>>#
>># Revision 4.0  1995/12/15 09:13:24  tbr
>># Branch point for Release 5.0.0
>>#
>># Revision 3.1  1995/12/15  01:16:36  andy
>># Prepare for GA Release
>>#
>># 
>># 
>># 
>># 
>># 
>># 
>>TITLE XCreateFontCursor Xopen
>>ASSERTION A XCreateFontCursor-1
When the shape argument is XC_X_cursor, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_X_cursor.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-2
When the shape argument is XC_bottom_left_corner, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_bottom_left_corner.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-3
When the shape argument is XC_bottom_right_corner, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_bottom_right_corner.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-4
When the shape argument is XC_top_left_corner, then a call
to XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_top_left_corner.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-5
When the shape argument is XC_top_right_corner, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_top_right_corner.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-6
When the shape argument is XC_arrow, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-7
When the shape argument is XC_based_arrow_down, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_based_arrow_down.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-8
When the shape argument is XC_based_arrow_up, then a call
to XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_based_arrow_up.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-9
When the shape argument is XC_double_arrow, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_double_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-10
When the shape argument is XC_question_arrow, then a call
to XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_question_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-11
When the shape argument is XC_sb_h_double_arrow, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_sb_h_double_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-12
When the shape argument is XC_sb_v_double_arrow, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_sb_v_double_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-13
When the shape argument is XC_top_left_arrow, then a call
to XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_top_left_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-14
When the shape argument is XC_bottom_tee, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_bottom_tee.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-15
When the shape argument is XC_left_tee, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_left_tee.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-16
When the shape argument is XC_right_tee, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_right_tee.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-17
When the shape argument is XC_top_tee, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_top_tee.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-18
When the shape argument is XC_bottom_side, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_bottom_side.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-19
When the shape argument is XC_left_side, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_left_side.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-20
When the shape argument is XC_right_side, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_right_side.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-21
When the shape argument is XC_top_side, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_top_side.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-22
When the shape argument is XC_ll_angle, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_ll_angle.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-23
When the shape argument is XC_lr_angle, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_lr_angle.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-24
When the shape argument is XC_ul_angle, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_ul_angle.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-25
When the shape argument is XC_ur_angle, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_ur_angle.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-26
When the shape argument is XC_circle, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_circle.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-27
When the shape argument is XC_cross, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_cross.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-28
When the shape argument is XC_crosshair, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_crosshair.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-29
When the shape argument is XC_center_ptr, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_center_ptr.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-30
When the shape argument is XC_left_ptr, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_left_ptr.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-31
When the shape argument is XC_right_ptr, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_right_ptr.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
