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
7d66375f
Commit
7d66375f
authored
Jun 22, 2010
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10/tests: Add a trailing '\n' to ok() calls.
parent
fea384ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
effect.c
dlls/d3d10/tests/effect.c
+10
-10
No files found.
dlls/d3d10/tests/effect.c
View file @
7d66375f
...
...
@@ -3536,7 +3536,7 @@ static void test_effect_get_variable_by(ID3D10Device *device)
/* variable f1 */
variable_by_index
=
effect
->
lpVtbl
->
GetVariableByIndex
(
effect
,
0
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p"
,
variable_by_index
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p
\n
"
,
variable_by_index
);
variable
=
effect
->
lpVtbl
->
GetVariableByName
(
effect
,
"f1"
);
ok
(
variable_by_index
==
variable
,
"GetVariableByName got %p, expected %p
\n
"
,
variable
,
variable_by_index
);
...
...
@@ -3546,7 +3546,7 @@ static void test_effect_get_variable_by(ID3D10Device *device)
/* variable f2 */
variable_by_index
=
effect
->
lpVtbl
->
GetVariableByIndex
(
effect
,
1
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p"
,
variable_by_index
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p
\n
"
,
variable_by_index
);
variable
=
effect
->
lpVtbl
->
GetVariableByName
(
effect
,
"f2"
);
ok
(
variable_by_index
==
variable
,
"GetVariableByName got %p, expected %p
\n
"
,
variable
,
variable_by_index
);
...
...
@@ -3556,18 +3556,18 @@ static void test_effect_get_variable_by(ID3D10Device *device)
/* variable f3 */
variable_by_index
=
effect
->
lpVtbl
->
GetVariableByIndex
(
effect
,
2
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p"
,
variable_by_index
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p
\n
"
,
variable_by_index
);
variable
=
effect
->
lpVtbl
->
GetVariableByName
(
effect
,
"f3"
);
ok
(
variable_by_index
==
variable
,
"GetVariableByName got %p, expected %p
\n
"
,
variable
,
variable_by_index
);
variable
=
effect
->
lpVtbl
->
GetVariableBySemantic
(
effect
,
"SV_POSITION"
);
ok
(
variable
!=
null_variable
,
"GetVariableBySemantic failed %p"
,
variable
);
ok
(
variable
!=
variable_by_index
,
"GetVariableBySemantic failed %p"
,
variable
);
ok
(
variable
!=
null_variable
,
"GetVariableBySemantic failed %p
\n
"
,
variable
);
ok
(
variable
!=
variable_by_index
,
"GetVariableBySemantic failed %p
\n
"
,
variable
);
/* variable f4 */
variable_by_index
=
effect
->
lpVtbl
->
GetVariableByIndex
(
effect
,
3
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p"
,
variable_by_index
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p
\n
"
,
variable_by_index
);
variable
=
effect
->
lpVtbl
->
GetVariableByName
(
effect
,
"f4"
);
ok
(
variable_by_index
==
variable
,
"GetVariableByName got %p, expected %p
\n
"
,
variable
,
variable_by_index
);
...
...
@@ -3577,7 +3577,7 @@ static void test_effect_get_variable_by(ID3D10Device *device)
/* variable tex1 */
variable_by_index
=
effect
->
lpVtbl
->
GetVariableByIndex
(
effect
,
4
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p"
,
variable_by_index
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p
\n
"
,
variable_by_index
);
variable
=
effect
->
lpVtbl
->
GetVariableByName
(
effect
,
"tex1"
);
ok
(
variable_by_index
==
variable
,
"GetVariableByName got %p, expected %p
\n
"
,
variable
,
variable_by_index
);
...
...
@@ -3587,14 +3587,14 @@ static void test_effect_get_variable_by(ID3D10Device *device)
/* variable tex2 */
variable_by_index
=
effect
->
lpVtbl
->
GetVariableByIndex
(
effect
,
5
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p"
,
variable_by_index
);
ok
(
null_variable
!=
variable_by_index
,
"GetVariableByIndex failed %p
\n
"
,
variable_by_index
);
variable
=
effect
->
lpVtbl
->
GetVariableByName
(
effect
,
"tex2"
);
ok
(
variable_by_index
==
variable
,
"GetVariableByName got %p, expected %p
\n
"
,
variable
,
variable_by_index
);
variable
=
effect
->
lpVtbl
->
GetVariableBySemantic
(
effect
,
"COLOR1"
);
ok
(
variable
!=
null_variable
,
"GetVariableBySemantic failed %p"
,
variable
);
ok
(
variable
!=
variable_by_index
,
"GetVariableBySemantic failed %p"
,
variable
);
ok
(
variable
!=
null_variable
,
"GetVariableBySemantic failed %p
\n
"
,
variable
);
ok
(
variable
!=
variable_by_index
,
"GetVariableBySemantic failed %p
\n
"
,
variable
);
effect
->
lpVtbl
->
Release
(
effect
);
}
...
...
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