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
f8afd05d
Commit
f8afd05d
authored
Mar 24, 2017
by
Hugh McMaster
Committed by
Alexandre Julliard
Mar 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit/tests: Add mixed line concatenation and comment tests.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2a0ffc98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
regedit.c
programs/regedit/tests/regedit.c
+27
-0
No files found.
programs/regedit/tests/regedit.c
View file @
f8afd05d
...
...
@@ -610,6 +610,33 @@ static void test_comments(void)
" 65,6e,61,74,69,6f,6e,00,00
\n\n
"
);
todo_wine
verify_reg
(
hkey
,
"Multi-Line2"
,
REG_MULTI_SZ
,
"Line concat"
,
12
,
0
);
exec_import_str
(
"REGEDIT4
\n\n
"
"[HKEY_CURRENT_USER
\\
"
KEY_BASE
"]
\n
"
"
\"
Multi-Line3
\"
=hex(7):4c,69,6e,
\\
;comment
\n
"
" 65,20,
\\
;comment
\n
"
" 63,6f,6e,
\\
;comment
\n
"
" 63,61,74,
\\
;comment
\n
"
" 65,6e,61,74,69,6f,6e,00,00
\n\n
"
);
todo_wine
verify_reg
(
hkey
,
"Multi-Line3"
,
REG_MULTI_SZ
,
"Line concatenation
\0
"
,
20
,
0
);
exec_import_str
(
"REGEDIT4
\n\n
"
"[HKEY_CURRENT_USER
\\
"
KEY_BASE
"]
\n
"
"
\"
Multi-Line4
\"
=hex(7):4c,69,6e,
\\
;#comment
\n
"
" 65,20,
\\
;#comment
\n
"
" 63,6f,6e,
\\
;#comment
\n
"
" 63,61,74,
\\
;#comment
\n
"
" 65,6e,61,74,69,6f,6e,00,00
\n\n
"
);
todo_wine
verify_reg
(
hkey
,
"Multi-Line4"
,
REG_MULTI_SZ
,
"Line concatenation
\0
"
,
20
,
0
);
exec_import_str
(
"REGEDIT4
\n\n
"
"[HKEY_CURRENT_USER
\\
"
KEY_BASE
"]
\n
"
"
\"
Multi-Line5
\"
=hex(7):4c,69,6e,
\\
;comment
\n
"
" 65,20,
\\
;comment
\n
"
" 63,6f,6e,
\\
;comment
\n
"
" 63,61,74,
\\
#comment
\n
"
" 65,6e,61,74,69,6f,6e,00,00
\n\n
"
);
verify_reg_nonexist
(
hkey
,
"Multi-Line5"
);
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