user32/tests: Don't report cursor handle since it always changes.

Signed-off-by: Mathew Hodson <mathew.hodson@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Mathew Hodson 2020-03-27 21:02:11 -04:00 committed by Alexandre Julliard
parent 021d9f0760
commit a8dee2a23f
1 changed files with 3 additions and 3 deletions

View File

@ -2332,7 +2332,7 @@ static void test_SetCursor(void)
ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
/* global cursor doesn't change since we don't have a window */
ok( info.hCursor == global_cursor || broken(info.hCursor != cursor), /* win9x */
"wrong info cursor %p/%p\n", info.hCursor, global_cursor );
"expected global cursor %p\n", global_cursor );
}
thread = CreateThread( NULL, 0, set_cursor_thread, 0, 0, &id );
WaitForSingleObject( thread, 1000 );
@ -2364,7 +2364,7 @@ static void test_SetCursor(void)
info.cbSize = sizeof(info);
ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
ok( info.hCursor == global_cursor || broken(info.hCursor != cursor), /* win9x */
"wrong info cursor %p/%p\n", info.hCursor, global_cursor );
"expected global cursor %p\n", global_cursor );
}
SetCursor( old_cursor );
DestroyCursor( cursor );
@ -2381,7 +2381,7 @@ static void test_SetCursor(void)
info.cbSize = sizeof(info);
ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
ok( info.hCursor == global_cursor || broken(info.hCursor != cursor), /* win9x */
"wrong info cursor %p/%p\n", info.hCursor, global_cursor );
"expected global cursor %p\n", global_cursor );
}
}