Hugh McMaster
|
9ce39bd213
|
reg/tests: Compare registry export data with expected data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-18 15:22:48 +02:00 |
Hugh McMaster
|
f886f9f3d8
|
reg/tests: Test the placement of the overwrite file flag [/y].
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-18 15:22:34 +02:00 |
Hugh McMaster
|
bfe5fed0b3
|
reg/tests: Combine and rename the test_import_*str functions.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-18 15:22:27 +02:00 |
Hugh McMaster
|
08a7836ef3
|
reg/tests: Use a helper function to write registry files.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-18 15:22:17 +02:00 |
Hugh McMaster
|
733350b926
|
reg/tests: Use a helper function to add registry values.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-18 15:22:11 +02:00 |
Hugh McMaster
|
f40ef077f5
|
reg/tests: Use a helper function to create registry keys.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-18 15:22:05 +02:00 |
Hugh McMaster
|
41236123bb
|
reg/tests: Add basic tests for the export operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-06 20:01:54 +02:00 |
Hugh McMaster
|
e3395d50a7
|
reg/tests: Delete the test registry key before starting each test.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-05 17:52:19 +02:00 |
Hugh McMaster
|
39e0e81c21
|
reg: Null-terminate incomplete REG_EXPAND_SZ and REG_MULTI_SZ Unicode data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-28 14:57:10 +02:00 |
Hugh McMaster
|
82fc4c8c62
|
reg: Close any open registry keys before starting the key deletion process.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-25 08:08:07 +02:00 |
Hugh McMaster
|
b7c838bf98
|
reg/tests: Add some mixed key creation and deletion tests.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-25 08:08:01 +02:00 |
Hugh McMaster
|
e0a97d32e2
|
reg/tests: Free the WCHAR memory buffer if CreateFile() fails.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-24 08:41:58 +09:00 |
Hugh McMaster
|
c618e99475
|
reg/tests: Pass MultiByteToWideChar() the buffer size in characters.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-24 08:41:51 +09:00 |
Hugh McMaster
|
5266ef3bc5
|
reg/tests: Fix two copy/paste errors.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:29:43 +09:00 |
Hugh McMaster
|
5de883cc9f
|
reg: Use the correct return codes during the import operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:29:31 +09:00 |
Hugh McMaster
|
56e58e47af
|
reg: Delete registry keys via the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:29:23 +09:00 |
Hugh McMaster
|
d90f2a55bf
|
reg: Delete registry values via the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:29:16 +09:00 |
Hugh McMaster
|
32d53681b9
|
reg: Import hex data via the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:28:55 +09:00 |
Hugh McMaster
|
f1874c1667
|
reg: Import REG_DWORD data via the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:28:44 +09:00 |
Hugh McMaster
|
038f1c6986
|
reg: Parse data types and import REG_SZ data via the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:28:34 +09:00 |
Hugh McMaster
|
05659343c1
|
reg: Parse key names and value names in the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:28:24 +09:00 |
Hugh McMaster
|
3e87a70e82
|
reg: Introduce a partial state machine for importing Windows 3.1 registry data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:27:38 +09:00 |
Hugh McMaster
|
aa386af42a
|
reg: Add initial support for the import operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:25:52 +09:00 |
Hugh McMaster
|
f95f3fb1bf
|
reg/tests: Add tests for importing Windows 3.1 registry data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-08 20:13:56 +09:00 |
Sebastian Lackner
|
db11f739ea
|
reg/tests: Don't call RegCloseKey on uninitialized memory.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-12 19:51:53 +02:00 |
Hugh McMaster
|
a0deb171e1
|
reg/tests: Test the effects of EOF on hex data during concatenation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-07 19:48:32 +02:00 |
Hugh McMaster
|
25de5c9255
|
reg/tests: Add some more tests for importing hex data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-06 18:50:48 +02:00 |
Hugh McMaster
|
48a2105e03
|
reg/tests: Add another test for "0x" prefixes in the hex data type.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-06 18:50:48 +02:00 |
Hugh McMaster
|
554d996c01
|
reg/tests: Test whether the "0x" prefix is valid when importing hex data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-04 19:48:57 +02:00 |
Hugh McMaster
|
c50a1d9431
|
reg/tests: Test whether registry keys ending with trailing backslashes are imported and created.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-04 19:48:54 +02:00 |
Hugh McMaster
|
499cce6e76
|
reg/tests: Test the effect of whitespace-only lines during hex data concatenation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-03 15:57:44 +02:00 |
Hugh McMaster
|
60c0372223
|
reg/tests: Test comma placement when parsing hex data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-29 18:32:05 +02:00 |
Hugh McMaster
|
3d47e94f44
|
reg/tests: Test whether EOF invalidates a hex data line ending in a backslash.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-27 19:13:28 +02:00 |
Hugh McMaster
|
09b600cdaf
|
reg/tests: Test whether a forward slash can be used as a concatenation marker.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-27 19:13:25 +02:00 |
Hugh McMaster
|
b5b1ed2c85
|
reg/tests: Test the effects of comments and new lines that appear between valid hex data lines.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-27 19:13:22 +02:00 |
Hugh McMaster
|
2a992c0caa
|
reg/tests: Test whether a line beginning with a backslash can follow a line ending in a backslash.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-27 19:13:16 +02:00 |
Hugh McMaster
|
72ecfe5507
|
reg/tests: Test line concatenation with comments, new lines and comma variations before a new default registry value.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-27 19:13:14 +02:00 |
Hugh McMaster
|
c7ca2d8108
|
reg/tests: Test line concatenation with comments, new lines and comma variations before a new registry value.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-27 19:13:11 +02:00 |
Hugh McMaster
|
6731faa5ad
|
reg/tests: Test line concatenation with a new registry key on the next line.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-27 19:12:55 +02:00 |
Hugh McMaster
|
5e0d406120
|
reg/tests: Test backslashes with whitespace variations and comma placement.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-27 19:12:51 +02:00 |
Hugh McMaster
|
e8b260f02a
|
reg/tests: Use the verify_key*() functions where possible.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-26 18:19:28 +02:00 |
Hugh McMaster
|
ceebbfc1ca
|
reg/tests: Use verify_key() for consistency with the verify_reg*() functions.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-26 18:19:21 +02:00 |
Hugh McMaster
|
22f57c7888
|
reg/tests: Separate Unicode import tests from the combined import tests.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-26 18:19:13 +02:00 |
Hugh McMaster
|
fdb452f8de
|
reg/tests: Add tests to determine the effects of backslashes in hex data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-23 15:19:34 +02:00 |
Hugh McMaster
|
86400f7236
|
reg/tests: Add the final comma to the comma-placement test.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-23 15:19:32 +02:00 |
Hugh McMaster
|
116f8d2efe
|
reg/tests: Add tests for parsing hex data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-22 19:25:18 +02:00 |
Hugh McMaster
|
103c8bb6d4
|
reg/tests: Test whether "" is interpreted as the default registry value.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-15 15:02:01 +02:00 |
Hugh McMaster
|
c882a06429
|
reg/tests: Output "(Default)" when referring to the default registry value.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-15 15:01:56 +02:00 |
Hugh McMaster
|
325e672546
|
reg/tests: Test the accepted range of the hex-based data types.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-13 20:56:19 +02:00 |
Hugh McMaster
|
16b1ab0e92
|
reg/tests: Test case sensitivity when creating and deleting registry keys.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-13 20:56:19 +02:00 |