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
f5c49aaf
Commit
f5c49aaf
authored
Apr 02, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Apr 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme/tests: Don't test for themed app.
parent
47f8d487
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
system.c
dlls/uxtheme/tests/system.c
+1
-14
No files found.
dlls/uxtheme/tests/system.c
View file @
f5c49aaf
...
@@ -81,24 +81,11 @@ static void test_IsThemed(void)
...
@@ -81,24 +81,11 @@ static void test_IsThemed(void)
BOOL
bAppThemed
;
BOOL
bAppThemed
;
BOOL
bTPDefined
;
BOOL
bTPDefined
;
SetLastError
(
0xdeadbeef
);
bThemeActive
=
pIsThemeActive
();
bThemeActive
=
pIsThemeActive
();
trace
(
"Theming is %s
\n
"
,
(
bThemeActive
)
?
"active"
:
"inactive"
);
trace
(
"Theming is %s
\n
"
,
(
bThemeActive
)
?
"active"
:
"inactive"
);
/* This test is not themed */
SetLastError
(
0xdeadbeef
);
bAppThemed
=
pIsAppThemed
();
bAppThemed
=
pIsAppThemed
();
trace
(
"Test executable is %s
\n
"
,
(
bAppThemed
)
?
"themed"
:
"not themed"
);
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
());
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
bTPDefined
=
pIsThemePartDefined
(
NULL
,
0
,
0
);
bTPDefined
=
pIsThemePartDefined
(
NULL
,
0
,
0
);
...
...
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