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
f9d4a45f
Commit
f9d4a45f
authored
Feb 27, 2011
by
Rico Schüller
Committed by
Alexandre Julliard
Feb 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler/tests: Improve test_reflection_bound_resources().
parent
a0abef6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
reflection.c
dlls/d3dcompiler_43/tests/reflection.c
+6
-6
No files found.
dlls/d3dcompiler_43/tests/reflection.c
View file @
f9d4a45f
...
...
@@ -1018,22 +1018,22 @@ static void test_reflection_bound_resources(void)
/* check invalid cases */
hr
=
ref11
->
lpVtbl
->
GetResourceBindingDesc
(
ref11
,
0
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDesc failed
%x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDesc failed
, got %x, expected %x
\n
"
,
hr
,
E_INVALIDARG
);
hr
=
ref11
->
lpVtbl
->
GetResourceBindingDesc
(
ref11
,
0xffffffff
,
&
desc
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDesc failed
%x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDesc failed
, got %x, expected %x
\n
"
,
hr
,
E_INVALIDARG
);
hr
=
ref11
->
lpVtbl
->
GetResourceBindingDescByName
(
ref11
,
NULL
,
&
desc
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDescByName failed
%x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDescByName failed
, got %x, expected %x
\n
"
,
hr
,
E_INVALIDARG
);
hr
=
ref11
->
lpVtbl
->
GetResourceBindingDescByName
(
ref11
,
"sam"
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDescByName failed
%x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDescByName failed
, got %x, expected %x
\n
"
,
hr
,
E_INVALIDARG
);
hr
=
ref11
->
lpVtbl
->
GetResourceBindingDescByName
(
ref11
,
"invalid"
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDescByName failed
%x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDescByName failed
, got %x, expected %x
\n
"
,
hr
,
E_INVALIDARG
);
hr
=
ref11
->
lpVtbl
->
GetResourceBindingDescByName
(
ref11
,
"invalid"
,
&
desc
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDescByName failed
%x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"GetResourceBindingDescByName failed
, got %x, expected %x
\n
"
,
hr
,
E_INVALIDARG
);
/* GetResourceBindingDesc */
for
(
i
=
0
;
i
<
sizeof
(
test_reflection_bound_resources_result
)
/
sizeof
(
*
test_reflection_bound_resources_result
);
++
i
)
...
...
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