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
ee3a3153
Commit
ee3a3153
authored
Jan 23, 2021
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Jan 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Add a test for CF_NOSCRIPTSEL.
Signed-off-by:
Akihiro Sagawa
<
sagawa.aki@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6ebf5ed0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
fontdlg.c
dlls/comdlg32/tests/fontdlg.c
+6
-0
No files found.
dlls/comdlg32/tests/fontdlg.c
View file @
ee3a3153
...
...
@@ -110,8 +110,14 @@ static void test_ChooseFontA(void)
ok
(
cfa
.
iPointSize
==
expected_pointsize
,
"Expected %i, got %i
\n
"
,
expected_pointsize
,
cfa
.
iPointSize
);
ok
(
lfa
.
lfHeight
==
expected_lfheight
,
"Expected %i, got %i
\n
"
,
expected_lfheight
,
lfa
.
lfHeight
);
ok
(
lfa
.
lfWeight
==
FW_NORMAL
,
"Expected FW_NORMAL, got %i
\n
"
,
lfa
.
lfWeight
);
ok
(
lfa
.
lfCharSet
==
SYMBOL_CHARSET
,
"Expected SYMBOL_CHARSET, got %i
\n
"
,
lfa
.
lfCharSet
);
ok
(
strcmp
(
lfa
.
lfFaceName
,
"Symbol"
)
==
0
,
"Expected Symbol, got %s
\n
"
,
lfa
.
lfFaceName
);
cfa
.
Flags
=
CF_ENABLEHOOK
|
CF_INITTOLOGFONTSTRUCT
|
CF_SCREENFONTS
|
CF_NOSCRIPTSEL
;
ret
=
ChooseFontA
(
&
cfa
);
ok
(
ret
==
TRUE
,
"ChooseFontA returned FALSE
\n
"
);
todo_wine
ok
(
lfa
.
lfCharSet
==
DEFAULT_CHARSET
,
"Expected DEFAULT_CHARSET, got %i
\n
"
,
lfa
.
lfCharSet
);
printer_ic
=
get_printer_ic
();
if
(
!
printer_ic
)
skip
(
"can't get a DC for a local printer
\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