Commit Graph

33 Commits

Author SHA1 Message Date
Francois Gouget 8ec8a56a24 userenv/tests: Windows 10 1809 changed GetUserProfileDirectory().
It is no longer possible to get the required buffer size in the ANSI
version, and the Unicode one requires a NULL buffer.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 23:01:13 +01:00
Zebediah Figura 99dc0e0eeb userenv: Set the ProgramFiles(x86) and CommonProgramFiles(x86) environment variables.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-06 09:32:34 +01:00
Michael Stefaniuc 3f3083d7f3 userenv/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 09:24:56 +02:00
Bruno Jesus 55f8233390 userenv/tests: Fix a memory leak (valgrind). 2014-06-11 16:10:59 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Piotr Caban f0d8c3383e userenv: Improved CreateEnvironmentBlock implementation. 2011-11-15 19:37:33 +01:00
Hans Leidekker c4d8f7400b userenv: Implement and test GetUserProfileDirectory. 2011-03-02 12:50:59 +01:00
Hans Leidekker 1c6ea02ffa userenv: GetProfilesDirectoryW accepts a NULL buffer. 2011-03-02 12:50:59 +01:00
Austin English 04b5763923 userenv/tests: Remove win9x hacks. 2011-02-25 11:06:53 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Juan Lang e5394c6ce5 userenv: Implement GetProfilesDirectory. 2010-08-27 12:28:04 +02:00
Juan Lang 4e19b7ae35 userenv/tests: Add tests for GetProfilesDirectory. 2010-08-27 12:26:50 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Lei Zhang a96db3c35c userenv: Add a small test for DestroyEnvironmentBlock. 2010-02-03 11:00:50 +01:00
Andrew Nguyen c4ffbade86 wine.inf: Add CommonProgramFiles system environment variable. 2010-01-04 11:41:22 +01:00
Hans Leidekker 952cd1d36a userenv/tests: Fix some memory leaks.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Alexandre Julliard c8c839a9bc userenv/tests: Don't depend on the Ascii length to find the next env variable. 2009-08-19 19:50:06 +02:00
Alexandre Julliard b374a72d51 userenv/tests: Don't use string debugging functions for non-debug usage. 2009-08-19 12:09:23 +02:00
Francois Gouget 4d8cf750ff userenv/tests: Replace realloc() with HeapReAlloc(). 2009-05-19 12:01:13 +02:00
Alexandre Julliard 950ad4efdb userenv/tests: Don't check for TEMP and TMP variables on NT4. 2009-01-25 17:30:01 +01:00
Francois Gouget 8dbc8d3b9d userenv/tests: Make userenv_dbgstr_w() static. 2008-12-12 11:44:36 +01:00
Paul Vriens 86a0b2915a userenv/tests: Skip a few tests on NT4. 2008-10-22 13:54:53 +02:00
Paul Vriens 8b01f4ae53 userenv/tests: Rewrite the test to cope with multiple blocks of tests. 2008-10-22 13:54:53 +02:00
Paul Vriens a397448549 userenv/tests: Don't crash on NT4. 2008-09-22 12:17:18 +02:00
Dan Kegel 9d54392ca9 userenv/tests: Fix buffer overrun. 2008-06-04 12:50:36 +02:00
Alexandre Julliard 6477a1c1bf kernel32: Set the USERPROFILE and ALLUSERSPROFILE environment variables based on the ProfileList registry keys. 2008-05-06 16:07:13 +02:00
Lei Zhang 0f7bae5af8 userenv: Add a test for variable inheritance for CreateEnvironmentBlock. 2008-05-01 12:35:30 +02:00
Lei Zhang bf02fa309b userenv: Add more tests for environment variables for CreateEnvironmentBlock. 2008-05-01 12:35:30 +02:00
Lei Zhang ed50b7746d userenv: Add tests for environment variables for CreateEnvironmentBlock. 2008-05-01 12:35:30 +02:00
Lei Zhang bca84d5467 userenv: Initial implementation of CreateEnvironmentBlock. 2008-04-30 13:45:23 +02:00
Lei Zhang ffb0457982 userenv: Add initial tests for CreateEnvironmentBlock. 2008-04-30 13:45:15 +02:00