graphicsapitest/graphicssvs/wserv/testdata/GRAPHICS-WSERV-BlankWindow-PublicApi.ini
author jakl.martin@cell-telecom.com
Mon, 06 Dec 2010 18:07:30 +0100
branchNewGraphicsArchitecture
changeset 218 99b3451c560e
parent 0 5d03bc08d59c
permissions -rw-r--r--
Fix for Bug 3890

[include]
file1			=\graphics\t_graphics.ini


[bnkwin]
name			=bnkwin

[wingrp]
name			=wingrp

[scrdev]
name			=scrdev

[ws]
name			=ws


[GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-new_command04]
ws			=ws

[GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-new_command07]
ws			=ws

[GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-Construct_command08]
clienthandle		=1

[GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-new_command10]
ws			=ws

[GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-Construct_command11]
parent			=wingrp
handle			=2

[GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-SetRequiredDisplayMode_command12]
mode			={default_wserv,display_mode}

[GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-SetAutoFlush_command15]
newFlushstate		=TRUE
expectedFlushstate	=FALSE


[GRAPHICS-WSERV-BlankWindow-PublicApi-0002-0001-new_command04]
ws			=ws


[GRAPHICS-WSERV-BlankWindow-PublicApi-0003-0001-new_command04]
ws			=ws

[GRAPHICS-WSERV-BlankWindow-PublicApi-0003-0001-Construct_command05]
clienthandle		=1

[GRAPHICS-WSERV-BlankWindow-PublicApi-0003-0001-new_command07]
ws			=ws

[GRAPHICS-WSERV-BlankWindow-PublicApi-0003-0001-Construct_command08]
parent			=wingrp
handle			=2


[GRAPHICS-WSERV-BlankWindow-PublicApi-0004-0001-SetColor_command01]
color_red		=255
color_green		=0
color_blue		=0

[GRAPHICS-WSERV-BlankWindow-PublicApi-0004-0001-checkRectColor_command03]
rect1_top		=0
rect1_left		=0
rect1_bottom		=20
rect1_right		=20
expected1_red		=255
expected1_green		=0
expected1_blue		=0
rect2_top		=0
rect2_left		=180
rect2_bottom		=20
rect2_right		=200
expected2_red		=255
expected2_green		=0
expected2_blue		=0
rect3_top		=180
rect3_left		=0
rect3_bottom		=200
rect3_right		=20
expected3_red		=255
expected3_green		=0
expected3_blue		=0
rect4_top		=180
rect4_left		=180
rect4_bottom		=200
rect4_right		=200
expected4_red		=255
expected4_green		=0
expected4_blue		=0


[GRAPHICS-WSERV-BlankWindow-PublicApi-0005-0001-checkRectColor_command03]
rect1_top		=0
rect1_left		=0
rect1_bottom		=20
rect1_right		=20
expected1_red		=255
expected1_green		=255
expected1_blue		=255
rect2_top		=0
rect2_left		=180
rect2_bottom		=20
rect2_right		=200
expected2_red		=255
expected2_green		=255
expected2_blue		=255
rect3_top		=180
rect3_left		=0
rect3_bottom		=200
rect3_right		=20
expected3_red		=255
expected3_green		=255
expected3_blue		=255
rect4_top		=180
rect4_left		=180
rect4_bottom		=200
rect4_right		=200
expected4_red		=255
expected4_green		=255
expected4_blue		=255


[GRAPHICS-WSERV-BlankWindow-PublicApi-0006-0001-SetSize_command01]
size_height		=30
size_width		=40

[GRAPHICS-WSERV-BlankWindow-PublicApi-0006-0001-Size_command02]
expected_height		=30
expected_width		=40

[GRAPHICS-WSERV-BlankWindow-PublicApi-0006-0001-SetColor_command03]
color_red		=255
color_green		=0
color_blue		=0

[GRAPHICS-WSERV-BlankWindow-PublicApi-0006-0001-checkRectColor_command05]
rect1_top		=0
rect1_left		=0
rect1_bottom		=30
rect1_right		=40
expected1_red		=255
expected1_green		=0
expected1_blue		=0


[GRAPHICS-WSERV-BlankWindow-PublicApi-0007-0001-SetExtent_command01]
size_height		=40
size_width		=30
point_x			=10
point_y			=11

[GRAPHICS-WSERV-BlankWindow-PublicApi-0007-0001-AbsPosition_command02]
expected_y		=11
expected_x		=10

[GRAPHICS-WSERV-BlankWindow-PublicApi-0007-0001-Size_command03]
expected_height		=40
expected_width		=30

[GRAPHICS-WSERV-BlankWindow-PublicApi-0007-0001-SetColor_command04]
color_red		=255
color_green		=0
color_blue		=0

[GRAPHICS-WSERV-BlankWindow-PublicApi-0007-0001-checkRectColor_command06]
rect1_top		=11
rect1_left		=10
rect1_bottom		=51
rect1_right		=40
expected1_red		=255
expected1_green		=0
expected1_blue		=0




// ****************************************************************************
// Negative testcases of RBlankWindow
// ****************************************************************************

[GRAPHICS-WSERV-BlankWindow-PublicApi-1005-0001-SetSize_command01]
size_height		=-30
size_width		=-40

[GRAPHICS-WSERV-BlankWindow-PublicApi-1005-0001-Size_command02]
expected_height		=0
expected_width		=0


[GRAPHICS-WSERV-BlankWindow-PublicApi-1006-0001-SetExtent_command01]
size_height		=-40
size_width		=-30
point_x			=10
point_y			=11

[GRAPHICS-WSERV-BlankWindow-PublicApi-1006-0001-Size_command02]
expected_height		=0
expected_width		=0