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
748bb3e2
Commit
748bb3e2
authored
Mar 10, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Mar 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm/tests: Add GetParent NULL pointer test.
parent
f5dfa211
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
d3drm.c
dlls/d3drm/tests/d3drm.c
+5
-0
No files found.
dlls/d3drm/tests/d3drm.c
View file @
748bb3e2
...
...
@@ -278,6 +278,11 @@ static void test_Frame(void)
hr
=
IDirect3DRM_CreateFrame
(
pD3DRM
,
NULL
,
&
pFrameP1
);
ok
(
hr
==
D3DRM_OK
,
"Cannot get IDirect3DRMFrame interface (hr = %x)
\n
"
,
hr
);
/* GetParent with NULL pointer */
hr
=
IDirect3DRMFrame_GetParent
(
pFrameP1
,
NULL
);
todo_wine
ok
(
hr
==
D3DRMERR_BADVALUE
,
"Should have returned D3DRMERR_BADVALUE (hr = %x)
\n
"
,
hr
);
CHECK_REFCOUNT
(
pFrameP1
,
1
);
/* [Add/Delete]Child with NULL pointer */
hr
=
IDirect3DRMFrame_AddChild
(
pFrameP1
,
NULL
);
todo_wine
ok
(
hr
==
D3DRMERR_BADOBJECT
,
"Should have returned D3DRMERR_BADOBJECT (hr = %x)
\n
"
,
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