Alexandre Julliard
6ebc627996
server: Disallow all operations on deleted registry keys.
2010-04-02 15:22:31 +02:00
Alexandre Julliard
68a5c34731
advapi32: Add support for the KEY_WOW64_32KEY flag in RegCreateKey on 64-bit.
2010-04-02 11:51:15 +02:00
Alexandre Julliard
acc41b50d1
advapi32: Don't use the static Unicode buffer for value names since they can be larger than MAX_PATH.
2010-04-02 11:50:12 +02:00
Vincent Povirk
3db80a4b1f
advapi32: Add test for RegDeleteValue.
2010-04-01 18:12:40 +02:00
Vincent Povirk
37235a9b46
advapi32: Add tests for registry keys that have been deleted.
2010-04-01 18:12:40 +02:00
Alexandre Julliard
e7ff9925fb
advapi32/tests: Add a number of tests for Wow64 registry redirection.
2010-03-04 17:28:54 +01:00
Alexandre Julliard
47abab12a0
advapi32/tests: Fix a test failure on Wow64.
2010-02-23 11:07:02 +01:00
Dan Kegel
fed6738bc4
advapi32: Fix leak in test_symlinks.
2010-02-17 09:42:19 +01:00
Alexandre Julliard
18a2e83904
advapi32/tests: Add tests for registry symlinks at the advapi32 level.
2010-02-15 21:07:51 +01:00
Alexandre Julliard
36efda3d39
advapi32/tests: Add some tests for creation of volatile keys.
2009-11-20 11:40:07 +01:00
Alexandre Julliard
825487b1eb
advapi32/tests: Use the global wine_dbgstr_w instead of a local variant.
2009-08-19 13:36:17 +02:00
Detlef Riekenberg
04b9f0251c
advapi32/tests: Remove unneeded SetLastError.
2009-07-01 11:38:44 +02:00
Detlef Riekenberg
0ca3b3b423
advapi32: Check the output pointer first in RegOpenKey, with test.
2009-06-29 14:51:30 +02:00
Francois Gouget
3d5f1edff5
advapi32/tests: Replace realloc() with HeapReAlloc().
2009-05-18 12:32:46 +02:00
Michael Stefaniuc
4de7ac858b
advapi32/tests: Don't use "long" for variable types.
2009-03-23 12:40:56 +01:00
Nikolay Sivov
1a38b7bf5e
advapi32/tests: Test for enumeration order preservation of reg keys.
2009-01-15 13:03:20 +01:00
Paul Vriens
ee1f1bfb3f
advapi32/tests: Fix a test failure on NT4.
2008-11-25 11:56:08 +01:00
Lei Zhang
aacb511da1
advapi32: Allow opening HKEY_CLASSES_ROOT subkeys with backslash prefix on NT.
2008-11-24 14:38:56 +01:00
Francois Gouget
b700a1b11a
advapi32/tests: Check how the registry APIs handle non-terminated strings.
2008-11-21 10:01:35 +01:00
Francois Gouget
ece65a4828
advapi32/tests: Fix the line number reported by test_hkey_main_Value_[AW]().
2008-11-21 10:01:25 +01:00
Francois Gouget
9ce2bd20e4
advapi32/tests: Cleanup test_hkey_main_Value_[AW]().
...
Fix a byte vs. WCHAR count issue in test_hkey_main_Value_W().
Check that RegQueryValueEx[AW]() did not write more data than expected.
2008-11-21 10:01:18 +01:00
Detlef Riekenberg
24b0296017
advapi32/tests: Handle the results from Win9x in the registry tests.
2008-07-30 12:44:37 +02:00
Mikołaj Zalewski
352d857059
advapi32: tests: Make WOW64 test pass under Win2k, fix a flag.
2008-07-25 14:17:02 +02:00
Mikołaj Zalewski
daafda22f8
advapi32: Remove access checks from advapi32 (makes KEY_WOW64_* work).
2008-07-24 13:03:40 +02:00
Mathias Kosch
9a7dc15979
advapi32: Fix RegGetValue when dwFlags includes RRF_RT_ANY.
2008-07-21 14:37:54 +02:00
James Hawkins
60b7f641b9
advapi32: Send in an empty string to RegSetValueEx to avoid a test failure in win95.
2008-07-02 12:16:34 +02:00
James Hawkins
b9b25c73e0
advapi32: Fix a test failure on a non-admin XP system.
2008-06-30 12:47:52 +02:00
Francois Gouget
85605ab546
advapi32/tests: Make sure Wine implements all tested APIs.
2008-06-11 11:26:32 +02:00
Francois Gouget
15ab77ad8a
advapi32/tests: Don't allow Wine to reproduce Windows' bugs.
2008-06-10 11:34:45 +02:00
James Hawkins
76dfff11a3
advapi32: Fix a test that fails in win2k3 SP2.
2008-04-25 11:33:43 +02:00
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