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
907b1b4a
Commit
907b1b4a
authored
Feb 06, 2023
by
Ivan Chikish
Committed by
Alexandre Julliard
Feb 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Check last error on ' '.
parent
c5663827
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
font.c
dlls/gdi32/tests/font.c
+4
-0
No files found.
dlls/gdi32/tests/font.c
View file @
907b1b4a
...
...
@@ -4754,6 +4754,7 @@ static void test_GetGlyphOutline(void)
if
(
GetLastError
()
!=
ERROR_CALL_NOT_IMPLEMENTED
)
{
ok
(
ret
==
0
,
"GetGlyphOutlineW should return 0 buffer size for space char
\n
"
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"expected 0xdeadbeef, got %lu
\n
"
,
GetLastError
());
ok
(
gm
.
gmBlackBoxX
==
1
,
"Expected 1, got %u
\n
"
,
gm
.
gmBlackBoxX
);
ok
(
gm
.
gmBlackBoxY
==
1
,
"Expected 1, got %u
\n
"
,
gm
.
gmBlackBoxY
);
}
...
...
@@ -4789,6 +4790,7 @@ static void test_GetGlyphOutline(void)
ok
(
ret
!=
GDI_ERROR
,
"%2d:GetGlyphOutlineW should succeed, got %d
\n
"
,
fmt
[
i
],
ret
);
else
ok
(
ret
==
0
,
"%2d:GetGlyphOutlineW should return 0, got %d
\n
"
,
fmt
[
i
],
ret
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"expected 0xdeadbeef, got %lu
\n
"
,
GetLastError
());
ok
(
gm
.
gmBlackBoxX
==
1
,
"%2d:expected 1, got %u
\n
"
,
fmt
[
i
],
gm
.
gmBlackBoxX
);
ok
(
gm
.
gmBlackBoxY
==
1
,
"%2d:expected 1, got %u
\n
"
,
fmt
[
i
],
gm
.
gmBlackBoxY
);
}
...
...
@@ -4802,6 +4804,7 @@ static void test_GetGlyphOutline(void)
ok
(
ret
!=
GDI_ERROR
,
"%2d:GetGlyphOutlineW should succeed, got %d
\n
"
,
fmt
[
i
],
ret
);
else
ok
(
ret
==
0
,
"%2d:GetGlyphOutlineW should return 0, got %d
\n
"
,
fmt
[
i
],
ret
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"expected 0xdeadbeef, got %lu
\n
"
,
GetLastError
());
ok
(
gm
.
gmBlackBoxX
==
1
,
"%2d:expected 1, got %u
\n
"
,
fmt
[
i
],
gm
.
gmBlackBoxX
);
ok
(
gm
.
gmBlackBoxY
==
1
,
"%2d:expected 1, got %u
\n
"
,
fmt
[
i
],
gm
.
gmBlackBoxY
);
}
...
...
@@ -4815,6 +4818,7 @@ static void test_GetGlyphOutline(void)
ok
(
ret
!=
GDI_ERROR
,
"%2d:GetGlyphOutlineW should succeed, got %d
\n
"
,
fmt
[
i
],
ret
);
else
ok
(
ret
==
0
,
"%2d:GetGlyphOutlineW should return 0, got %d
\n
"
,
fmt
[
i
],
ret
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"expected 0xdeadbeef, got %lu
\n
"
,
GetLastError
());
ok
(
gm
.
gmBlackBoxX
==
1
,
"%2d:expected 1, got %u
\n
"
,
fmt
[
i
],
gm
.
gmBlackBoxX
);
ok
(
gm
.
gmBlackBoxY
==
1
,
"%2d:expected 1, got %u
\n
"
,
fmt
[
i
],
gm
.
gmBlackBoxY
);
}
...
...
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