Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7c0aaf31
Commit
7c0aaf31
authored
Jun 22, 2006
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme/tests: Add a case sensitivity test.
parent
9cc02dd6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
system.c
dlls/uxtheme/tests/system.c
+10
-0
No files found.
dlls/uxtheme/tests/system.c
View file @
7c0aaf31
...
...
@@ -160,6 +160,7 @@ static void test_OpenThemeData(void)
WCHAR
szInvalidClassList
[]
=
{
'D'
,
'E'
,
'A'
,
'D'
,
'B'
,
'E'
,
'E'
,
'F'
,
0
};
WCHAR
szButtonClassList
[]
=
{
'B'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
0
};
WCHAR
szButtonClassList2
[]
=
{
'b'
,
'U'
,
't'
,
'T'
,
'o'
,
'N'
,
0
};
WCHAR
szClassList
[]
=
{
'B'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
';'
,
'L'
,
'i'
,
's'
,
't'
,
'B'
,
'o'
,
'x'
,
0
};
bThemeActive
=
pIsThemeActive
();
...
...
@@ -245,6 +246,15 @@ static void test_OpenThemeData(void)
"Expected ERROR_SUCCESS, got 0x%08lx
\n
"
,
GetLastError
());
/* Test with bUtToN instead of Button */
SetLastError
(
0xdeadbeef
);
hTheme
=
pOpenThemeData
(
hWnd
,
szButtonClassList2
);
ok
(
hTheme
!=
NULL
,
"got NULL, expected a HTHEME handle
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got 0x%08lx
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
hTheme
=
pOpenThemeData
(
hWnd
,
szClassList
);
ok
(
hTheme
!=
NULL
,
"got NULL, expected a HTHEME handle
\n
"
);
...
...
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