graphicsapitest/graphicssvs/wserv/testdata/GRAPHICS-WSERV-WsGraphicBitmap-PublicApi.ini
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphicsapitest/graphicssvs/wserv/testdata/GRAPHICS-WSERV-WsGraphicBitmap-PublicApi.ini Tue Feb 02 01:47:50 2010 +0200
@@ -0,0 +1,314 @@
+[include]
+file1 =\graphics\t_graphics.ini
+
+
+[fbsbmp]
+name =fbsbmp
+
+[fbsbmp2]
+name =fbsbmp2
+
+[fbsmaskbmp]
+name =fbsmaskbmp
+
+[ws]
+name =ws
+
+[wsgraph]
+name =wsgraph
+
+[wsgraph2]
+name =wsgraph2
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0001-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0001-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0001-0001-NewL_command10]
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0001-0001-Id_command11]
+expectnot_id =0
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0002-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0002-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0002-0001-NewL_command10]
+uid =98765
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0002-0001-Id_command11]
+expected_uid =98765
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-NewL_command10]
+uid =98765
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-Id_command11]
+expected_uid =98765
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-Load_command14]
+bitmap_id =0
+file_name =\graphics\wserv\test_alpha.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-NewL_command16]
+replace_name =wsgraph
+bitmap =fbsbmp2
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-Id_command17]
+expected_uid =98765
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0004-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0004-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0004-0001-NewL_command10]
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0005-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0005-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0005-0001-NewL_command10]
+uid =98765
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0005-0001-Id_command11]
+expected_uid =98765
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0006-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0006-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0006-0001-NewL_command10]
+uid =98765
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0006-0001-Id_command11]
+expected_uid =98765
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0006-0001-Share_command12]
+clientid =10
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-NewL_command10]
+uid =98765
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-Id_command11]
+expected_uid =98765
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-Share_command12]
+clientid =10
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-UnShare_command13]
+clientid =10
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0008-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0008-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0008-0001-NewL_command10]
+uid =98765
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0008-0001-Id_command11]
+expected_uid =98765
+
+
+
+
+
+
+// ****************************************************************************
+// CWsGraphicBitmap Public APIs inherited from CWsGraphic
+// ****************************************************************************
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0101-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0101-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0101-0001-NewL_command10]
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0102-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0102-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0102-0001-NewL_command10]
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0102-0001-Id_command11]
+expectnot_id =0
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0103-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0103-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0103-0001-NewL_command10]
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0103-0001-IsActive_command11]
+expected =TRUE
+
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-Load_command05]
+bitmap_id =0
+file_name =\graphics\wserv\test_board.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-Load_command08]
+bitmap_id =0
+file_name =\graphics\wserv\test_mask.mbm
+share_if_loaded =FALSE
+use_rfile =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-NewL_command10]
+bitmap =fbsbmp
+mask =fbsmaskbmp
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-IsActive_command11]
+expected =TRUE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-Id_command12]
+expectnot_id =0
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-IsActive_command14]
+expected =FALSE
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-Id_command15]
+expected_id =0
+
+
+
+
+// ****************************************************************************
+// Negative testcases of CWsGraphicBitmap
+// ****************************************************************************
+
+[GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-1002-0001-NewL_command01]
+replace_uid =98765
+bitmap =fbsbmp
+mask =fbsmaskbmp