Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GDI32_APITEST] Remove "todo_ros" for SetDIBitsToDevice tests that work now #5402

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions modules/rostests/apitests/gdi32/SetDIBitsToDevice.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Test_SetDIBitsToDevice_Params()
(BYTE*)aulBits + 1, // lpvBits,
pbmi,
DIB_RGB_COLORS);
todo_ros ok_dec(ret, 0);
ok_dec(ret, 0);
ok_err(0xdeadc0de);

/* test unaligned illegal buffer */
Expand All @@ -146,7 +146,7 @@ Test_SetDIBitsToDevice_Params()
(BYTE*)0x7fffffff, // lpvBits,
pbmi,
DIB_RGB_COLORS);
todo_ros ok_dec(ret, 0);
ok_dec(ret, 0);
ok_err(0xdeadc0de);

/* Test negative XDest */
Expand Down Expand Up @@ -248,7 +248,7 @@ Test_SetDIBitsToDevice_Params()
aulBits, // lpvBits,
pbmi,
DIB_RGB_COLORS);
todo_ros ok_dec(ret, 7);
ok_dec(ret, 7);
ok_err(0xdeadc0de);

/* Test large cScanlines */
Expand All @@ -265,7 +265,7 @@ Test_SetDIBitsToDevice_Params()
aulBits, // lpvBits,
pbmi,
DIB_RGB_COLORS);
todo_ros ok_dec(ret, 0);
ok_dec(ret, 0);
ok_err(0xdeadc0de);

/* Test uStartScan and cScanLines larger than the DIB */
Expand Down Expand Up @@ -542,8 +542,8 @@ Test_SetDIBitsToDevice()
DIB_RGB_COLORS);

ok_dec(ret, 1);
todo_ros ok_hex((*gpDIB32)[0][0], 0x00000000);
todo_ros ok_hex((*gpDIB32)[0][1], 0x00000000);
ok_hex((*gpDIB32)[0][0], 0x00000000);
ok_hex((*gpDIB32)[0][1], 0x00000000);
ok_hex((*gpDIB32)[0][2], 0x00000000);
ok_hex((*gpDIB32)[0][3], 0x00000000);
todo_ros ok_hex((*gpDIB32)[1][0], 0x11000000);
Expand Down