Commit Graph

18 Commits

Author SHA1 Message Date
James Hawkins cd2f10a6d0 kernel32: Remove an invalid trace and comment. 2008-04-17 11:40:07 +02:00
James Hawkins a4f733ab0b kernel32: Fix a few failing tests in win2k. 2008-04-17 11:40:00 +02:00
James Hawkins 25c02c884f kernel32: Split the GetComputerName/Ex tests into their own test functions. 2008-04-17 11:39:55 +02:00
James Hawkins e314ef699e kernel32: Add traces to see why the tests fail in win2k. 2008-04-11 11:16:29 +02:00
Alexandre Julliard e84daed485 Avoid sizeof in traces. 2008-01-24 14:03:10 +01:00
Francois Gouget e7e998004a kernel32/tests: Test the expansion of indirect environment variable references. 2008-01-23 20:39:35 +01:00
Alexandre Julliard 93cdead182 kernel32/tests: Avoid size_t in traces. 2008-01-15 17:08:09 +01:00
Francois Gouget 0069651056 kernel32/tests: Despite the MSDN claims, GetComputerName() does not return the required buffer size... except on Vista. So update the tests accordingly. 2008-01-11 12:25:39 +01:00
Francois Gouget e3e2a5c0ac kernel32/tests: Add more ExpandEnvironmentStringsA() tests.
Document the observed ExpandEnvironmentStrings() behavior.
2008-01-11 12:25:33 +01:00
Paul Vriens 71054631b2 kernel32/tests: Don't crash on Vista. 2007-06-25 13:23:26 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Paul Vriens c1f6501808 kernel32/tests: GetComputerNameW is not implemented on win98. 2007-04-25 13:48:09 +02:00
Paul Vriens 5b5d737111 kernel32/tests: Use skip. 2007-03-21 11:54:35 +01:00
Rob Shearman 9dc55ab01d kernel32: Fix several failing GetComputerNameA/W tests on Windows. 2007-03-16 11:20:58 +01:00
Alasdair Sinclair 81c922398e kernel32: Fix GetComputerNameA to not count trailing NULL, with test. 2007-03-09 13:55:43 +01:00
Rob Shearman fc5b795f7c kernel32: Fix the GetComputerName* functions to not write to the buffer at all if there is not enough space.
Add tests for the GetComputerName* functions that show this issue.

Fix an off-by-one error in setting the size when there is not enough space.

Remove the exception handlers for GetComputerNameW,
GetComputerNameExA/W, since testing on XP SP2 shows that access
violations are not caught and these are not present on Win9x, which
does have an exception handler.
2007-02-16 13:13:17 +01:00
Michael Stefaniuc 8218440c20 kernel32/tests: Win64 printf format warning fixes. 2006-10-10 16:11:27 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00