Commit Graph

263 Commits

Author SHA1 Message Date
Robert Shearman 38ba5fe0e0 - Make the value returned from HeapSize always match the requested
size passed into HeapAllocate/HeapReAllocate.
- Add a test for this behaviour.
2005-07-11 13:20:40 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Francois Gouget 2b03aa6a6d Test the behavior of CreateDirectory() when it has one or two trailing
dots or spaces.
Tweak the previous CreateDirectory() tests so we get more information
in case of a failure.
2005-06-30 18:08:44 +00:00
Uwe Bonnes 76dc856590 Added test cases. However most added tests need a loopback plug and
need to be enabled in the code.
2005-06-27 19:49:07 +00:00
Eric Pouech a1deba5ab4 - OpenConsole: try to open the Unix console if we fail with wineserver
- kernel32: simplifying code for opening a console handle
- msvcrt: now correctly initializing the handles to the Windows
  console
2005-06-27 09:54:09 +00:00
Jacek Caban 6cb97534dc Fix test on NT 4. 2005-06-27 09:49:26 +00:00
Stefan Huehner 9213d56ae0 Make some function static. 2005-06-20 15:35:54 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Mike McCormack fc51a2680a Fix declaration warnings in the test cases. 2005-06-14 11:40:04 +00:00
Alexandre Julliard c2d5b444b3 Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
can be used in all the test.
2005-06-13 12:10:54 +00:00
Uwe Bonnes 290a419f0a Don't try to access floppy if it's not mounted. 2005-06-09 09:42:49 +00:00
Uwe Bonnes 80a84a8c74 Added more pipe tests. 2005-06-05 17:57:10 +00:00
Mike McCormack 6ef329fce7 Make sure that unused code gets compiled to avoid warnings. 2005-06-02 10:30:57 +00:00
Mike McCormack bdfcb09c57 Some warning fixes for the regression tests. 2005-05-31 09:30:45 +00:00
Alexandre Julliard 70bc9f39f1 Removed STANDALONE ifdefs. 2005-05-25 09:54:51 +00:00
Pierre d'Herbemont 342da59b0c Remove stdlib.h inclusion if winsock.h is included. 2005-05-18 15:33:20 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Mike McCormack 70d30cb54a Tests for SignalObjectAndWait. 2005-04-24 17:37:52 +00:00
Stefan Leichter e41bd72afc Exclude crashing CreateFileW test on NT4. 2005-04-19 11:59:46 +00:00
Eric Pouech b461ddeb2d Copied the atom tests for global atom so that we can test local atoms
too.
2005-04-18 15:47:18 +00:00
Mike McCormack d6fdac2676 Calculate the size of the next mailslot message correctly. 2005-04-11 16:11:32 +00:00
Rein Klazes 7308f16b32 Fix some incorrect uses of the ok macro where the result depends on
the evaluation order of its arguments.
2005-03-31 19:07:08 +00:00
Mike McCormack 2ab6a775bd Implement mailslots. 2005-03-30 19:02:15 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Mike McCormack 6c42be25e7 Implement CreateMailslot using NtCreateMailslotFile. 2005-03-28 10:03:56 +00:00
Jakob Eriksson 40224b6ebc Remove tests that fail badly on Windows 98. 2005-03-28 10:00:25 +00:00
Jakob Eriksson ec6f9ad356 Fix thread affinity test for SMP machines. 2005-03-25 10:25:11 +00:00
Alexandre Julliard 37698099d9 Take into account the more correct behavior of recent Linux kernels. 2005-03-24 19:05:02 +00:00
Alex Villacís Lasso 38a03ca6c8 Test for PeekNamedPipe with zero-length buffer. 2005-03-23 11:58:32 +00:00
Alexandre Julliard 3ea748b7c8 Fetch again the file time to compare against to avoid rounding errors. 2005-03-22 21:14:51 +00:00
Jakob Eriksson 195d4018aa Abort if we can't create a named pipe at all. 2005-03-22 21:14:00 +00:00
Jakob Eriksson c515a306e6 If the variable does not exist, just return. 2005-03-22 18:17:07 +00:00
Jakob Eriksson caf7aefc65 Fix patching error in file time test. 2005-03-22 16:44:57 +00:00
Jon Griffiths dbf222f3aa Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc). 2005-03-17 20:53:37 +00:00
Dmitry Timoshkov 75b93ff1aa Match OVERLAPPED structure to the SDK definition. 2005-03-17 19:00:08 +00:00
Jakob Eriksson 7676e9b868 More trace info. 2005-03-17 18:54:31 +00:00
Jakob Eriksson 534cf2334f Fix broken test. 2005-03-16 19:49:57 +00:00
Jakob Eriksson 16ff109b0f More trace info. 2005-03-15 19:33:32 +00:00
Uwe Bonnes a12c6b662d Test for %Systemroot%. 2005-03-10 17:15:39 +00:00
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