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
50619b6e
Commit
50619b6e
authored
Oct 13, 2017
by
Hugh McMaster
Committed by
Alexandre Julliard
Oct 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg/tests: Add REG_NONE to the empty hex data import tests.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e426c353
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
reg.c
programs/reg/tests/reg.c
+6
-2
No files found.
programs/reg/tests/reg.c
View file @
50619b6e
...
...
@@ -2356,7 +2356,8 @@ static void test_import(void)
"
\"
Wine68e
\"
=hex(7):
\n
"
"
\"
Wine68f
\"
=hex(100):
\n
"
"
\"
Wine68g
\"
=hex(abcd):
\n
"
"
\"
Wine68h
\"
=hex:
\n\n
"
,
&
r
);
"
\"
Wine68h
\"
=hex:
\n
"
"
\"
Wine68i
\"
=hex(0):
\n\n
"
,
&
r
);
ok
(
r
==
REG_EXIT_SUCCESS
,
"got exit code %d, expected 0
\n
"
,
r
);
verify_reg
(
hkey
,
"Wine68a"
,
REG_SZ
,
NULL
,
0
,
0
);
verify_reg
(
hkey
,
"Wine68b"
,
REG_EXPAND_SZ
,
NULL
,
0
,
TODO_REG_SIZE
);
...
...
@@ -2366,6 +2367,7 @@ static void test_import(void)
verify_reg
(
hkey
,
"Wine68f"
,
0x100
,
NULL
,
0
,
0
);
verify_reg
(
hkey
,
"Wine68g"
,
0xabcd
,
NULL
,
0
,
0
);
verify_reg
(
hkey
,
"Wine68h"
,
REG_BINARY
,
NULL
,
0
,
0
);
verify_reg
(
hkey
,
"Wine68i"
,
REG_NONE
,
NULL
,
0
,
0
);
err
=
RegCloseKey
(
hkey
);
ok
(
err
==
ERROR_SUCCESS
,
"got %d, expected 0
\n
"
,
err
);
...
...
@@ -3850,7 +3852,8 @@ static void test_unicode_import(void)
"
\"
Wine68e
\"
=hex(7):
\n
"
"
\"
Wine68f
\"
=hex(100):
\n
"
"
\"
Wine68g
\"
=hex(abcd):
\n
"
"
\"
Wine68h
\"
=hex:
\n\n
"
,
&
r
);
"
\"
Wine68h
\"
=hex:
\n
"
"
\"
Wine68i
\"
=hex(0):
\n\n
"
,
&
r
);
ok
(
r
==
REG_EXIT_SUCCESS
,
"got exit code %d, expected 0
\n
"
,
r
);
verify_reg
(
hkey
,
"Wine68a"
,
REG_SZ
,
NULL
,
0
,
0
);
verify_reg
(
hkey
,
"Wine68b"
,
REG_EXPAND_SZ
,
NULL
,
0
,
TODO_REG_SIZE
);
...
...
@@ -3860,6 +3863,7 @@ static void test_unicode_import(void)
verify_reg
(
hkey
,
"Wine68f"
,
0x100
,
NULL
,
0
,
0
);
verify_reg
(
hkey
,
"Wine68g"
,
0xabcd
,
NULL
,
0
,
0
);
verify_reg
(
hkey
,
"Wine68h"
,
REG_BINARY
,
NULL
,
0
,
0
);
verify_reg
(
hkey
,
"Wine68i"
,
REG_NONE
,
NULL
,
0
,
0
);
err
=
RegCloseKey
(
hkey
);
ok
(
err
==
ERROR_SUCCESS
,
"got %d, expected 0
\n
"
,
err
);
...
...
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