Huw Davies
00ced5e3af
Fix regression in GetPrivateProfileSection for lines without an '='.
...
Add test.
2005-03-04 10:46:55 +00:00
Francois Gouget
fbb3343547
Assorted spelling fixes.
2005-03-02 13:53:50 +00:00
Alexandre Julliard
d0ee9f9309
Avoid spaces before preprocessor directives, that's not portable.
2005-03-02 12:23:20 +00:00
Jakob Eriksson
a604415468
Accept (shorter) date format in Win NT and Win 95.
2005-03-02 10:11:22 +00:00
Rein Klazes
4c5832ba65
When enumerating keys using Get(Private)ProfileString do not include
...
lines without an '=' character. Added a test that shows the behavior.
2005-03-02 10:08:18 +00:00
Dmitry Timoshkov
405367a44a
Add another test case for file sharing.
2005-03-01 10:42:04 +00:00
Francois Gouget
4d801b66e6
Assorted spelling fixes.
2005-02-10 19:19:35 +00:00
Rémi Assailly
193d527736
char -> const char fixes.
2005-01-28 14:02:52 +00:00
Rein Klazes
3714a39867
Correct cases where arguments of ok() calls depend on the order in
...
which they are evaluated.
2004-12-27 17:26:37 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget
6fb1a20020
Assorted spelling fixes.
2004-12-20 19:27:06 +00:00
Eric Pouech
4056d7ef8c
Fixed some errors in function prototypes.
2004-12-13 21:19:01 +00:00
Alexandre Julliard
ebe3c529b1
Janitorial: C booleans must not be compared against TRUE.
2004-12-09 14:07:59 +00:00
Gunnar Dalsnes
3f884c2c7e
Added a test to make sure that CreateDirectoryA/W does not create
...
multiple non-existing directories in the path given.
2004-11-29 17:52:06 +00:00
Dmitry Timoshkov
e04da6bb72
Add a test for ReadFile/WriteFile fault handling, make it pass under
...
Wine.
2004-11-28 14:58:11 +00:00
Kevin Koltzau
1b8a8b26af
Prevent environment test from crashing when environment is large.
2004-11-22 18:28:56 +00:00
Dmitry Timoshkov
c590a66f89
Call CompareStringA with LOCALE_USE_CP_ACP flag set from lstrcmpA and
...
lstrcmpiA in order to improve speed. Add a test case confirming that
CompareString and LCMapString accept LOCALE_USE_CP_ACP.
2004-11-21 15:47:24 +00:00
Rein Klazes
dceae02d73
- RtlTimeFieldsToTime should not normalize the time fields
...
structure. Instead return error when it is given an unormalized
date.
- Use better algorithms for RtlTimeToTimeFields and
RtlTimeFieldsToTime. RtlTimeToTimeFields is about 3 times faster.
- Add tests for RtlTimeFieldsToTime.
- SystemTimeToFileTime must fail if RtlTimeFieldsToTime fails. Users
of SystemTimeToFileTime must do likewise.
- Remove a todo_wine from SystemTimeToFileTime tests.
- Since msvcrt.mktime must accept unnormalized dates, it cannot use
SystemTimeToFileTime and do the calculations itself.
- Add some tests for mktime accepting unnormalized dates.
2004-11-06 03:53:53 +00:00
Robert Shearman
84eaaa168f
Fix broken thread start routines.
2004-11-03 22:18:44 +00:00
Stefan Leichter
ddae31893d
Set the correct last error in EnumUILanguagesA, with tests.
2004-11-01 21:06:28 +00:00
Rein Klazes
cfeef723d2
- Simplify the calculation in TIME_DaylightCompareDate;
...
- Expand the number of applicable test cases.
2004-10-29 21:27:18 +00:00
Mike McCormack
d581777c88
Add some tests for time conversion functions.
2004-10-26 22:03:11 +00:00
Rein Klazes
4cf122d2aa
Correctly use the return value of GetTimeZoneInformation.
2004-10-26 00:11:43 +00:00
Ferenc Wagner
cbf4c5c650
Unconditionally open a fresh console for the tests.
2004-10-08 23:35:47 +00:00
Eric Pouech
e780ea5230
Fixed (finally) ScrollConsoleScreenBuffer implementation.
2004-09-13 18:04:50 +00:00
Rein Klazes
bb2796f9aa
Add tests of TzSpecificLocalTimeToSystemTime and
...
SystemTimeToTzSpecificLocalTime.
2004-09-10 19:35:16 +00:00
Alexandre Julliard
0e3df810de
Comment out an unreliable test.
2004-09-09 20:16:23 +00:00
Francois Gouget
3af8a1e16f
Set _WIN32_WINNT to 0x0501 so we get the definition of
...
PTIMERAPCROUTINE from the Windows headers.
2004-09-08 19:06:07 +00:00
Eric Pouech
440ad8ccf2
- ctrl-c enabling flag is now inherited
...
- fixed console-related fields in RTL_USER_PROCESS_PARAMETERS
- various clean-up in kernel32.SetConsoleCtrlHandler
- only send a console event once to a process and not to all the
process' threads
2004-09-08 01:25:05 +00:00
Mike McCormack
b6b3fe10d6
Add a test for timers.
2004-09-07 23:28:32 +00:00
Francois Gouget
5512ae2685
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
...
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Filip Navara
c880c41f7a
- Don't expect that drive C: exists, use the drive Windows is
...
installed on instead.
- Remove misleading message about file mapping.
2004-08-30 18:40:20 +00:00
Francois Gouget
20b8b56d5f
Enable the disabled tests in tests.data or add a comment describing
...
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Francois Gouget
2e360b3ee4
Fix alignment issues for MEMORYSTATUSEX, WIN32_STREAM_ID and
...
IO_COUNTERS. The corresponding tests now succeed both when compiled
with the Windows headers and when compiled with the Wine headers.
2004-08-24 20:16:25 +00:00
Francois Gouget
68232c6c2f
Remove types that don't exist from tests.dat.
...
Don't test types that have a platform dependent layout.
Don't test Wine-only types.
Helps get the generated tests compiling on Windows.
2004-08-19 20:34:42 +00:00
Robert Shearman
eee6adc9b6
- Errors should only be reported to I/O completion routine after
...
NtReadFile has succeeded.
- Test case for this behaviour.
2004-08-19 02:34:51 +00:00
Hans Leidekker
70d400adf6
Fix signed/unsigned comparison warnings.
2004-08-09 23:42:19 +00:00
Mike Hearn
850dcad17d
Make STARTUPINFO.lpDesktop tests pass on NT.
2004-07-20 01:20:50 +00:00
Mike Hearn
95012151f9
Correct error code returned by CreateFile when given a non-existent
...
VxD on NT, add a test case.
2004-07-06 21:31:24 +00:00
Stefan Leichter
de16a00fa5
Fix the GetPrivateProfileIntA tests for the win9x platform.
2004-06-17 23:00:54 +00:00
Alexandre Julliard
9cb122c2ef
Added a couple of tests for SetCurrentDirectoryA.
2004-06-17 04:26:59 +00:00
Francois Gouget
497709b9bb
Assorted spelling and case fixes.
2004-06-15 20:26:45 +00:00
Dimitrie O. Paun
f28155de3f
In Win9x, {Create,Remove}Directory returns ERROR_PATH_NOT_FOUND when
...
given directories containing '*' or '?'.
2004-06-04 17:59:05 +00:00
Dimitrie O. Paun
b395a0c560
Win9x does not convert FIXED to MOVEABLE. It also discards locked
...
memory.
2004-06-04 17:58:49 +00:00
Robert Reif
55b57417e1
I got the test for failure on NT wrong in my last patch. The function
...
returns 0 on error and sets last error to ERROR_INVALID_FLAGS.
2004-06-03 23:19:27 +00:00
Dimitrie O. Paun
6e28fe7144
Do not fix the drive letter to 'C', it fails on other people's boxes.
2004-06-02 00:36:36 +00:00
Robert Reif
4751ff2b44
NT 4.0 doesn't support MAP_EXPAND_LIGATURES so skip test if it returns
...
ERROR_INVALID_FLAGS.
2004-05-30 03:11:24 +00:00
Dmitry Timoshkov
b6dae78bac
Avoid a failure under Win9x.
2004-05-25 00:20:50 +00:00
Dmitry Timoshkov
d8a59cdfd5
Explicitly specify name of the pipe in the pipe test.
2004-05-24 19:06:52 +00:00
Dmitry Timoshkov
8811628cff
Add a test for opening an already opened file for writing in a not
...
compatible sharing mode.
2004-05-22 03:14:17 +00:00