[1/5] user32: Added tests for DrawIcon and DrawIconEx

Paul Vriens paul.vriens.wine at gmail.com
Thu Jun 4 01:43:40 CDT 2009


Joel Holdsworth wrote:
> 
> ------------------------------------------------------------------------
> 
> 
Hi Joel,

I've run your new tests on Win95, Win98 and NT4 (all VMware):

Win95:
======
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color 00A0B0C0 with
DrawIcon. Expected 00003163. Got 00003868 from line 1130
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color 00A0B0C0 with
DrawIcon. Expected 00FFCE9C. Got 00FFD0A0 from line 1131
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color FFA0B0C0 with
DrawIcon. Expected 00003163. Got 00003868 from line 1133
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color FFA0B0C0 with
DrawIcon. Expected 00FFCE9C. Got 00FFD0A0 from line 1134
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIcon. Expected 00003163. Got 00003868 from line 1135
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIcon. Expected 00FFCE9C. Got 00FFD0A0 from line 1136
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color 00A0B0C0 with
DrawIconEx flags 00000003. Expected 00003163. Got 00003868 from line 1262
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color 00A0B0C0 with
DrawIconEx flags 00000003. Expected 00FFCE9C. Got 00FFD0A0 from line 1263
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color FFA0B0C0 with
DrawIconEx flags 00000003. Expected 00003163. Got 00003868 from line 1265
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color FFA0B0C0 with
DrawIconEx flags 00000003. Expected 00FFCE9C. Got 00FFD0A0 from line 1266
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00003163. Got 00003868 from line 1267
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00FFCE9C. Got 00FFD0A0 from line 1268

Win98:
======

cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color 00A0B0C0 with
DrawIcon. Expected 00003163. Got 00003868 from line 1130
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color 00A0B0C0 with
DrawIcon. Expected 00FFCE9C. Got 00FFD0A0 from line 1131
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color FFA0B0C0 with
DrawIcon. Expected 00003163. Got 00003868 from line 1133
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color FFA0B0C0 with
DrawIcon. Expected 00FFCE9C. Got 00FFD0A0 from line 1134
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIcon. Expected 00003163. Got 00003868 from line 1135
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIcon. Expected 00FFCE9C. Got 00FFD0A0 from line 1136
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color FFA0B0C0 with
DrawIcon. Expected 00C0B0A0. Got 003F4F5F from line 1081
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIcon. Expected 00605850. Got 00C0B0A0 from line 1083
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIcon. Expected 00605850. Got 00C0B0A0 from line 1084
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIcon. Expected 00DFD7CF. Got 00C0B0A0 from line 1085
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIcon. Expected 00DFD7CF. Got 003F4F5F from line 1086
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color 01FFFFFF with
DrawIcon. Expected 00010101. Got 00FFFFFF from line 1088
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color 01FFFFFF with
DrawIcon. Expected 00010101. Got 00FFFFFF from line 1089
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color FEFFFFFF with
DrawIcon. Expected 00FEFEFE. Got 00FFFFFF from line 1090
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color FEFFFFFF with
DrawIcon. Expected 00FEFEFE. Got 00FFFFFF from line 1091
cursoricon.c:1056: Test failed: Alpha blending. Expected 00FFFFFF with
DrawIcon. Got 00C0B0A0 from line 1099
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color FFA0B0C0 with
DrawIcon. Expected 00C0B0A0. Got 003F4F5F from line 1081
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIcon. Expected 00605850. Got 00C0B0A0 from line 1083
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIcon. Expected 00605850. Got 00C0B0A0 from line 1084
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIcon. Expected 00DFD7CF. Got 00C0B0A0 from line 1085
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIcon. Expected 00DFD7CF. Got 003F4F5F from line 1086
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color 01FFFFFF with
DrawIcon. Expected 00010101. Got 00FFFFFF from line 1088
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color 01FFFFFF with
DrawIcon. Expected 00010101. Got 00FFFFFF from line 1089
cursoricon.c:1013: Test failed: Overlaying Mask 0 on Color FEFFFFFF with
DrawIcon. Expected 00FEFEFE. Got 00FFFFFF from line 1090
cursoricon.c:1013: Test failed: Overlaying Mask 1 on Color FEFFFFFF with
DrawIcon. Expected 00FEFEFE. Got 00FFFFFF from line 1091
cursoricon.c:1056: Test failed: Alpha blending. Expected 00FFFFFF with
DrawIcon. Got 00C0B0A0 from line 1099
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color 00A0B0C0 with
DrawIconEx flags 00000003. Expected 00003163. Got 00003868 from line 1262
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color 00A0B0C0 with
DrawIconEx flags 00000003. Expected 00FFCE9C. Got 00FFD0A0 from line 1263
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color FFA0B0C0 with
DrawIconEx flags 00000003. Expected 00003163. Got 00003868 from line 1265
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color FFA0B0C0 with
DrawIconEx flags 00000003. Expected 00FFCE9C. Got 00FFD0A0 from line 1266
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00003163. Got 00003868 from line 1267
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00FFCE9C. Got 00FFD0A0 from line 1268
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color FFA0B0C0 with
DrawIconEx flags 00000003. Expected 00C0B0A0. Got 003F4F5F from line 1213
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00605850. Got 00C0B0A0 from line 1215
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00605850. Got 00C0B0A0 from line 1216
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00DFD7CF. Got 00C0B0A0 from line 1217
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00DFD7CF. Got 003F4F5F from line 1218
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color 01FFFFFF with
DrawIconEx flags 00000003. Expected 00010101. Got 00FFFFFF from line 1220
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color 01FFFFFF with
DrawIconEx flags 00000003. Expected 00010101. Got 00FFFFFF from line 1221
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color FEFFFFFF with
DrawIconEx flags 00000003. Expected 00FEFEFE. Got 00FFFFFF from line 1222
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color FEFFFFFF with
DrawIconEx flags 00000003. Expected 00FEFEFE. Got 00FFFFFF from line 1223
cursoricon.c:1056: Test failed: Alpha blending. Expected 00FFFFFF with
DrawIconEx. Got 00C0B0A0 from line 1231
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color FFA0B0C0 with
DrawIconEx flags 00000003. Expected 00C0B0A0. Got 003F4F5F from line 1213
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00605850. Got 00C0B0A0 from line 1215
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00605850. Got 00C0B0A0 from line 1216
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00DFD7CF. Got 00C0B0A0 from line 1217
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color 80A0B0C0 with
DrawIconEx flags 00000003. Expected 00DFD7CF. Got 003F4F5F from line 1218
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color 01FFFFFF with
DrawIconEx flags 00000003. Expected 00010101. Got 00FFFFFF from line 1220
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color 01FFFFFF with
DrawIconEx flags 00000003. Expected 00010101. Got 00FFFFFF from line 1221
cursoricon.c:1028: Test failed: Overlaying Mask 0 on Color FEFFFFFF with
DrawIconEx flags 00000003. Expected 00FEFEFE. Got 00FFFFFF from line 1222
cursoricon.c:1028: Test failed: Overlaying Mask 1 on Color FEFFFFFF with
DrawIconEx flags 00000003. Expected 00FEFEFE. Got 00FFFFFF from line 1223
cursoricon.c:1056: Test failed: Alpha blending. Expected 00FFFFFF with
DrawIconEx. Got 00C0B0A0 from line 1231

NT4:
====
No failures.

Is there another way you can detect whether some XP (and up) tests can
be run? We generally try not to use GetVersion() in our tests.

-- 
Cheers,

Paul.






More information about the wine-devel mailing list