--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphicsapitest/graphicssvs/bitgdi/testdata/GRAPHICS-BITGDI-FbsScreenDevice-PublicAPI.ini Tue Feb 02 01:47:50 2010 +0200
@@ -0,0 +1,603 @@
+[include]
+file1=\graphics\t_graphics.ini
+
+[fbsscrdev]
+name =FbsScrDev
+
+[fbsscrdev1]
+name =FbsScrDev1
+
+[fbsscrdev2]
+name =FbsScrDev2
+
+[rfbssession]
+name =RFbsSession
+
+[fbsbitgc]
+name =CFbsBitGc
+
+[palette]
+name =Palette
+
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0001-NewL_command03]
+libname =testlib
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0002-NewL_command03]
+libname =testlib
+displaymode =100
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0003-NewL_command03]
+libname =testlib
+displaymode ={default_bitgdi, displaymode}
+rgb_red =0
+rgb_green =0
+rgb_blue =0
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0004-NewL_command03]
+libname =testlib
+displaymode =100
+rgb_red =0
+rgb_green =0
+rgb_blue =0
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0005-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0006-NewL_command03]
+screen_number =100
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0007-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode =100
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0008-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0009-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0010-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0010-Activate_command05]
+device =fbsscrdev
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0010-DrawLine_command07]
+point1_x =20
+point1_y =20
+point2_x =60
+point2_y =60
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0010-checkPixels_command09]
+pixel1_x=20
+pixel1_y=20
+expected1_red=0
+expected1_green=0
+expected1_blue=0
+pixel2_x=40
+pixel2_y=40
+expected2_red=0
+expected2_green=0
+expected2_blue=0
+pixel3_x=59
+pixel3_y=59
+expected3_red=0
+expected3_green=0
+expected3_blue=0
+
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0011-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0011-Activate_command05]
+device =fbsscrdev
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0011-DrawLine_command07]
+point1_x =20
+point1_y =20
+point2_x =60
+point2_y =60
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0011-Update_command08]
+region1_top =20
+region1_left =20
+region1_bottom =70
+region1_right =70
+region2_top =30
+region2_left =30
+region2_bottom =80
+region2_right =80
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0011-checkPixels_command09]
+pixel1_x=20
+pixel1_y=20
+expected1_red=0
+expected1_green=0
+expected1_blue=0
+pixel2_x=40
+pixel2_y=40
+expected2_red=0
+expected2_green=0
+expected2_blue=0
+pixel3_x=59
+pixel3_y=59
+expected3_red=0
+expected3_green=0
+expected3_blue=0
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0012-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0012-Activate_command05]
+device =fbsscrdev
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0012-SetAutoUpdate_command06]
+autoupdate =EFalse
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0012-SetPenColor_command08]
+color_red=0
+color_green=0
+color_blue=0
+
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0012-DrawLine_command09]
+point1_x =50
+point1_y =20
+point2_x =56
+point2_y =20
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0012-checkPixels_command10]
+pixel1_x=50
+pixel1_y=20
+expected1_red=0
+expected1_green=0
+expected1_blue=0
+pixel2_x=53
+pixel2_y=20
+expected2_red=0
+expected2_green=0
+expected2_blue=0
+pixel3_x=54
+pixel3_y=20
+expected3_red=0
+expected3_green=0
+expected3_blue=0
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0012-checkPixels_command12]
+pixel1_x=52
+pixel1_y=20
+expected1_red=0
+expected1_green=0
+expected1_blue=0
+pixel2_x=53
+pixel2_y=20
+expected2_red=0
+expected2_green=0
+expected2_blue=0
+pixel3_x=54
+pixel3_y=20
+expected3_red=0
+expected3_green=0
+expected3_blue=0
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0013-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0013-Activate_command05]
+device =fbsscrdev
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0013-SetAutoUpdate_command06]
+autoupdate =ETrue
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0013-DrawLine_command07]
+point1_x =20
+point1_y =20
+point2_x =50
+point2_y =60
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0013-checkPixels_command08]
+pixel1_x=20
+pixel1_y=20
+expected1_red=0
+expected1_green=0
+expected1_blue=0
+pixel2_x=35
+pixel2_y=40
+expected2_red=0
+expected2_green=0
+expected2_blue=0
+pixel3_x=50
+pixel3_y=60
+expected1_red=0
+expected1_green=0
+expected1_blue=0
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0014-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0015-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0015-NewL_command04]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0015-ChangeScreenDevice_command05]
+FbsScrDevName =fbsscrdev1
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0016-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0016-ChangeScreenDevice_command04]
+FbsScrDevName =fbsscrdev1
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0017-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0017-ChangeScreenDevice_command04]
+FbsScrDevName =fbsscrdev
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0018-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0019-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0019-GetPixel_command04]
+expected_red=255
+expected_green=255
+expected_blue=255
+point_x=1
+point_y=1
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0020-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+#GetPixel() test for negative x-coordinate
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0020-GetPixel_command04]
+point_x=-1
+point_y=0
+red=255
+green=255
+blue=255
+#GetPixel() test for negative y-coordinate
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0020-GetPixel_command05]
+point_x=0
+point_y=-1
+red=255
+green=255
+blue=255
+#GetPixel() test for negative x- and y-coordinate
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0020-GetPixel_command06]
+point_x=-1
+point_y=-1
+red=255
+green=255
+blue=255
+#GetPixel() test for too big x-coordinate
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0020-GetPixel_command07]
+point_x=10000
+point_y=0
+red=255
+green=255
+blue=255
+#GetPixel() test for too big y-coordinate
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0020-GetPixel_command08]
+point_x=0
+point_y=10000
+red=255
+green=255
+blue=255
+#GetPixel() test for too big x- and y-coordinate
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0020-GetPixel_command09]
+point_x=10000
+point_y=10000
+red=255
+green=255
+blue=255
+#End of datum definition
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0021-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-WSERV-WsScreenDevice-PublicApi-0021-HorizontalPixelsToTwips_command04]
+pixels={default_wserv, scr_width}
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0022-new_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0022-HorizontalPixelsToTwips_command04]
+pixels ={device_map, horizontal_pixels_5}
+//expected ={device_map, horizontal_twips_5}
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0022-HorizontalPixelsToTwips_command05]
+pixels =0
+expected =0
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0022-HorizontalPixelsToTwips_command06]
+pixels ={device_map, horizontal_pixels_6}
+//expected ={device_map, horizontal_twips_6}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0023-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-WSERV-WsScreenDevice-PublicApi-0023-VerticalPixelsToTwips_command04]
+pixels={default_wserv, scr_height}
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0024-new_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0024-VerticalPixelsToTwips_command04]
+pixels={device_map, vertical_pixels_5}
+//expected={device_map, vertical_twips_5}
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0024-VerticalPixelsToTwips_command05]
+pixels=0
+expected=0
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0024-VerticalPixelsToTwips_command06]
+pixels={device_map, vertical_pixels_6}
+//expected={device_map, vertical_twips_6}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0025-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0025-HorizontalTwipsToPixels_command04]
+twips={default_wserv, scr_twips_width}
+
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0026-new_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0026-HorizontalTwipsToPixels_command04]
+twips ={device_map, horizontal_twips_7}
+//expected ={device_map, horizontal_pixels_7}
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0026-HorizontalTwipsToPixels_command05]
+twips =0
+expected =0
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0026-HorizontalTwipsToPixels_command06]
+twips={device_map, horizontal_twips_8}
+//expected={device_map, horizontal_pixels_8}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0027-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0027-VerticalTwipsToPixels_command04]
+twips={default_wserv, scr_twips_height}
+
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0028-new_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0028-VerticalTwipsToPixels_command04]
+twips ={device_map, vertical_twips_7}
+//expected ={device_map, vertical_pixels_7}
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0028-VerticalTwipsToPixels_command05]
+twips =0
+expected =0
+
+[GRAPHICS-BitGDI-CFbsScreenDevice-PublicApi-0028-VerticalTwipsToPixels_command06]
+twips ={device_map, vertical_twips_8}
+//expected ={device_map, vertical_pixels_8}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0029-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0029-Activate_command05]
+device =fbsscrdev
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0029-DrawLine_command06]
+point1_x =25
+point1_y =25
+point2_x =45
+point2_y =25
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0029-GetScanLine_command08]
+point_x =25
+point_y =25
+length =50
+buff_length =500
+displaymode ={default_wserv, display_mode}
+#for checking scanline which is got. Below is optional.
+checkScanLine =true
+size_width =1
+size_height =1
+displaymode ={default_wserv, display_mode}
+scanline_y =1
+checkPointNum =3
+point1_x =1
+expected_point1_red =0
+expected_point1_blue =0
+expected_point1_green =0
+point2_x =25
+expected_point2_red =0
+expected_point2_blue =0
+expected_point2_green =0
+point3_x =49
+expected_point3_red =0
+expected_point3_blue =0
+expected_point3_green =0
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0030-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0030-GetScanLine_command04]
+point_x=1
+point_y=1
+length=50
+buff_length=0
+displaymode={default_wserv, display_mode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0031-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0031-GetScanLine_command04]
+point_x=1
+point_y=1
+length=0
+buff_length=500
+displaymode={default_wserv, display_mode}
+displaymode={default_wserv, display_mode}
+#for checking scanline which is got. Below is optional.
+checkScanLine=true
+#check the scan line's length is 0.
+scanLineBufferLength=0
+#End of datum definition
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0032-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0032-GetScanLine_command04]
+point_x=1
+point_y=1
+length=-1
+buff_length=500
+displaymode={default_wserv, display_mode}
+#End of datum definition
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0033-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0033-GetScanLine_command04]
+point_x=0
+point_y=0
+length=99999
+buff_length=10000
+displaymode={default_wserv, display_mode}
+#End of datum definition
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0034-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0034-Activate_command05]
+device =fbsscrdev
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0034-GetScanLine_command07]
+point_x=-1
+point_y=-1
+length=10
+buff_length=500
+displaymode={default_wserv, display_mode}
+#for checking scanline which is got. Below is optional.
+checkScanLine=false
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0035-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0035-Activate_command05]
+device =fbsscrdev
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0035-GetScanLine_command07]
+point_x=10000
+point_y=10000
+length=10
+buff_length=500
+displaymode={default_wserv, display_mode}
+#for checking scanline which is got. Below is optional.
+checkScanLine=false
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0036-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0036-GetScanLine_command04]
+point_x=0
+point_y=0
+length=10
+buff_length=500
+displaymode=-1
+##for checking scanline which is got. Below is optional.
+checkScanLine=true
+size_width=100
+size_height=100
+displaymode={default_wserv, display_mode}
+point_x=1
+point_y=1
+expected_red=255
+expected_blue=255
+expected_green=255
+#End of datum definition
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0037-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0037-PaletteAttributes_command04]
+expected_modifiable ={device_map, modifiable}
+expected_entries ={device_map, entries}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0038-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0038-NewL_command04]
+number_of_colors =256
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0038-SetPalette_command05]
+palette =palette
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0038-GetPalette_command06]
+palette =palette
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0039-NewL_command01]
+number_of_colors =256
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0039-NewL_command04]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0039-SetPalette_command05]
+palette=palette
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0039-GetPalette_command06]
+palette=palette
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0040-NewL_command03]
+screen_number ={default_bitgdi, screennumber}
+displaymode ={default_bitgdi, displaymode}
+
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0041-NewL_command03]
+libname =testlib
+displaymode ={default_bitgdi, displaymode}
+
+[GRAPHICS-BITGDI-FbsScreenDevice-PublicApi-0041-ScreenNo_command04]
+expected =0
+
+
+