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
467def83
Commit
467def83
authored
Apr 11, 2017
by
Hugh McMaster
Committed by
Alexandre Julliard
Apr 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit/tests: Add a few more import tests.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
098be09b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
regedit.c
programs/regedit/tests/regedit.c
+10
-1
No files found.
programs/regedit/tests/regedit.c
View file @
467def83
...
...
@@ -510,11 +510,13 @@ static void test_invalid_import(void)
"
\"
Test12a
\"
=dword:
\n
"
"
\"
Test12b
\"
=dword:hello
\n
"
"
\"
Test12c
\"
=dword:123456789
\n
"
"
\"
Test12d
\"
=dword:012345678
\n\n
"
);
"
\"
Test12d
\"
=dword:012345678
\n
"
"
\"
Test12e
\"
=dword:000000001
\n\n
"
);
verify_reg_nonexist
(
hkey
,
"Test12a"
);
verify_reg_nonexist
(
hkey
,
"Test12b"
);
verify_reg_nonexist
(
hkey
,
"Test12c"
);
verify_reg_nonexist
(
hkey
,
"Test12d"
);
verify_reg_nonexist
(
hkey
,
"Test12e"
);
exec_import_str
(
"REGEDIT4
\n\n
"
"[HKEY_CURRENT_USER
\\
"
KEY_BASE
"]
\n
"
...
...
@@ -532,6 +534,13 @@ static void test_invalid_import(void)
verify_reg_nonexist
(
hkey
,
"Test14b"
);
verify_reg_nonexist
(
hkey
,
"Test14c"
);
exec_import_str
(
"REGEDIT4
\n\n
"
"[HKEY_CURRENT_USER
\\
"
KEY_BASE
"]
\n
"
"
\"
Test15a
\"
=
\"
foo
\"
bar
\"\n
"
"
\"
Test15b
\"
=
\"
foo
\"\"
bar
\"\n\n
"
);
todo_wine
verify_reg_nonexist
(
hkey
,
"Test15a"
);
todo_wine
verify_reg_nonexist
(
hkey
,
"Test15b"
);
RegCloseKey
(
hkey
);
lr
=
RegDeleteKeyA
(
HKEY_CURRENT_USER
,
KEY_BASE
);
...
...
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