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
d15a807c
Commit
d15a807c
authored
Feb 15, 2016
by
André Hentschel
Committed by
Alexandre Julliard
Feb 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg/tests: Use todo_wine_if() in tests.
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
676e6156
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
reg.c
programs/reg/tests/reg.c
+3
-9
No files found.
programs/reg/tests/reg.c
View file @
d15a807c
...
@@ -72,17 +72,11 @@ static void verify_reg_(unsigned line, HKEY hkey, const char* value,
...
@@ -72,17 +72,11 @@ static void verify_reg_(unsigned line, HKEY hkey, const char* value,
if
(
err
!=
ERROR_SUCCESS
)
if
(
err
!=
ERROR_SUCCESS
)
return
;
return
;
if
(
todo
&
TODO_REG_TYPE
)
todo_wine_if
(
todo
&
TODO_REG_TYPE
)
todo_wine
lok
(
type
==
exp_type
,
"got wrong type %d, expected %d
\n
"
,
type
,
exp_type
);
else
lok
(
type
==
exp_type
,
"got wrong type %d, expected %d
\n
"
,
type
,
exp_type
);
lok
(
type
==
exp_type
,
"got wrong type %d, expected %d
\n
"
,
type
,
exp_type
);
if
(
todo
&
TODO_REG_SIZE
)
todo_wine_if
(
todo
&
TODO_REG_SIZE
)
todo_wine
lok
(
size
==
exp_size
,
"got wrong size %d, expected %d
\n
"
,
size
,
exp_size
);
else
lok
(
size
==
exp_size
,
"got wrong size %d, expected %d
\n
"
,
size
,
exp_size
);
lok
(
size
==
exp_size
,
"got wrong size %d, expected %d
\n
"
,
size
,
exp_size
);
if
(
todo
&
TODO_REG_DATA
)
todo_wine_if
(
todo
&
TODO_REG_DATA
)
todo_wine
lok
(
memcmp
(
data
,
exp_data
,
size
)
==
0
,
"got wrong data
\n
"
);
else
lok
(
memcmp
(
data
,
exp_data
,
size
)
==
0
,
"got wrong data
\n
"
);
lok
(
memcmp
(
data
,
exp_data
,
size
)
==
0
,
"got wrong data
\n
"
);
}
}
...
...
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