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
Alexandre Julliard
eb04fd22f8
Converted the memory views list to use the standard functions from
...
wine/list.h.
Restructured some functions to always return proper NT status codes.
A couple of optimizations.
Added a few tests for file mappings.
2004-05-21 20:58:44 +00:00
Alexandre Julliard
16fe224275
Don't use the Wine debug functions.
...
Fixed wrong A/W length checks.
2004-05-20 01:19:05 +00:00
Eric Pouech
df93f2eeee
GetModuleFileName[AW] doesn't terminate the string if the buffer is
...
too small.
2004-05-19 03:22:55 +00:00
Alexandre Julliard
3c3d23063c
Fixed some of the GetShortPathName tests to use the short version of
...
the current directory where needed.
2004-05-14 04:55:28 +00:00
Francois Gouget
cfc3943c5f
Make our ascii strings static const.
...
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Alexandre Julliard
db50578ddc
Avoid killing threads with TerminateThread, this can cause deadlocks.
2004-05-04 00:43:46 +00:00
Alexandre Julliard
a11b2bbafb
Updated the auto-generated tests.
2004-05-04 00:41:11 +00:00
Jakob Eriksson
7874ce53bd
Prevent from crashing/hanging in Windows 95 OSR2.
2004-05-03 20:07:24 +00:00
Jakob Eriksson
c49b9485df
Fixed tests to succeed on all Windows versions.
2004-04-28 03:52:02 +00:00
Alexandre Julliard
115862146a
Removed todo_wine from some tests that succeed now.
2004-04-27 02:27:47 +00:00
Duane Clark
d6c537b43c
Add testing of PeekNamedPipe, multiple writes, and message mode.
2004-04-26 23:30:51 +00:00
Jakob Eriksson
960104b249
When the Windows directory was something else than C:\WINDOWS
...
test_GetTempFileNameA() failed.
2004-04-22 23:44:14 +00:00
Francois Gouget
52c0832161
Make Unicode strings static const.
2004-04-20 01:12:17 +00:00
Alexandre Julliard
743997fa38
Replace the get_file_info request by an fstat() on the client side.
2004-04-08 04:39:59 +00:00
Lionel Ulmer
91d63c0cb6
Add better NULL checks to lstrcmp[i](A/W) functions.
2004-04-05 20:14:33 +00:00
Alexandre Julliard
c4c4da4e07
Reimplemented DeleteFile by using CreateFile with
...
FILE_FLAG_DELETE_ON_CLOSE. Added/fixed a few tests.
2004-04-03 00:05:24 +00:00
Alexandre Julliard
74bd1e47ed
Check file sharing permissions based on the file inode instead of the
...
file name.
Added regression test for sharing permissions.
2004-03-27 20:48:42 +00:00
Uwe Bonnes
bb2724eaba
Added tests for time functions.
2004-03-22 21:12:02 +00:00
Alexandre Julliard
8f032165c4
Reimplemented FindFirstFile/FindNextFile on top of
...
NtQueryDirectoryFile.
2004-03-17 20:57:09 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Dmitry Timoshkov
d40ec6f8a2
Fix a couple of copy/paste errors.
2004-02-10 20:07:56 +00:00
Francois Gouget
ad5ff7ceeb
Assorted spelling and case fixes.
2004-02-09 22:07:42 +00:00
Dmitry Timoshkov
f323d5d31b
Add a test case for Virtual* APIs, fix a few bugs discovered by it.
2004-02-09 20:58:16 +00:00
Dmitry Timoshkov
13081af50a
Allow compilation with MSVC.
2004-02-09 20:48:12 +00:00
Bill Medland
8d94d1925d
Correct GetNumberFormat for negative numbers with e.g. 3 leading
...
digits.
2004-02-07 01:28:45 +00:00
Francois Gouget
afd3c257bd
Add trailing '\n's to ok() calls.
2004-02-06 05:24:34 +00:00
Hans Leidekker
ff49652ef6
Improved error reporting.
...
Add some notification types and a test.
2004-02-05 01:45:58 +00:00
Francois Gouget
ce7c3b50ac
Add trailing '\n's to ok() calls.
2004-01-27 20:13:03 +00:00
Francois Gouget
e18aa3f614
Add trailing '\n's to ok() calls.
2004-01-26 20:23:25 +00:00
Francois Gouget
47e116225a
Add trailing '\n's to ok() calls.
2004-01-23 20:50:35 +00:00
Francois Gouget
7494b5b980
Add trailing '\n's to ok() calls.
...
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Francois Gouget
f229c911b5
Add trailing '\n's to ok() calls.
2004-01-23 02:10:33 +00:00
Mike Hearn
517248d7bc
- Ensure we correctly add a backslash like Windows 98/XP do.
...
- Generate filenames that look like Windows does (no left digit
padding).
2004-01-16 04:49:13 +00:00
Mike McCormack
41e25208b2
Preserve trailing backslashes in GetFullPathName.
2004-01-15 01:48:44 +00:00
Eric Pouech
9ccb73a8d7
Reimplemented Get{Short|Long}PathName and updated the regression
...
tests.
2004-01-15 00:20:46 +00:00
Mike McCormack
f7b47f7a5c
Regression test for files with zero length.
2004-01-09 00:34:37 +00:00
Francois Gouget
640cc3f3e1
Assorted spelling fixes.
2004-01-06 22:08:33 +00:00
Hans Leidekker
513670551b
MoveFile returns ERROR_ALREADY_EXISTS, not ERROR_FILE_EXISTS.
2003-12-15 20:15:20 +00:00
Hans Leidekker
9f12d22657
[Global|Local]ReAlloc don't fail with size 0.
...
Fixed typos.
2003-12-15 19:51:17 +00:00
Hans Leidekker
7499242fd3
Include tests for MoveFile[W|A].
2003-12-08 22:21:20 +00:00
Hans Leidekker
c9d42291e8
Deal with kernels that don't have IsValidLanguageGroup.
...
Deal with non-implemented FoldString[A|W].
2003-12-08 22:20:44 +00:00
Hans Leidekker
2402f21b41
Check for ERROR_CALL_NOT_IMPLEMENTED error from RemoveDirectoryW.
2003-12-08 22:20:25 +00:00
Dimitrie O. Paun
4c90416d40
More tests for {Local,Global}{,Re}Alloc() calls.
...
Cleanup of the Heap*() tests.
2003-12-04 21:52:52 +00:00
Dimitrie O. Paun
c762f5d7af
RtlHeapReAllocate() should not allocate memory.
...
Add small test to make sure it doesn't return.
Don't import ntdll for tests, we need to load it dynamically.
2003-11-25 01:02:02 +00:00
Dmitry Timoshkov
33f9dcb1f9
Move CompareString implementation to libwine_unicode, add a bunch of
...
CompareString tests.
2003-11-22 00:00:53 +00:00
Hans Leidekker
af7e65b46d
Account for the fact that the temporary directory may expand to a long
...
name.
2003-11-18 20:39:34 +00:00
Francois Gouget
6768ecb6c1
Scale the buffer sizes with MAX_LISTED_ENV_VAR.
...
Add a note about the limited buffer size used by the *Profile functions.
Fix a couple of spelling errors.
2003-11-18 19:38:51 +00:00
Francois Gouget
ed27249038
Fixed buffer overflow.
...
Fixed two -Wwrite-strings warnings (but there are more).
2003-11-09 00:30:36 +00:00
Mike McCormack
0b28472010
Added a test for mailslots.
2003-10-30 23:24:12 +00:00
Francois Gouget
f405629e8e
Weekly spelling fixes.
2003-10-28 21:45:30 +00:00
Jon Griffiths
13a5d6e627
Added tests for FoldStringA/W.
2003-10-24 00:26:18 +00:00
Ferenc Wagner
4b28f0f9c6
Account for unique NT4 behaviour.
...
Better error message.
2003-10-21 23:42:50 +00:00
Francois Gouget
224063f033
Some spelling fixes.
...
Fix the case of WineHQ.
2003-09-29 20:20:53 +00:00
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