Akihiro Sagawa
88778ec0b8
advapi32/tests: Add more KEY_WOW64_32KEY tests for 64-bit.
2014-12-18 18:56:06 +01:00
Jonathan Vollebregt
0311b980f3
advapi32/tests: Test RegDeleteKey with empty string parameter.
2014-11-07 14:42:57 +09:00
Jonathan Vollebregt
495b97f05b
advapi32/tests: Fix bad cleanup in test_reg_create_key.
2014-11-07 14:42:18 +09:00
Jonathan Vollebregt
2e78a2c921
advapi32/tests: Add trailing slashes tests for RegOpen/CreateKey.
2014-11-07 14:41:54 +09:00
Michael Stefaniuc
bd6c16628f
advapi32/tests: Simplify empty string check (PVS-Studio).
2014-11-04 13:31:40 +09:00
Bruno Jesus
c7772a5d10
advapi32/tests: Fix copy & paste issue (Cppcheck).
2014-10-31 10:50:46 +09:00
Bruno Jesus
cbc8d290b9
advapi32/tests: Add a test for enumerating a registry key without setting it.
2014-10-27 14:36:47 +09:00
Erich E. Hoover
f9f3b21fb3
advapi32: Implement RegSetKeySecurity on top of NtSetSecurityObject.
2014-07-04 19:31:25 +02:00
Nikolay Sivov
7041b4db85
advapi32: Implement RegSetKeyValue().
2014-07-02 19:59:01 +02:00
Nikolay Sivov
da6d5e6ae6
advapi32: Implement RegDeleteKeyValue().
2014-06-30 22:04:52 +02:00
Vincent Povirk
8340636c55
advapi32/tests: Account for limited users in registry test.
2014-06-18 16:27:00 +02:00
Frédéric Delanoy
3e9b7b5992
advapi32/tests: Constify some character strings.
2013-12-20 10:51:41 +01:00
Alexandre Julliard
8b11533dcf
advapi32/tests: Use the function pointer to call RegDeleteKeyExA.
2013-10-29 10:23:56 +01:00
Nikolay Sivov
26c2dc93cb
advapi32/tests: Remove string constants redefinition that are not needed anymore.
2013-10-28 10:42:00 +01:00
Andrew Eikum
0d1526bf4a
advapi32: Don't cache HKCR if WOW64 redirection flags are set.
2013-10-15 16:29:37 +02:00
Nikolay Sivov
f6b2aa4a01
advapi32/tests: Compile with -D__WINESRC__.
2013-10-15 14:28:20 +02:00
George Stephanos
8aa205fbcf
advapi32/tests: HKCR mask tests fix for WinNT.
2013-09-02 19:44:27 +02:00
George Stephanos
96b03962cd
advapi32/tests: Add more tests for hkcr handle mask in existent tests.
2013-08-26 10:55:13 +02:00
George Stephanos
69208b60f8
advapi32/tests: Add tests for hkcr handle mask.
2013-08-26 10:55:11 +02:00
George Stephanos
babc072471
advapi32/tests: RegEnumKey and RegEnumValue tests for merged view of HKCR.
2013-08-21 13:08:35 +02:00
George Stephanos
4bdba5c402
advapi32/tests: delete_key() permissions fix.
2013-08-21 13:08:35 +02:00
George Stephanos
16bd3ffc87
advapi32/tests: RegDeleteKey tests for merged view of HKCR.
2013-07-01 12:49:44 +02:00
André Hentschel
1510838d1f
advapi32/tests: Fix copy&paste typo.
2013-05-23 09:54:01 +02:00
Rico Schüller
cea0e758e6
advapi32: Use the lower 32bit of the special HKEYs on 64bit.
2013-01-24 10:50:10 +01:00
Detlef Riekenberg
fa59d1e5d7
advapi32/tests: Accept win8 failure code.
2012-12-11 20:45:45 +01:00
Francois Gouget
b8050f0571
Assorted spelling fixes.
2012-09-04 16:15:52 +02:00
Dan Kegel
2cd062831d
advapi32: RegSetValueExW should not crash when passed 1 instead of L"1".
2012-08-21 11:50:32 +02:00
André Hentschel
c2c3b51650
advapi32/tests: Add a test to cover second RegSetValueW Parameter (gcov).
2012-02-15 11:54:46 +01:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
André Hentschel
e2a3b4b4e5
advapi32/tests: Add some skips.
2011-03-14 19:31:31 +01:00
Austin English
b7c18d104b
advapi32/tests: Remove Win9x hacks.
2011-02-17 17:28:17 +01:00
Austin English
425e7ca15d
advapi32/tests: Make sure to use return value (LLVM/Clang).
2011-02-07 10:05:47 -06:00
Andrew Nguyen
ed657182ee
server: Filter the WOW64 registry access flags before performing the access check.
2011-01-24 16:04:18 +01:00
André Hentschel
2399e7f25a
advapi32/tests: Test how creating a subkey in HKCR affect HKLM/HKCU.
2010-12-31 11:42:16 +01:00
André Hentschel
ffea4ba5ac
advapi32/tests: Even more tests for the merged view of HKCR.
2010-12-29 11:59:33 +01:00
André Hentschel
9c7366c05e
advapi32/tests: More tests for the merged view of HKEY_CLASSES_ROOT.
2010-12-03 11:04:06 +01:00
Austin Lund
fd30e69538
advapi32/tests: Fix RegEnumValue overflow tests for broken behaviour on XP Pro Chinese.
2010-10-07 12:10:02 +02:00
Alexandre Julliard
625bce13fb
advapi32/tests: Don't bother running HKCR tests when the registry key doesn't exist.
2010-10-05 11:01:22 +02:00
André Hentschel
6d2a2e1a97
advapi32/tests: Introduce tests for the merged view of HKEY_CLASSES_ROOT.
2010-10-04 15:00:05 +02:00
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
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