Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
85c989be
Commit
85c989be
authored
Apr 01, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Apr 05, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme/tests: Mark XP SP1 behaviour as broken.
parent
589c2138
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
system.c
dlls/uxtheme/tests/system.c
+7
-3
No files found.
dlls/uxtheme/tests/system.c
View file @
85c989be
...
...
@@ -507,7 +507,7 @@ static void test_GetCurrentThemeName(void)
SetLastError
(
0xdeadbeef
);
hRes
=
pGetCurrentThemeName
(
currentTheme
,
0
,
NULL
,
0
,
NULL
,
0
);
if
(
bThemeActive
)
ok
(
hRes
==
S_OK
,
"Expected S_OK, got 0x%08x
\n
"
,
hRes
);
ok
(
hRes
==
S_OK
||
broken
(
hRes
==
E_FAIL
/* WinXP SP1 */
)
,
"Expected 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
(
GetLastError
()
==
0xdeadbeef
,
...
...
@@ -523,7 +523,9 @@ static void test_GetCurrentThemeName(void)
hRes
=
pGetCurrentThemeName
(
currentTheme
,
2
,
NULL
,
0
,
NULL
,
0
);
if
(
bThemeActive
)
todo_wine
ok
(
hRes
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
"Expected HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), got 0x%08x
\n
"
,
hRes
);
ok
(
hRes
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
)
||
broken
(
hRes
==
E_FAIL
/* WinXP SP1 */
),
"Expected HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), got 0x%08x
\n
"
,
hRes
);
else
ok
(
hRes
==
E_PROP_ID_UNSUPPORTED
,
"Expected E_PROP_ID_UNSUPPORTED, got 0x%08x
\n
"
,
hRes
);
ok
(
GetLastError
()
==
0xdeadbeef
,
...
...
@@ -537,7 +539,9 @@ static void test_GetCurrentThemeName(void)
currentSize
,
sizeof
(
currentSize
)
/
sizeof
(
WCHAR
));
if
(
bThemeActive
)
todo_wine
ok
(
hRes
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
"Expected HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), got 0x%08x
\n
"
,
hRes
);
ok
(
hRes
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
)
||
broken
(
hRes
==
E_FAIL
/* WinXP SP1 */
),
"Expected HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), got 0x%08x
\n
"
,
hRes
);
else
ok
(
hRes
==
E_PROP_ID_UNSUPPORTED
,
"Expected E_PROP_ID_UNSUPPORTED, got 0x%08x
\n
"
,
hRes
);
ok
(
GetLastError
()
==
0xdeadbeef
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment