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
16ab42f9
Commit
16ab42f9
authored
Apr 23, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme/tests: Remove some trace messages.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9e5145a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
22 deletions
+6
-22
system.c
dlls/uxtheme/tests/system.c
+6
-22
No files found.
dlls/uxtheme/tests/system.c
View file @
16ab42f9
...
...
@@ -77,7 +77,6 @@ static void test_GetWindowTheme(void)
{
HTHEME
hTheme
;
HWND
hWnd
;
BOOL
bDestroyed
;
SetLastError
(
0xdeadbeef
);
hTheme
=
GetWindowTheme
(
NULL
);
...
...
@@ -89,7 +88,7 @@ static void test_GetWindowTheme(void)
/* Only do the bare minimum to get a valid hwnd */
hWnd
=
CreateWindowExA
(
0
,
"static"
,
""
,
WS_POPUP
,
0
,
0
,
100
,
100
,
0
,
0
,
0
,
NULL
);
if
(
!
hWnd
)
return
;
ok
(
hWnd
!=
NULL
,
"Failed to create a test window.
\n
"
)
;
SetLastError
(
0xdeadbeef
);
hTheme
=
GetWindowTheme
(
hWnd
);
...
...
@@ -98,17 +97,13 @@ static void test_GetWindowTheme(void)
"Expected 0xdeadbeef, got 0x%08x
\n
"
,
GetLastError
());
bDestroyed
=
DestroyWindow
(
hWnd
);
if
(
!
bDestroyed
)
trace
(
"Window %p couldn't be destroyed : 0x%08x
\n
"
,
hWnd
,
GetLastError
());
DestroyWindow
(
hWnd
);
}
static
void
test_SetWindowTheme
(
void
)
{
HRESULT
hRes
;
HWND
hWnd
;
BOOL
bDestroyed
;
hRes
=
SetWindowTheme
(
NULL
,
NULL
,
NULL
);
todo_wine
...
...
@@ -116,15 +111,12 @@ todo_wine
/* Only do the bare minimum to get a valid hwnd */
hWnd
=
CreateWindowExA
(
0
,
"static"
,
""
,
WS_POPUP
,
0
,
0
,
100
,
100
,
0
,
0
,
0
,
NULL
);
if
(
!
hWnd
)
return
;
ok
(
hWnd
!=
NULL
,
"Failed to create a test window.
\n
"
)
;
hRes
=
SetWindowTheme
(
hWnd
,
NULL
,
NULL
);
ok
(
hRes
==
S_OK
,
"Expected S_OK, got 0x%08x
\n
"
,
hRes
);
bDestroyed
=
DestroyWindow
(
hWnd
);
if
(
!
bDestroyed
)
trace
(
"Window %p couldn't be destroyed : 0x%08x
\n
"
,
hWnd
,
GetLastError
());
DestroyWindow
(
hWnd
);
}
static
void
test_OpenThemeData
(
void
)
...
...
@@ -133,7 +125,6 @@ static void test_OpenThemeData(void)
HWND
hWnd
;
BOOL
bThemeActive
;
HRESULT
hRes
;
BOOL
bDestroyed
;
BOOL
bTPDefined
;
WCHAR
szInvalidClassList
[]
=
{
'D'
,
'E'
,
'A'
,
'D'
,
'B'
,
'E'
,
'E'
,
'F'
,
0
};
...
...
@@ -274,10 +265,7 @@ static void test_OpenThemeData(void)
GetLastError
());
}
bDestroyed
=
DestroyWindow
(
hWnd
);
if
(
!
bDestroyed
)
trace
(
"Window %p couldn't be destroyed : 0x%08x
\n
"
,
hWnd
,
GetLastError
());
DestroyWindow
(
hWnd
);
}
static
void
test_OpenThemeDataEx
(
void
)
...
...
@@ -285,7 +273,6 @@ static void test_OpenThemeDataEx(void)
HTHEME
hTheme
;
HWND
hWnd
;
BOOL
bThemeActive
;
BOOL
bDestroyed
;
WCHAR
szInvalidClassList
[]
=
{
'D'
,
'E'
,
'A'
,
'D'
,
'B'
,
'E'
,
'E'
,
'F'
,
0
};
WCHAR
szButtonClassList
[]
=
{
'B'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
0
};
...
...
@@ -419,10 +406,7 @@ static void test_OpenThemeDataEx(void)
"Expected ERROR_SUCCESS, got 0x%08x
\n
"
,
GetLastError
());
bDestroyed
=
DestroyWindow
(
hWnd
);
if
(
!
bDestroyed
)
trace
(
"Window %p couldn't be destroyed : 0x%08x
\n
"
,
hWnd
,
GetLastError
());
DestroyWindow
(
hWnd
);
}
static
void
test_GetCurrentThemeName
(
void
)
...
...
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