graphicsapitest/graphicssvs/wserv/testdata/GRAPHICS-WSERV-BackedUpWindow-PublicApi.ini
[include]
file1 =\graphics\t_graphics.ini
[backupwin]
name =backupwin
[wingc]
name =wingc
[fbsbmp]
name =fbsbmp
[ws]
name =ws
[wingrp]
name =wingrp
[scrdev]
name =scrdev
[bmputil]
name =bmputil
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-new_command04]
ws =ws
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-CreateContext_command06]
windowgc =wingc
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-new_command08]
ws =ws
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-Construct_command09]
clienthandle =1
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-new_command11]
ws =ws
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-Construct_command12]
displaymode ={default_wserv,display_mode}
handle =2
parent =wingrp
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-SetExtentErr_command13]
size_height =80
size_width =80
point_x =0
point_y =0
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-SetAutoFlush_command16]
newFlushstate =TRUE
expectedFlushstate =FALSE
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-Activate_command18]
device =backupwin
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-SetBrushColor_command19]
color_red =255
color_green =0
color_blue =0
[GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-SetBrushStyle_command20]
brushstyle =ESolidBrush
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0002-0001-new_command04]
ws =ws
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-new_command04]
ws =ws
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-Construct_command05]
clienthandle =1
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-new_command07]
ws =ws
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-WsHandle_command08]
expected =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-Construct_command09]
displaymode ={default_wserv,display_mode}
handle =2
parent =wingrp
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-WsHandle_command10]
expectnot =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-DisplayMode_command11]
expected ={default_wserv,display_mode}
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-AbsPosition_command12]
expected_y =0
expected_x =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-Size_command13]
expected_height =0
expected_width =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-new_command04]
ws =ws
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-Construct_command05]
clienthandle =1
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-new_command07]
ws =ws
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-Construct_command08]
displaymode ={default_wserv,display_mode}
handle =2
parent =wingrp
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-Duplicate_command11]
fbs_bitmap_name =backupwin
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-SizeInPixels_command12]
width =0
height =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-DisplayMode_command13]
displaymode ={default_wserv,display_mode}
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-SetSizeErr_command15]
size_height =80
size_width =80
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-SizeInPixels_command17]
width =80
height =80
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-GetPixel_command18]
point_x =10
point_y =10
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-GetPixel_command19]
point_x =50
point_y =50
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-GetPixel_command20]
point_x =60
point_y =60
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-GetPixel_command21]
point_x =70
point_y =70
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-Duplicate_command03]
fbs_bitmap_name =backupwin
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-New_command04]
bitmap =fbsbmp
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-Begin_command05]
point_x =10
point_y =10
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPixel_command06]
color =15
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPos_command07]
point_x =10
point_y =12
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPixel_command08]
color =240
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPos_command09]
point_x =12
point_y =10
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPixel_command10]
color =3840
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPos_command11]
point_x =12
point_y =12
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPixel_command12]
color =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-checkPixels_command15]
pixel1_x =10
pixel1_y =10
expected1_red =255
expected1_green =255
expected1_blue =255
pixel2_x =10
pixel2_y =12
expected2_red =255
expected2_green =255
expected2_blue =255
pixel3_x =12
pixel3_y =10
expected3_red =255
expected3_green =255
expected3_blue =255
pixel4_x =12
pixel4_y =12
expected4_red =255
expected4_green =255
expected4_blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-Duplicate_command03]
fbs_bitmap_name =backupwin
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-New_command04]
bitmap =fbsbmp
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-Begin_command05]
point_x =10
point_y =10
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPixel_command06]
color =15
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPos_command07]
point_x =10
point_y =12
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPixel_command08]
color =240
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPos_command09]
point_x =12
point_y =10
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPixel_command10]
color =3840
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPos_command11]
point_x =12
point_y =12
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPixel_command12]
color =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-checkPixels_command15]
pixel1_x =10
pixel1_y =10
expected1_red =255
expected1_green =255
expected1_blue =255
pixel2_x =10
pixel2_y =12
expected2_red =255
expected2_green =255
expected2_blue =255
pixel3_x =12
pixel3_y =10
expected3_red =255
expected3_green =255
expected3_blue =255
pixel4_x =12
pixel4_y =12
expected4_red =255
expected4_green =255
expected4_blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-UpdateScreen_command17]
region1_top =0
region1_left =0
region1_bottom =11
region1_right =11
region2_top =11
region2_left =11
region2_bottom =20
region2_right =20
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-Duplicate_command03]
fbs_bitmap_name =backupwin
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-DrawRect_command04]
rect_top =0
rect_left =0
rect_bottom =55
rect_right =55
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command06]
point_x =0
point_y =0
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command07]
point_x =50
point_y =50
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command08]
point_x =60
point_y =60
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command09]
point_x =70
point_y =70
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command13]
point_x =0
point_y =0
red =0
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command14]
point_x =50
point_y =50
red =255
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command15]
point_x =60
point_y =60
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command16]
point_x =70
point_y =70
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-DrawRect_command18]
rect_top =50
rect_left =50
rect_bottom =65
rect_right =65
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command20]
point_x =0
point_y =0
red =0
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command21]
point_x =50
point_y =50
red =255
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command22]
point_x =60
point_y =60
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command23]
point_x =70
point_y =70
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command27]
point_x =0
point_y =0
red =0
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command28]
point_x =50
point_y =50
red =0
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command29]
point_x =60
point_y =60
red =255
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command30]
point_x =70
point_y =70
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-Duplicate_command03]
fbs_bitmap_name =backupwin
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command04]
point_x =0
point_y =0
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command05]
point_x =50
point_y =50
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command06]
point_x =60
point_y =60
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command07]
point_x =70
point_y =70
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-DrawRect_command09]
rect_top =0
rect_left =0
rect_bottom =55
rect_right =55
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command11]
point_x =0
point_y =0
red =0
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command12]
point_x =50
point_y =50
red =255
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command13]
point_x =60
point_y =60
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command14]
point_x =70
point_y =70
red =255
green =255
blue =255
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-DrawRect_command16]
rect_top =50
rect_left =50
rect_bottom =65
rect_right =65
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command18]
point_x =0
point_y =0
red =0
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command19]
point_x =50
point_y =50
red =0
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command20]
point_x =60
point_y =60
red =255
green =0
blue =0
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command21]
point_x =70
point_y =70
red =255
green =255
blue =255
// ****************************************************************************
// Negative testcases of RBackedUpWindow
// ****************************************************************************
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-1004-0001-Construct_command01]
parent =wingrp
displaymode =-1
handle =2
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-1005-0001-Construct_command01]
parent =wingrp
displaymode =10000
handle =2
[GRAPHICS-WSERV-BackedUpWindow-PublicApi-1008-0001-UpdateScreen_command01]
region1_top =0
region1_left =0
region1_bottom =11
region1_right =11
region2_top =11
region2_left =11
region2_bottom =20
region2_right =20