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
41663974
Commit
41663974
authored
Mar 05, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36/tests: Add a trailing '\n' to ok() calls.
parent
e0b2307f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
mesh.c
dlls/d3dx9_36/tests/mesh.c
+8
-8
No files found.
dlls/d3dx9_36/tests/mesh.c
View file @
41663974
...
...
@@ -1377,7 +1377,7 @@ static void D3DXCreateBoxTest(void)
wnd
=
CreateWindow
(
"d3dx9_test_wc"
,
"d3dx9_test"
,
WS_SYSMENU
|
WS_POPUP
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
ok
(
wnd
!=
NULL
,
"Expected to have a window, received NULL"
);
ok
(
wnd
!=
NULL
,
"Expected to have a window, received NULL
\n
"
);
if
(
!
wnd
)
{
skip
(
"Couldn't create application window
\n
"
);
...
...
@@ -1405,26 +1405,26 @@ static void D3DXCreateBoxTest(void)
}
hr
=
D3DXCreateBuffer
(
36
*
sizeof
(
DWORD
),
&
ppBuffer
);
ok
(
hr
==
D3D_OK
,
"Expected D3D_OK, received %#x"
,
hr
);
ok
(
hr
==
D3D_OK
,
"Expected D3D_OK, received %#x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
end
;
hr
=
D3DXCreateBox
(
device
,
2
.
0
f
,
20
.
0
f
,
4
.
9
f
,
NULL
,
&
ppBuffer
);
todo_wine
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, received %#x"
,
hr
);
todo_wine
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, received %#x
\n
"
,
hr
);
hr
=
D3DXCreateBox
(
NULL
,
22
.
0
f
,
20
.
0
f
,
4
.
9
f
,
&
box
,
&
ppBuffer
);
todo_wine
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, received %#x"
,
hr
);
todo_wine
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, received %#x
\n
"
,
hr
);
hr
=
D3DXCreateBox
(
device
,
-
2
.
0
f
,
20
.
0
f
,
4
.
9
f
,
&
box
,
&
ppBuffer
);
todo_wine
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, received %#x"
,
hr
);
todo_wine
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, received %#x
\n
"
,
hr
);
hr
=
D3DXCreateBox
(
device
,
22
.
0
f
,
-
20
.
0
f
,
4
.
9
f
,
&
box
,
&
ppBuffer
);
todo_wine
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, received %#x"
,
hr
);
todo_wine
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, received %#x
\n
"
,
hr
);
hr
=
D3DXCreateBox
(
device
,
22
.
0
f
,
20
.
0
f
,
-
4
.
9
f
,
&
box
,
&
ppBuffer
);
todo_wine
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, received %#x"
,
hr
);
todo_wine
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, received %#x
\n
"
,
hr
);
hr
=
D3DXCreateBox
(
device
,
10
.
9
f
,
20
.
0
f
,
4
.
9
f
,
&
box
,
&
ppBuffer
);
todo_wine
ok
(
hr
==
D3D_OK
,
"Expected D3D_OK, received %#x
"
,
hr
);
todo_wine
ok
(
hr
==
D3D_OK
,
"Expected D3D_OK, received %#x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
{
...
...
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