Module: wine Branch: master Commit: f5c49aaf83db5356c18c6da4a1df573713c224eb URL: http://source.winehq.org/git/wine.git/?a=commit;h=f5c49aaf83db5356c18c6da4a1...
Author: André Hentschel nerv@dawncrow.de Date: Tue Apr 2 15:42:26 2013 +0200
uxtheme/tests: Don't test for themed app.
---
dlls/uxtheme/tests/system.c | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/dlls/uxtheme/tests/system.c b/dlls/uxtheme/tests/system.c index 8dd413b..303ff8d 100644 --- a/dlls/uxtheme/tests/system.c +++ b/dlls/uxtheme/tests/system.c @@ -81,24 +81,11 @@ static void test_IsThemed(void) BOOL bAppThemed; BOOL bTPDefined;
- SetLastError(0xdeadbeef); bThemeActive = pIsThemeActive(); trace("Theming is %s\n", (bThemeActive) ? "active" : "inactive");
- /* This test is not themed */ - SetLastError(0xdeadbeef); bAppThemed = pIsAppThemed(); - - if (bThemeActive) - todo_wine - ok( bAppThemed == FALSE, "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"); - - ok( GetLastError() == ERROR_SUCCESS, - "Expected ERROR_SUCCESS, got 0x%08x\n", - GetLastError()); + trace("Test executable is %s\n", (bAppThemed) ? "themed" : "not themed");
SetLastError(0xdeadbeef); bTPDefined = pIsThemePartDefined(NULL, 0 , 0);