Commit 9a3c0082 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

user32/tests: Windows 11's notepad has four icons.

There's the regular application icon and three different styles of close window icons. While there is nothing wrong with that this case is marked as broken() because Wine's notepad only has one icon so only 1 is a valid PrivateExtractIconsA() result in Wine.
parent 01677af4
...@@ -348,7 +348,8 @@ static void test_PrivateExtractIcons(void) { ...@@ -348,7 +348,8 @@ static void test_PrivateExtractIcons(void) {
ok(cIcons == ~0u, "got %u\n", cIcons); ok(cIcons == ~0u, "got %u\n", cIcons);
cIcons = pPrivateExtractIconsA("notepad.exe", 0, 16, 16, NULL, NULL, 1, 0); cIcons = pPrivateExtractIconsA("notepad.exe", 0, 16, 16, NULL, NULL, 1, 0);
ok(cIcons == 1 || broken(cIcons == 2) /* win2k */, "got %u\n", cIcons); ok(cIcons == 1 || broken(cIcons == 4) /* win11 */ ||
broken(cIcons == 2) /* win2k */, "got %u\n", cIcons);
ahIcon[0] = (HICON)0xdeadbeef; ahIcon[0] = (HICON)0xdeadbeef;
cIcons = pPrivateExtractIconsA("notepad.exe", 0, 16, 16, ahIcon, NULL, 1, 0); cIcons = pPrivateExtractIconsA("notepad.exe", 0, 16, 16, ahIcon, NULL, 1, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment