Jon Griffiths
90535ce905
Various test fixes for XP/msvc.
2003-09-25 20:29:40 +00:00
Jon Griffiths
14b215a478
More locale tests.
2003-09-24 18:52:39 +00:00
Jon Griffiths
ab58bf179b
More tests for kernel NLS functions.
...
Use LOCALE_NOUSEROVERRIDE where appropriate.
2003-09-17 22:40:07 +00:00
Rolf Kalbermatter
fddc4ec7b4
Fix another error under Win9x (hopefully).
2003-09-17 04:18:09 +00:00
Alex Pasadyn
33854afbe0
- Use HeapAlloc instead of GlobalAlloc in FindNextFile.
...
- Add test for FindNextFile that checks last error value.
2003-09-16 01:22:05 +00:00
Rolf Kalbermatter
d4f1381154
Added a few todo_wine tests with filenames with wildcards.
2003-09-16 01:19:21 +00:00
Rolf Kalbermatter
55bcaec4f4
Remove <ntstatus.h> to allow compilation with MS PSDK headers.
2003-09-16 01:18:53 +00:00
Kevin Groeneveld
4981619784
- Fix small bug with parsing of numbers in BuildCommDCB functions.
...
- Add conformance test for BuildCommDCB functions.
2003-09-15 20:00:54 +00:00
Francois Gouget
68ea3623b8
Modify winetest_ok to only add a trailing '\n' if there is none.
...
Modify macros in the kernel, oleaut32 and user tests to print a '\n'.
2003-09-11 01:07:19 +00:00
Francois Gouget
ae50013017
Fix the case of product and company names.
2003-09-08 19:38:45 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
f93256a56c
Warning fixes.
2003-08-06 22:08:04 +00:00
Jon Griffiths
7d75c147a2
Fix MSVC warning.
2003-07-19 03:06:19 +00:00
Dmitry Timoshkov
62efd98687
Exit ealier from LCMapStringA in the case of LCMAP_SORTKEY.
...
Don't rely on computing string length by MultiByteToWideChar in
CompareStringA, do it manually.
2003-07-03 18:09:03 +00:00
Dmitry Timoshkov
380a505bcd
Add tests for NORM_IGNORENONSPACE and NORM_IGNORESYMBOLS in the
...
LCMapString(LCMAP_SORTKEY) branch.
2003-06-30 21:06:12 +00:00
Dmitry Timoshkov
85d4281616
Implement LCMapString using unicode collation tables.
...
Move CompareString and LCMapString to dlls/kernel/locale.c.
2003-06-27 19:02:23 +00:00
Eric Pouech
30504fbd66
Added a small test for process exit code retrieval.
2003-06-26 02:05:40 +00:00
Eric Pouech
412d37f6e6
- adapted kernel32 so that it no longer (directly) manages console
...
handles as wineserver handles
- console input handle object is no longer waitable (input record
synchronisation is now implemented as a simple semaphore), and removed
FD_TYPE_CONSOLE from fd types in wineserver
- console handles now always have their two lower bit set so one can
distinguish a console handle from a kernel object handle
- implemented some undocumented kernel32 console related APIs
(CloseConsoleHandle, GetConsoleInputWaitHandle, OpenConsoleW,
VerifyConsoleIoHandle, DuplicateConsoleHandle)
- allowed a few kernel32 APIs to take console pseudo-handles
(FlushFileBuffer, GetFileType, WaitFor*Object*)
- simplified the console inheritance at process creation
- in console tests, no longer create a console if one already exists
2003-06-21 02:07:10 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Francois Gouget
c5f775a9c7
Typos/spelling fixes.
2003-06-18 03:30:39 +00:00
Eric Pouech
9d0fa2f02e
- kernel32's environment tests: a few more tests now succeed
...
- added some console related tests to process creation
- added a few more test cases to the ntdll environment tests
2003-06-18 03:24:20 +00:00
Gerald Pfeifer
c862085b90
Avoid "might be used uninitialized" warning in exercizeServer().
2003-05-21 18:23:20 +00:00
Alexandre Julliard
11c159666e
Use the trace macro for debugging output.
2003-05-20 03:58:35 +00:00
Ferenc Wagner
18f7bfb42e
New _lcreat tests for filename ending in a slash and volume label
...
attribute.
2003-05-19 21:50:32 +00:00
Dan Kegel
cee5576012
More named pipes tests.
2003-05-15 22:52:41 +00:00
Mike McCormack
ef8b94622a
- rewrite of the named pipe code
...
- allow NtFileFlushBuffers to wait
- allow DisconnectNamedPipe to invalidate client cached fd
- fix the pipe test now that one extra test passes
2003-05-15 04:22:45 +00:00
Alexandre Julliard
9c40e91b70
Make the test pass on NT4 too.
2003-05-13 23:40:51 +00:00
Francois Gouget
e8c2ac2d9d
Added a test for GetLongPathNameA("c:").
...
Added a test for GetFullPathNameA("c:").
Fix a number of messages that referred to GetLongPathName instead of
GetFullPathName.
2003-05-13 22:30:38 +00:00
Dimitrie O. Paun
4ca5685c9c
Make sure winsock.h gets included before stdlib.h.
2003-05-13 04:48:23 +00:00
Eric Pouech
cd0f2bcfdd
Added a set of tests for the console API.
2003-05-13 04:46:54 +00:00
Francois Gouget
f803e2a92d
Fix miscellaneous spelling errors and typos.
2003-05-13 00:41:57 +00:00
Uwe Bonnes
0de21b651e
FindFirstFile on root directory should fail.
2003-04-17 02:10:04 +00:00
Alexandre Julliard
ce61349334
Implemented file locking functions (partly based on my old Corel
...
patch). Added a few regression tests.
2003-03-18 05:04:33 +00:00
Alexandre Julliard
a67d999da9
Warning fixes.
2003-03-14 04:02:28 +00:00
Stefan Leichter
2f10ca5237
Added tests for GetPrivateProfileInt.
2003-03-04 04:34:57 +00:00
Dan Kegel
513ab31f43
Now compiles on windows. Added a couple more checks.
2003-02-25 03:56:43 +00:00
Alexandre Julliard
1e80f30842
Added pipe.ok.
2003-02-19 23:30:39 +00:00
Dan Kegel
88eba44645
Added check for illegal pipe names.
...
Added regression test.
2003-02-19 22:06:36 +00:00
Alexandre Julliard
b7a8eefb2b
Authors: Francois Gouget <fgouget@free.fr>, With help from Enio Schutt Jr <enio.s.jr@operamail.com>
...
Skip the overlapped I/O tests on files on Win9x.
2003-02-11 22:11:56 +00:00
Francois Gouget
2a56437f72
{Get,Set}ThreadPriorityBoost are stubs on Win98.
2003-01-20 23:26:09 +00:00
Bill Medland
37bbb1c26e
Correct GetDateFormat handling of uninitialised fields: only the year,
...
month and day fields matter; the rest may be uninitialised.
2003-01-16 00:18:34 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Eric Pouech
a2534ca00f
Added tests for environment variables, debug and suspend flags.
2003-01-13 18:28:43 +00:00
Chris Morgan
761dc0d626
Use the locale id we created instead of the system or user default,
...
otherwise some tests are broken on systems where things aren't
english/us.
2003-01-02 17:47:22 +00:00
Francois Gouget
979770b1ca
On Win9x "hi\n" gives us "hi\r\n".
2002-12-19 21:12:48 +00:00
Chris Morgan
8bf2c059bc
Add additional tests for GetTimeFormat() and GetDateFormat().
...
Uncomment wine_todo tests that now succeed with fixes to
GetTime/DateFormat().
2002-12-19 21:12:09 +00:00
Francois Gouget
305ead6205
Declare LocalDiscard and GlobalDiscard (used by kernel/tests/alloc.c)
...
Remove the DISCARD_DEFINED #ifdefs.
Remove another double HeapFree (caused an assert when run on NT4),
and a HeapSize on a freed heap (the test failed on Win9x).
Fix the LocalLock/LocalUnlock tests (the memory must be allocated
with LMEM_MOVEABLE otherwise the tests don't make sense).
Remove many unnecessary casts.
Improved error reporting somewhat.
2002-12-19 01:03:48 +00:00
Francois Gouget
4b1479c990
Improve error reporting.
2002-12-18 20:52:00 +00:00
Francois Gouget
52614c62e4
All filenames containing a ":" are invalid on Win9x and 2000 but are
...
valid on NT4 -> remove these tests.
2002-12-18 20:51:48 +00:00
Francois Gouget
4f38047987
#ifdef-out decodeW since it is not used yet.
...
Fix the lpDesktop and lpTitle checks on NT platforms.
2002-12-18 20:51:33 +00:00