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:
parent
021d9f0760
commit
a8dee2a23f
|
@ -2332,7 +2332,7 @@ static void test_SetCursor(void)
|
||||||
ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
|
ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
|
||||||
/* global cursor doesn't change since we don't have a window */
|
/* global cursor doesn't change since we don't have a window */
|
||||||
ok( info.hCursor == global_cursor || broken(info.hCursor != cursor), /* win9x */
|
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 );
|
thread = CreateThread( NULL, 0, set_cursor_thread, 0, 0, &id );
|
||||||
WaitForSingleObject( thread, 1000 );
|
WaitForSingleObject( thread, 1000 );
|
||||||
|
@ -2364,7 +2364,7 @@ static void test_SetCursor(void)
|
||||||
info.cbSize = sizeof(info);
|
info.cbSize = sizeof(info);
|
||||||
ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
|
ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
|
||||||
ok( info.hCursor == global_cursor || broken(info.hCursor != cursor), /* win9x */
|
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 );
|
SetCursor( old_cursor );
|
||||||
DestroyCursor( cursor );
|
DestroyCursor( cursor );
|
||||||
|
@ -2381,7 +2381,7 @@ static void test_SetCursor(void)
|
||||||
info.cbSize = sizeof(info);
|
info.cbSize = sizeof(info);
|
||||||
ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
|
ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
|
||||||
ok( info.hCursor == global_cursor || broken(info.hCursor != cursor), /* win9x */
|
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue