Rémi Bernon : dinput8/tests: Don't check device object data sequence numbers.

Alexandre Julliard julliard at winehq.org
Tue Sep 21 15:59:02 CDT 2021


Module: wine
Branch: master
Commit: af58bbb0c4d2878bf5aac5320e08cf10f3dc6592
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=af58bbb0c4d2878bf5aac5320e08cf10f3dc6592

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Tue Sep 21 09:52:44 2021 +0200

dinput8/tests: Don't check device object data sequence numbers.

We usually have them wrong but sometimes right.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dinput8/tests/hid.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dlls/dinput8/tests/hid.c b/dlls/dinput8/tests/hid.c
index b02cdf1aa30..e5e1bfde79d 100644
--- a/dlls/dinput8/tests/hid.c
+++ b/dlls/dinput8/tests/hid.c
@@ -4214,8 +4214,6 @@ static void test_simple_joystick(void)
     ok( res == 1, "got %u expected %u\n", res, 1 );
     check_member( objdata[0], expect_objdata[0], "%#x", dwOfs );
     check_member( objdata[0], expect_objdata[0], "%#x", dwData );
-    todo_wine
-    check_member( objdata[0], expect_objdata[0], "%#x", dwSequence );
     ok( objdata[0].uAppData == -1, "got %p, expected %p\n", (void *)objdata[0].uAppData, (void *)-1 );
     res = 4;
     hr = IDirectInputDevice8_GetDeviceData( device, sizeof(DIDEVICEOBJECTDATA), objdata, &res, 0 );
@@ -4226,8 +4224,6 @@ static void test_simple_joystick(void)
         winetest_push_context( "objdata[%d]", i );
         check_member( objdata[i], expect_objdata[1 + i], "%#x", dwOfs );
         check_member( objdata[i], expect_objdata[1 + i], "%#x", dwData );
-        todo_wine
-        check_member( objdata[i], expect_objdata[1 + i], "%#x", dwSequence );
         ok( objdata[i].uAppData == -1, "got %p, expected %p\n", (void *)objdata[i].uAppData, (void *)-1 );
         winetest_pop_context();
     }




More information about the wine-cvs mailing list