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
739f4187
Commit
739f4187
authored
Jun 21, 2006
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme/tests: Extra testing for GetLastError.
parent
6f1ab505
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
system.c
dlls/uxtheme/tests/system.c
+8
-1
No files found.
dlls/uxtheme/tests/system.c
View file @
739f4187
...
...
@@ -97,7 +97,12 @@ static void test_SetWindowTheme(void)
SetLastError
(
0xdeadbeef
);
hRes
=
pSetWindowTheme
(
NULL
,
NULL
,
NULL
);
todo_wine
{
ok
(
hRes
==
E_HANDLE
,
"Expected E_HANDLE, got 0x%08lx
\n
"
,
hRes
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got 0x%08lx
\n
"
,
GetLastError
());
}
/* Only do the bare minumum to get a valid hwnd */
hWnd
=
CreateWindowExA
(
0
,
"static"
,
""
,
WS_POPUP
,
0
,
0
,
100
,
100
,
0
,
0
,
0
,
NULL
);
...
...
@@ -106,6 +111,9 @@ static void test_SetWindowTheme(void)
SetLastError
(
0xdeadbeef
);
hRes
=
pSetWindowTheme
(
hWnd
,
NULL
,
NULL
);
ok
(
hRes
==
S_OK
,
"Expected S_OK, got 0x%08lx
\n
"
,
hRes
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got 0x%08lx
\n
"
,
GetLastError
());
}
static
void
test_OpenThemeData
(
void
)
...
...
@@ -118,7 +126,6 @@ static void test_OpenThemeData(void)
WCHAR
szButtonClassList
[]
=
{
'B'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
0
};
WCHAR
szClassList
[]
=
{
'B'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
';'
,
'L'
,
'i'
,
's'
,
't'
,
'B'
,
'o'
,
'x'
,
0
};
SetLastError
(
0xdeadbeef
);
bThemeActive
=
pIsThemeActive
();
/* All NULL */
...
...
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