James Hawkins : uxtheme: Fix a test that fails in win2k3.

Alexandre Julliard julliard at winehq.org
Thu Apr 24 06:23:31 CDT 2008


Module: wine
Branch: master
Commit: 97e1fef09fcf0a21a27886ad241353cc0461a865
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=97e1fef09fcf0a21a27886ad241353cc0461a865

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Wed Apr 23 19:07:19 2008 -0500

uxtheme: Fix a test that fails in win2k3.

---

 dlls/uxtheme/tests/system.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/uxtheme/tests/system.c b/dlls/uxtheme/tests/system.c
index b5f6619..ef9c08a 100644
--- a/dlls/uxtheme/tests/system.c
+++ b/dlls/uxtheme/tests/system.c
@@ -420,7 +420,9 @@ static void test_GetCurrentThemeName(void)
     if (bThemeActive)
         ok( hRes == E_POINTER || hRes == S_OK, "Expected E_POINTER or S_OK, got 0x%08x\n", hRes);
     else
-        ok( hRes == E_PROP_ID_UNSUPPORTED, "Expected E_PROP_ID_UNSUPPORTED, got 0x%08x\n", hRes);
+        ok( hRes == E_PROP_ID_UNSUPPORTED ||
+            hRes == E_POINTER, /* win2k3 */
+            "Expected E_PROP_ID_UNSUPPORTED, got 0x%08x\n", hRes);
     ok( GetLastError() == 0xdeadbeef,
         "Expected 0xdeadbeef, got 0x%08x\n",
         GetLastError());




More information about the wine-cvs mailing list