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
d85c3e7c
Commit
d85c3e7c
authored
Oct 27, 2008
by
Reece Dunn
Committed by
Alexandre Julliard
Oct 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Fixed the todo blocks in the IsThemed tests when theming is inactive.
parent
20d8e468
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
system.c
dlls/uxtheme/system.c
+1
-0
system.c
dlls/uxtheme/tests/system.c
+0
-2
No files found.
dlls/uxtheme/system.c
View file @
d85c3e7c
...
@@ -566,6 +566,7 @@ BOOL WINAPI IsAppThemed(void)
...
@@ -566,6 +566,7 @@ BOOL WINAPI IsAppThemed(void)
BOOL
WINAPI
IsThemeActive
(
void
)
BOOL
WINAPI
IsThemeActive
(
void
)
{
{
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
SetLastError
(
ERROR_SUCCESS
);
return
bThemeActive
;
return
bThemeActive
;
}
}
...
...
dlls/uxtheme/tests/system.c
View file @
d85c3e7c
...
@@ -85,7 +85,6 @@ static void test_IsThemed(void)
...
@@ -85,7 +85,6 @@ static void test_IsThemed(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
bThemeActive
=
pIsThemeActive
();
bThemeActive
=
pIsThemeActive
();
trace
(
"Theming is %s
\n
"
,
(
bThemeActive
)
?
"active"
:
"inactive"
);
trace
(
"Theming is %s
\n
"
,
(
bThemeActive
)
?
"active"
:
"inactive"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got 0x%08x
\n
"
,
"Expected ERROR_SUCCESS, got 0x%08x
\n
"
,
GetLastError
());
GetLastError
());
...
@@ -101,7 +100,6 @@ static void test_IsThemed(void)
...
@@ -101,7 +100,6 @@ static void test_IsThemed(void)
/* Although Wine currently returns FALSE, the logic behind it is wrong. It is not a todo_wine though in the testing sense */
/* 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
(
bAppThemed
==
FALSE
,
"Expected FALSE as this test executable is not (yet) themed.
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got 0x%08x
\n
"
,
"Expected ERROR_SUCCESS, got 0x%08x
\n
"
,
GetLastError
());
GetLastError
());
...
...
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