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
e91243a9
Commit
e91243a9
authored
Mar 14, 2024
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 14, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx10/tests: Remove todo's from now passing tests.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
866cb1ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
25 deletions
+20
-25
d3dx10.c
dlls/d3dx10_43/tests/d3dx10.c
+20
-25
No files found.
dlls/d3dx10_43/tests/d3dx10.c
View file @
e91243a9
...
...
@@ -4375,11 +4375,10 @@ static void test_create_effect_from_memory(void)
effect
=
(
ID3D10Effect
*
)
0xdeadbeef
;
hr
=
D3DX10CreateEffectFromMemory
(
test_fx_source
,
strlen
(
test_fx_source
)
+
1
,
NULL
,
NULL
,
NULL
,
"fx_4_0"
,
0x0
,
0x0
,
device
,
NULL
,
NULL
,
&
effect
,
&
errors
,
NULL
);
todo_wine
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
!
errors
,
"Got unexpected errors %p.
\n
"
,
errors
);
todo_wine
ok
(
!!
effect
&&
effect
!=
(
ID3D10Effect
*
)
0xdeadbeef
,
"Got unexpected effect %p.
\n
"
,
effect
);
if
(
hr
==
S_OK
)
effect
->
lpVtbl
->
Release
(
effect
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
ok
(
!
errors
,
"Got unexpected errors %p.
\n
"
,
errors
);
ok
(
!!
effect
&&
effect
!=
(
ID3D10Effect
*
)
0xdeadbeef
,
"Got unexpected effect %p.
\n
"
,
effect
);
effect
->
lpVtbl
->
Release
(
effect
);
refcount
=
ID3D10Device_Release
(
device
);
ok
(
!
refcount
,
"Got unexpected refcount %lu.
\n
"
,
refcount
);
...
...
@@ -4465,21 +4464,19 @@ static void test_create_effect_from_file(void)
effect
=
(
ID3D10Effect
*
)
0xdeadbeef
;
hr
=
D3DX10CreateEffectFromFileW
(
path
,
NULL
,
NULL
,
"fx_4_0"
,
0x0
,
0x0
,
device
,
NULL
,
NULL
,
&
effect
,
&
errors
,
NULL
);
todo_wine
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
!
errors
,
"Got unexpected errors %p.
\n
"
,
errors
);
todo_wine
ok
(
effect
&&
effect
!=
(
ID3D10Effect
*
)
0xdeadbeef
,
"Got unexpected effect %p.
\n
"
,
effect
);
if
(
hr
==
S_OK
)
effect
->
lpVtbl
->
Release
(
effect
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
ok
(
!
errors
,
"Got unexpected errors %p.
\n
"
,
errors
);
ok
(
effect
&&
effect
!=
(
ID3D10Effect
*
)
0xdeadbeef
,
"Got unexpected effect %p.
\n
"
,
effect
);
effect
->
lpVtbl
->
Release
(
effect
);
errors
=
(
ID3D10Blob
*
)
0xdeadbeef
;
effect
=
(
ID3D10Effect
*
)
0xdeadbeef
;
hr
=
D3DX10CreateEffectFromFileA
(
get_str_a
(
path
),
NULL
,
NULL
,
"fx_4_0"
,
0x0
,
0x0
,
device
,
NULL
,
NULL
,
&
effect
,
&
errors
,
NULL
);
todo_wine
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
!
errors
,
"Got unexpected errors %p.
\n
"
,
errors
);
todo_wine
ok
(
effect
&&
effect
!=
(
ID3D10Effect
*
)
0xdeadbeef
,
"Got unexpected effect %p.
\n
"
,
effect
);
if
(
hr
==
S_OK
)
effect
->
lpVtbl
->
Release
(
effect
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
ok
(
!
errors
,
"Got unexpected errors %p.
\n
"
,
errors
);
ok
(
effect
&&
effect
!=
(
ID3D10Effect
*
)
0xdeadbeef
,
"Got unexpected effect %p.
\n
"
,
effect
);
effect
->
lpVtbl
->
Release
(
effect
);
delete_file
(
test_file_name
);
...
...
@@ -4584,21 +4581,19 @@ static void test_create_effect_from_resource(void)
effect
=
(
ID3D10Effect
*
)
0xdeadbeef
;
hr
=
D3DX10CreateEffectFromResourceW
(
resource_module
,
test_resource_name
,
NULL
,
NULL
,
NULL
,
"fx_4_0"
,
0
,
0
,
device
,
NULL
,
NULL
,
&
effect
,
&
errors
,
NULL
);
todo_wine
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
!
errors
,
"Got unexpected errors %p.
\n
"
,
errors
);
todo_wine
ok
(
effect
&&
effect
!=
(
ID3D10Effect
*
)
0xdeadbeef
,
"Got unexpected effect %p.
\n
"
,
effect
);
if
(
hr
==
S_OK
)
effect
->
lpVtbl
->
Release
(
effect
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
ok
(
!
errors
,
"Got unexpected errors %p.
\n
"
,
errors
);
ok
(
effect
&&
effect
!=
(
ID3D10Effect
*
)
0xdeadbeef
,
"Got unexpected effect %p.
\n
"
,
effect
);
effect
->
lpVtbl
->
Release
(
effect
);
errors
=
(
ID3D10Blob
*
)
0xdeadbeef
;
effect
=
(
ID3D10Effect
*
)
0xdeadbeef
;
hr
=
D3DX10CreateEffectFromResourceA
(
resource_module
,
get_str_a
(
test_resource_name
),
NULL
,
NULL
,
NULL
,
"fx_4_0"
,
0
,
0
,
device
,
NULL
,
NULL
,
&
effect
,
&
errors
,
NULL
);
todo_wine
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
!
errors
,
"Got unexpected errors %p.
\n
"
,
errors
);
todo_wine
ok
(
effect
&&
effect
!=
(
ID3D10Effect
*
)
0xdeadbeef
,
"Got unexpected effect %p.
\n
"
,
effect
);
if
(
hr
==
S_OK
)
effect
->
lpVtbl
->
Release
(
effect
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
ok
(
!
errors
,
"Got unexpected errors %p.
\n
"
,
errors
);
ok
(
effect
&&
effect
!=
(
ID3D10Effect
*
)
0xdeadbeef
,
"Got unexpected effect %p.
\n
"
,
effect
);
effect
->
lpVtbl
->
Release
(
effect
);
delete_resource_module
(
test_resource_name
,
resource_module
);
...
...
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