graphicsapitest/graphicssvs/wserv/testdata/GRAPHICS-WSERV-BackedUpWindow-PublicApi.ini
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 [include]
       
     2 file1			=\graphics\t_graphics.ini
       
     3 
       
     4 
       
     5 [backupwin]
       
     6 name			=backupwin
       
     7 
       
     8 [wingc]
       
     9 name			=wingc
       
    10 
       
    11 [fbsbmp]
       
    12 name			=fbsbmp
       
    13 
       
    14 [ws]
       
    15 name			=ws
       
    16 
       
    17 [wingrp]
       
    18 name			=wingrp
       
    19 
       
    20 [scrdev]
       
    21 name			=scrdev
       
    22 
       
    23 [bmputil]
       
    24 name			=bmputil
       
    25 
       
    26 
       
    27 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-new_command04]
       
    28 ws			=ws
       
    29 
       
    30 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-CreateContext_command06]
       
    31 windowgc		=wingc
       
    32 
       
    33 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-new_command08]
       
    34 ws			=ws
       
    35 
       
    36 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-Construct_command09]
       
    37 clienthandle		=1
       
    38 
       
    39 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-new_command11]
       
    40 ws			=ws
       
    41 
       
    42 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-Construct_command12]
       
    43 displaymode		={default_wserv,display_mode}
       
    44 handle			=2
       
    45 parent			=wingrp
       
    46 
       
    47 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-SetExtentErr_command13]
       
    48 size_height		=80
       
    49 size_width		=80
       
    50 point_x			=0
       
    51 point_y			=0
       
    52 
       
    53 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-SetAutoFlush_command16]
       
    54 newFlushstate		=TRUE
       
    55 expectedFlushstate	=FALSE
       
    56 
       
    57 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-Activate_command18]
       
    58 device			=backupwin
       
    59 
       
    60 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-SetBrushColor_command19]
       
    61 color_red		=255
       
    62 color_green		=0
       
    63 color_blue		=0
       
    64 
       
    65 [GRAPHICS-WSERV-BackedUpWindow-Setup-0002-0001-SetBrushStyle_command20]
       
    66 brushstyle		=ESolidBrush
       
    67 
       
    68 
       
    69 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0002-0001-new_command04]
       
    70 ws			=ws
       
    71 
       
    72 
       
    73 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-new_command04]
       
    74 ws			=ws
       
    75 
       
    76 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-Construct_command05]
       
    77 clienthandle		=1
       
    78 
       
    79 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-new_command07]
       
    80 ws			=ws
       
    81 
       
    82 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-WsHandle_command08]
       
    83 expected		=0
       
    84 
       
    85 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-Construct_command09]
       
    86 displaymode		={default_wserv,display_mode}
       
    87 handle			=2
       
    88 parent			=wingrp
       
    89 
       
    90 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-WsHandle_command10]
       
    91 expectnot		=0
       
    92 
       
    93 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-DisplayMode_command11]
       
    94 expected		={default_wserv,display_mode}
       
    95 
       
    96 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-AbsPosition_command12]
       
    97 expected_y		=0
       
    98 expected_x		=0
       
    99 
       
   100 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0003-0001-Size_command13]
       
   101 expected_height		=0
       
   102 expected_width		=0
       
   103 
       
   104 
       
   105 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-new_command04]
       
   106 ws			=ws
       
   107 
       
   108 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-Construct_command05]
       
   109 clienthandle		=1
       
   110 
       
   111 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-new_command07]
       
   112 ws			=ws
       
   113 
       
   114 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-Construct_command08]
       
   115 displaymode		={default_wserv,display_mode}
       
   116 handle			=2
       
   117 parent			=wingrp
       
   118 
       
   119 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-Duplicate_command11]
       
   120 fbs_bitmap_name		=backupwin
       
   121 
       
   122 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-SizeInPixels_command12]
       
   123 width			=0
       
   124 height			=0
       
   125 
       
   126 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-DisplayMode_command13]
       
   127 displaymode		={default_wserv,display_mode}
       
   128 
       
   129 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-SetSizeErr_command15]
       
   130 size_height		=80
       
   131 size_width		=80
       
   132 
       
   133 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-SizeInPixels_command17]
       
   134 width			=80
       
   135 height			=80
       
   136 
       
   137 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-GetPixel_command18]
       
   138 point_x			=10
       
   139 point_y			=10
       
   140 red			=255
       
   141 green			=255
       
   142 blue			=255
       
   143 
       
   144 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-GetPixel_command19]
       
   145 point_x			=50
       
   146 point_y			=50
       
   147 red			=255
       
   148 green			=255
       
   149 blue			=255
       
   150 
       
   151 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-GetPixel_command20]
       
   152 point_x			=60
       
   153 point_y			=60
       
   154 red			=255
       
   155 green			=255
       
   156 blue			=255
       
   157 
       
   158 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0004-0001-GetPixel_command21]
       
   159 point_x			=70
       
   160 point_y			=70
       
   161 red			=255
       
   162 green			=255
       
   163 blue			=255
       
   164 
       
   165 
       
   166 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-Duplicate_command03]
       
   167 fbs_bitmap_name		=backupwin
       
   168 
       
   169 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-New_command04]
       
   170 bitmap			=fbsbmp
       
   171 
       
   172 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-Begin_command05]
       
   173 point_x			=10
       
   174 point_y			=10
       
   175 
       
   176 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPixel_command06]
       
   177 color			=15
       
   178 
       
   179 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPos_command07]
       
   180 point_x			=10
       
   181 point_y			=12
       
   182 
       
   183 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPixel_command08]
       
   184 color			=240
       
   185 
       
   186 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPos_command09]
       
   187 point_x			=12
       
   188 point_y			=10
       
   189 
       
   190 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPixel_command10]
       
   191 color			=3840
       
   192 
       
   193 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPos_command11]
       
   194 point_x			=12
       
   195 point_y			=12
       
   196 
       
   197 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-SetPixel_command12]
       
   198 color			=255
       
   199 
       
   200 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0005-0001-checkPixels_command15]
       
   201 pixel1_x		=10
       
   202 pixel1_y		=10
       
   203 expected1_red		=255
       
   204 expected1_green		=255
       
   205 expected1_blue		=255
       
   206 pixel2_x		=10
       
   207 pixel2_y		=12
       
   208 expected2_red		=255
       
   209 expected2_green		=255
       
   210 expected2_blue		=255
       
   211 pixel3_x		=12
       
   212 pixel3_y		=10
       
   213 expected3_red		=255
       
   214 expected3_green		=255
       
   215 expected3_blue		=255
       
   216 pixel4_x		=12
       
   217 pixel4_y		=12
       
   218 expected4_red		=255
       
   219 expected4_green		=255
       
   220 expected4_blue		=255
       
   221 
       
   222 
       
   223 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-Duplicate_command03]
       
   224 fbs_bitmap_name		=backupwin
       
   225 
       
   226 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-New_command04]
       
   227 bitmap			=fbsbmp
       
   228 
       
   229 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-Begin_command05]
       
   230 point_x			=10
       
   231 point_y			=10
       
   232 
       
   233 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPixel_command06]
       
   234 color			=15
       
   235 
       
   236 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPos_command07]
       
   237 point_x			=10
       
   238 point_y			=12
       
   239 
       
   240 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPixel_command08]
       
   241 color			=240
       
   242 
       
   243 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPos_command09]
       
   244 point_x			=12
       
   245 point_y			=10
       
   246 
       
   247 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPixel_command10]
       
   248 color			=3840
       
   249 
       
   250 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPos_command11]
       
   251 point_x			=12
       
   252 point_y			=12
       
   253 
       
   254 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-SetPixel_command12]
       
   255 color			=255
       
   256 
       
   257 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-checkPixels_command15]
       
   258 pixel1_x		=10
       
   259 pixel1_y		=10
       
   260 expected1_red		=255
       
   261 expected1_green		=255
       
   262 expected1_blue		=255
       
   263 pixel2_x		=10
       
   264 pixel2_y		=12
       
   265 expected2_red		=255
       
   266 expected2_green		=255
       
   267 expected2_blue		=255
       
   268 pixel3_x		=12
       
   269 pixel3_y		=10
       
   270 expected3_red		=255
       
   271 expected3_green		=255
       
   272 expected3_blue		=255
       
   273 pixel4_x		=12
       
   274 pixel4_y		=12
       
   275 expected4_red		=255
       
   276 expected4_green		=255
       
   277 expected4_blue		=255
       
   278 
       
   279 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0006-0001-UpdateScreen_command17]
       
   280 region1_top		=0
       
   281 region1_left		=0
       
   282 region1_bottom		=11
       
   283 region1_right		=11
       
   284 region2_top		=11
       
   285 region2_left		=11
       
   286 region2_bottom		=20
       
   287 region2_right		=20
       
   288 
       
   289 
       
   290 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-Duplicate_command03]
       
   291 fbs_bitmap_name		=backupwin
       
   292 
       
   293 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-DrawRect_command04]
       
   294 rect_top		=0
       
   295 rect_left		=0
       
   296 rect_bottom		=55
       
   297 rect_right		=55
       
   298 
       
   299 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command06]
       
   300 point_x			=0
       
   301 point_y			=0
       
   302 red			=255
       
   303 green			=255
       
   304 blue			=255
       
   305 
       
   306 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command07]
       
   307 point_x			=50
       
   308 point_y			=50
       
   309 red			=255
       
   310 green			=255
       
   311 blue			=255
       
   312 
       
   313 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command08]
       
   314 point_x			=60
       
   315 point_y			=60
       
   316 red			=255
       
   317 green			=255
       
   318 blue			=255
       
   319 
       
   320 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command09]
       
   321 point_x			=70
       
   322 point_y			=70
       
   323 red			=255
       
   324 green			=255
       
   325 blue			=255
       
   326 
       
   327 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command13]
       
   328 point_x			=0
       
   329 point_y			=0
       
   330 red			=0
       
   331 green			=0
       
   332 blue			=0
       
   333 
       
   334 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command14]
       
   335 point_x			=50
       
   336 point_y			=50
       
   337 red			=255
       
   338 green			=0
       
   339 blue			=0
       
   340 
       
   341 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command15]
       
   342 point_x			=60
       
   343 point_y			=60
       
   344 red			=255
       
   345 green			=255
       
   346 blue			=255
       
   347 
       
   348 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command16]
       
   349 point_x			=70
       
   350 point_y			=70
       
   351 red			=255
       
   352 green			=255
       
   353 blue			=255
       
   354 
       
   355 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-DrawRect_command18]
       
   356 rect_top		=50
       
   357 rect_left		=50
       
   358 rect_bottom		=65
       
   359 rect_right		=65
       
   360 
       
   361 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command20]
       
   362 point_x			=0
       
   363 point_y			=0
       
   364 red			=0
       
   365 green			=0
       
   366 blue			=0
       
   367 
       
   368 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command21]
       
   369 point_x			=50
       
   370 point_y			=50
       
   371 red			=255
       
   372 green			=0
       
   373 blue			=0
       
   374 
       
   375 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command22]
       
   376 point_x			=60
       
   377 point_y			=60
       
   378 red			=255
       
   379 green			=255
       
   380 blue			=255
       
   381 
       
   382 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command23]
       
   383 point_x			=70
       
   384 point_y			=70
       
   385 red			=255
       
   386 green			=255
       
   387 blue			=255
       
   388 
       
   389 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command27]
       
   390 point_x			=0
       
   391 point_y			=0
       
   392 red			=0
       
   393 green			=0
       
   394 blue			=0
       
   395 
       
   396 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command28]
       
   397 point_x			=50
       
   398 point_y			=50
       
   399 red			=0
       
   400 green			=0
       
   401 blue			=0
       
   402 
       
   403 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command29]
       
   404 point_x			=60
       
   405 point_y			=60
       
   406 red			=255
       
   407 green			=0
       
   408 blue			=0
       
   409 
       
   410 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0007-0001-GetPixel_command30]
       
   411 point_x			=70
       
   412 point_y			=70
       
   413 red			=255
       
   414 green			=255
       
   415 blue			=255
       
   416 
       
   417 
       
   418 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-Duplicate_command03]
       
   419 fbs_bitmap_name		=backupwin
       
   420 
       
   421 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command04]
       
   422 point_x			=0
       
   423 point_y			=0
       
   424 red			=255
       
   425 green			=255
       
   426 blue			=255
       
   427 
       
   428 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command05]
       
   429 point_x			=50
       
   430 point_y			=50
       
   431 red			=255
       
   432 green			=255
       
   433 blue			=255
       
   434 
       
   435 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command06]
       
   436 point_x			=60
       
   437 point_y			=60
       
   438 red			=255
       
   439 green			=255
       
   440 blue			=255
       
   441 
       
   442 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command07]
       
   443 point_x			=70
       
   444 point_y			=70
       
   445 red			=255
       
   446 green			=255
       
   447 blue			=255
       
   448 
       
   449 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-DrawRect_command09]
       
   450 rect_top		=0
       
   451 rect_left		=0
       
   452 rect_bottom		=55
       
   453 rect_right		=55
       
   454 
       
   455 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command11]
       
   456 point_x			=0
       
   457 point_y			=0
       
   458 red			=0
       
   459 green			=0
       
   460 blue			=0
       
   461 
       
   462 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command12]
       
   463 point_x			=50
       
   464 point_y			=50
       
   465 red			=255
       
   466 green			=0
       
   467 blue			=0
       
   468 
       
   469 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command13]
       
   470 point_x			=60
       
   471 point_y			=60
       
   472 red			=255
       
   473 green			=255
       
   474 blue			=255
       
   475 
       
   476 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command14]
       
   477 point_x			=70
       
   478 point_y			=70
       
   479 red			=255
       
   480 green			=255
       
   481 blue			=255
       
   482 
       
   483 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-DrawRect_command16]
       
   484 rect_top		=50
       
   485 rect_left		=50
       
   486 rect_bottom		=65
       
   487 rect_right		=65
       
   488 
       
   489 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command18]
       
   490 point_x			=0
       
   491 point_y			=0
       
   492 red			=0
       
   493 green			=0
       
   494 blue			=0
       
   495 
       
   496 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command19]
       
   497 point_x			=50
       
   498 point_y			=50
       
   499 red			=0
       
   500 green			=0
       
   501 blue			=0
       
   502 
       
   503 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command20]
       
   504 point_x			=60
       
   505 point_y			=60
       
   506 red			=255
       
   507 green			=0
       
   508 blue			=0
       
   509 
       
   510 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-0008-0001-GetPixel_command21]
       
   511 point_x			=70
       
   512 point_y			=70
       
   513 red			=255
       
   514 green			=255
       
   515 blue			=255
       
   516 // ****************************************************************************
       
   517 // Negative testcases of RBackedUpWindow
       
   518 // ****************************************************************************
       
   519 
       
   520 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-1004-0001-Construct_command01]
       
   521 parent			=wingrp
       
   522 displaymode		=-1
       
   523 handle			=2
       
   524 
       
   525 
       
   526 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-1005-0001-Construct_command01]
       
   527 parent			=wingrp
       
   528 displaymode		=10000
       
   529 handle			=2
       
   530 
       
   531 
       
   532 [GRAPHICS-WSERV-BackedUpWindow-PublicApi-1008-0001-UpdateScreen_command01]
       
   533 region1_top		=0
       
   534 region1_left		=0
       
   535 region1_bottom		=11
       
   536 region1_right		=11
       
   537 region2_top		=11
       
   538 region2_left		=11
       
   539 region2_bottom		=20
       
   540 region2_right		=20
       
   541 
       
   542