James Hawkins
d3bbc0231a
advapi32: Fix a test that fails in win2k3.
2008-04-21 13:20:12 +02:00
James Hawkins
3a4f271a6b
advapi32: Fix a test that fails on some versions of win2k.
2008-04-21 12:12:06 +02:00
Paul Vriens
0c7ab1bd30
advapi32/tests: Don't crash on NT4, W2K and XP-SP1.
2008-02-25 19:50:12 +01:00
Francois Gouget
7a585f3c37
advapi32/tests: Check whether RegGetValue() '\0'-terminates the buffer when retrieving a zero-byte string value.
2008-02-19 13:39:24 +01:00
Francois Gouget
6843da68e7
advapi32/tests: Remove an obsolete comment: Wine's on-disk registry format now supports string values with no trailing '\0'.
2008-02-19 13:39:24 +01:00
Rob Shearman
cca635b472
advapi32: Add tests for the off-by-one fixing behaviour of RegSetValueExA and RegSetValueExW.
2008-02-18 13:30:01 +01:00
Rob Shearman
121be51f1d
advapi32: Add tests for RegSetValueA/W.
...
Fix RegSetValueA/W to return ERROR_INVALID_PARAMETER if NULL data is
passed in.
2008-02-18 13:29:51 +01:00
Austin English
f6caf1be81
Misc spelling fixes.
2008-01-18 12:51:08 +01:00
Francois Gouget
520054f60c
advapi32/tests: Actually test strings that expand to something bigger than their original size.
2008-01-18 11:53:02 +01:00
Francois Gouget
c47c6483aa
advapi32: RegGetValue() should not return an error when expanding a string and given a NULL buffer and a zero size.
...
Adjust the tests to cover this case for REG_EXPAND_SZ registry
values. Improve the documentation a bit.
2008-01-11 12:25:14 +01:00
Alexandre Julliard
ef15bbf1cb
advapi32/tests: Print the correct size in an error message.
2008-01-07 17:18:07 +01:00
Sam Dennis
1590b1f731
advapi32: Fix undocumented behaviour in ReqQueryValueEx when 'count' and 'type' point to the same address.
2007-12-14 14:06:45 +01:00
Dan Kegel
89b9af7714
advapi32: Fix buffer overrun in tests/registry.c:wine_debugstr_wn().
2007-11-12 12:55:42 +01:00
Dan Kegel
dc072e209d
advapi32/tests: Fix undefined memory references in registry.c.
2007-10-30 12:46:38 +01:00
Francois Gouget
1da7a32b11
advapi32: Add more RegGetValue() conformance tests, and fix Wine accordingly.
2007-06-21 13:11:09 +02:00
Stefan Leichter
552c225949
advapi32: Fix initial cleanup of the registry keys used for testing.
2007-04-30 12:19:56 +02:00
Stefan Leichter
2c99d4b2a7
advapi32: More tests for RegDeleteTreeA.
2007-04-23 17:26:34 +02:00
Francois Gouget
042a78dd05
advapi32/tests: Use memcmp() instead of strcmp() so that we can check 'intrazeroed' strings.
2007-04-18 13:13:09 +02:00
Francois Gouget
b934fc90eb
advapi32: Fix and extend the RegQueryValueEx() tests.
...
- Added tests for empty and zero-byte strings. Wine passes these tests, sort of.
- Check that the returned string is correct.
- All known Windows versions implement RegQueryValueExA(), so complain if it is not implemented.
- Only allow the Win9x quirks for the Ansi version.
- Query the name2A/W value for the string2A/W tests!
- The test_hkey_main_Value_A/W() functions were doing a sizeof() on the string parameter to compute the string's full size!
- We must reset GLE before each test, otherwise Win9x skips all but the first test.
2007-04-16 12:08:25 +02:00
Paul Vriens
402f4e9c74
advapi32/tests: Fix RegQueryValueExA test for win9x and ME.
2007-04-12 16:16:44 +02:00
Paul Vriens
7dd647b633
advapi32/tests: Use skip when OpenSCManagerA is not implemented.
2007-04-11 11:20:47 +02:00
Paul Vriens
1e3b6afa57
advapi32/tests: Make sure NT4 and W2K tests don't fail.
2007-04-10 14:23:14 +02:00
Stefan Leichter
0dcf196001
advapi32: Add some tests for RegDeleteTreeA.
2007-04-05 10:53:59 +02:00
Paul Vriens
ddaacfbe2c
advapi32/tests: Some cleanup.
2007-04-02 11:29:14 +02:00
Paul Vriens
11f6e89f87
advapi32/tests: Reopen the main handle if needed.
2007-04-02 11:29:04 +02:00
Paul Vriens
6598aa5028
advapi32/tests: RegQueryValueW is not always implemented.
2007-03-16 11:21:12 +01:00
Paul Vriens
6544831184
advapi32/tests: Prepare for more tests and use skip.
2007-03-12 12:23:51 +01:00
Alexandre Julliard
7e2228f15a
advapi32: Fixed registry test that failed because of a buffer overflow.
2007-03-08 21:06:31 +01:00
James Hawkins
6cc4510b71
advapi32: Add tests for RegQueryValue.
2007-01-16 16:54:17 +01:00
Rob Shearman
214eb389c9
advapi32: Change the test for the type parameter of RegQueryValueExA to only run on Win9x, since the value is set to a random value on NT.
2006-12-28 12:17:04 +01:00
Francois Gouget
ef998ea6cb
Assorted spelling fixes.
2006-10-16 11:33:38 +02:00
Hans Leidekker
53535d6e13
advapi32/tests: Win64 printf format warning fixes.
2006-10-04 20:56:14 +02:00
Paul Vriens
1a2aa7ca3d
advapi32: Make sure it's a real cleanup.
2006-10-02 21:38:04 +02:00
Andrew Talbot
0eebab8652
advapi32/tests: Cast-qual warnings fix.
2006-08-28 11:36:58 +02:00
Robert Shearman
bc590e87a6
advapi32: Add tests for RegQueryValueEx to show that it sets the data
...
size to 0 when a buffer isn't present and that it sets the type to
REG_NONE on Win9x.
2006-08-16 17:02:04 +02:00
Alexandre Julliard
290ddd8e38
advapi32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:56:18 +02:00
Saulius Krasuckas
072c11dc49
advapi32: Test RegSetValueEx[AW] for setting some sequential strings as one.
2006-06-10 12:41:27 +02:00
Saulius Krasuckas
67e6040c2d
advapi32: Enable some tests and extend them to succeed on XP and 2003 SP1.
2006-06-02 20:43:50 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Rein Klazes
62b69d6486
advapi32: RegCreateKeyEx fix.
...
On Win9x,ME RegCreateKeyEx ignores the backslash character if the
subkey begins with one. With a regression test.
2005-12-08 13:49:02 +01:00
Saulius Krasuckas
9d519093f6
- RegConnectRegistryA fails on Win9x when Remote Registry Service is
...
not installed (WinReg.DLL is missing).
- Test "\\" prefixed computer names too.
2005-11-04 11:15:59 +00:00
Ivan Leo Puoti
7230a90821
Delete a temp file.
2005-10-27 18:29:07 +00:00
Rein Klazes
c16e70587a
- Set the LastError in OpenSCManager in case of errors;
...
- Accept machine names without a '\\' prefix in OpenSCManager and
RegConnectRegistry.
- Add a regression test for that.
2005-09-15 09:31:05 +00:00
Felix Nawothnig
7bc3a38ba7
Rewrote the RegGetValue tests for REG_SZ / REG_EXPAND_SZ.
2005-07-18 10:30:51 +00:00
Felix Nawothnig
305ce2f641
Fix registry tests on Win95.
2005-07-18 09:08:24 +00:00
Mike McCormack
d7b9a23afd
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-06 19:08:05 +00:00
Felix Nawothnig
694f789956
Added unit tests for RegGetValue.
2005-07-03 11:19:03 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Robert Shearman
8cb3f92e53
- All versions of Windows ignore the access rights of the passed in
...
parent handle to RegCreateKey(Ex).
- Add a test that shows this.
2005-06-16 20:34:34 +00:00
Robert Shearman
44246e47ec
Fix registry test for Win9x by skipping a section that fails, but
...
succeeds on NT.
2005-06-12 10:42:13 +00:00