uxtheme/tests: Mark Win8 behaviour as broken as it seems to always return TRUE for IsThemeActive
André Hentschel
nerv at dawncrow.de
Sat Mar 9 10:00:56 CST 2013
---
dlls/uxtheme/tests/system.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/uxtheme/tests/system.c b/dlls/uxtheme/tests/system.c
index 8dd413b..34e78c9 100644
--- a/dlls/uxtheme/tests/system.c
+++ b/dlls/uxtheme/tests/system.c
@@ -91,7 +91,8 @@ static void test_IsThemed(void)
if (bThemeActive)
todo_wine
- ok( bAppThemed == FALSE, "Expected FALSE as this test executable is not (yet) themed.\n");
+ ok( bAppThemed == FALSE || broken(bAppThemed == TRUE /* Win8 */),
+ "Expected FALSE as this test executable is not (yet) themed.\n");
else
/* Although Wine currently returns FALSE, the logic behind it is wrong. It is not a todo_wine though in the testing sense */
ok( bAppThemed == FALSE, "Expected FALSE as this test executable is not (yet) themed.\n");
--
1.8.0
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list