Commit Graph

261 Commits

Author SHA1 Message Date
Francois Gouget 3475b9edc9 SetEnvironmentVariableA(NULL, NULL) crashes on Win98 -> removed.
SetEnvironmentVariableA("", value) crashes on NT4 -> removed.
The behavior of SetEnvironmentVariableA("", "") varies to much ->
removed.
Test the behavior of SetEnvironmentVariable{A,W}(name, "") taking into
account the differences between Win9x and NT.
Test the behavior of GetEnvironmentVariable{A,W}(name, buf, 0).
Fix the error code checks to take into account the differences between
Win9x, NT4 and XP.
Skip the unicode tests if the first call returns
ERROR_CALL_NOT_IMPLEMENTED.
Whenever a test fails, print sufficient information (typically return
code and GetLastError()!) to let the developer figure out what is
wrong.
2002-11-30 19:02:22 +00:00
Alexandre Julliard 5926cea79f Partially implemented kernel/user times in GetThreadTimes (based on a
patch by Ryan Cumming).
2002-11-30 01:56:56 +00:00
Bill Medland 5a29089727 Correct GetNumberFormatA for zero decimals and for zero grouping. 2002-11-27 20:13:22 +00:00
Alexandre Julliard 2696ae4c4b Moved some GetThreadTimes tests out of the todo block. 2002-11-25 01:34:23 +00:00
Ryan Cumming c4aa073705 Add test for DeleteFileA with empty paths. 2002-11-12 02:11:52 +00:00
Patrik Stridvall 9398d9c129 Updated the generated tests. 2002-11-12 01:13:10 +00:00
Ryan Cumming 1bc18f3da7 Remove OLE_GetFormatA, reimplement GetDateFormatA and GetTimeFormatA
as wrappers around their Unicode versions.
2002-11-08 18:51:56 +00:00
Patrik Stridvall 74476416b0 Updated the generated tests. 2002-11-06 21:59:15 +00:00
Patrik Stridvall df7ffb8017 Updated the generated tests. 2002-11-04 22:40:40 +00:00
Patrik Stridvall 7d226139e9 Updated the generated tests. 2002-10-29 21:24:09 +00:00
Andreas Mohr 6e256c72fe - fix some pselling
- enhance some TRACEs
2002-10-25 19:09:02 +00:00
Bill Medland 9134f37e27 Fix OLE_GetFormatW so that GetDateFormatW works.
Rearranged for simplicity.
2002-10-25 19:02:26 +00:00
Patrik Stridvall ab974c310c Updated the generated tests. 2002-10-23 18:45:15 +00:00
Patrik Stridvall ebf582cd48 Updated the generated tests. 2002-10-15 01:53:45 +00:00
Jeff Smith 28f14ba5ff Spelling corrections. 2002-10-09 18:14:24 +00:00
Dmitry Timoshkov c8ab54d158 Fixed atom test to work on Windows. 2002-10-04 17:45:00 +00:00
Dmitry Timoshkov 3139b927b2 Added a prototype code page test. Fixed issue regarding negative
source length handling.
2002-10-04 17:42:27 +00:00
Patrik Stridvall 928ecb4891 Added some more autogenerated tests. 2002-10-02 19:58:27 +00:00
Patrik Stridvall e10bbc3ed4 Added new autogenerated test for data structure packing. 2002-10-01 18:11:47 +00:00
Patrik Stridvall 1a4db3e72a Cleaned up the code so it would be easier to parse with the new C
parser.
2002-09-23 20:45:57 +00:00
Andriy Palamarchuk 025b52d950 A few more conformance tests for heap memory allocation. 2002-09-11 00:48:47 +00:00
Francois Gouget cbe88fc3a1 Some small typo / phrasing fixes. 2002-09-06 19:46:27 +00:00
Francois Gouget b41ec51ff3 Do not include wine/unicode.h. 2002-09-06 18:36:42 +00:00
Alexandre Julliard c895879e2a Removed system specific GetTempPathA test. 2002-08-28 22:25:56 +00:00
Dmitry Timoshkov 160ab19ace Added a bunch of new regression tests. 2002-08-27 01:56:08 +00:00
Mike McCormack 7018230a3f Added regression test for FormatMessage.
Fixed cr/lf handling.
Prevent an infinite loop when an invalid format (%S) is passed as a
format string to vsnprintf.
Fixed a memory leak in the W version.
2002-08-20 00:32:48 +00:00
Dmitry Timoshkov b967834362 Added unit test for environment functions and fixed some bugs. 2002-08-20 00:22:29 +00:00
Alexandre Julliard edeee89c3e Create separate makefiles for tests for more flexibility. 2002-08-09 01:22:40 +00:00
Alexandre Julliard 69b2201883 Rewrote atom test in C. 2002-07-31 17:45:00 +00:00
Paul Millar a7b2bf4854 Removed drive assumptions in the path handling regression tests. 2002-07-16 01:19:41 +00:00
Duane Clark ea8d12c24b Add drive letter and Unix path tests of GetFullPathNameA. 2002-07-05 01:22:28 +00:00
Alexandre Julliard 75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +00:00
Alexandre Julliard 034e39b2fe Check access rights before renaming or deleting files (based on
patches by Uwe Bonnes and Dmitry Timoshkov).
2002-06-05 00:47:38 +00:00
Patrik Stridvall 296c5a6b97 Fixed some issues found by winapi_check. 2002-06-04 22:12:50 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Jakob Eriksson 43b3177e48 Removed redundant checks and variables, fixed some tests, some
cosmetic changes.
2002-05-29 16:58:14 +00:00
Alexandre Julliard ec13989573 Fixed some tests that were failing under Wine. 2002-05-29 16:56:45 +00:00
Mehmet Yasar f87d30edc1 Added test for locale functions. 2002-05-29 00:30:32 +00:00
Francois Gouget c949349cab Improve the failure messages. 2002-05-23 16:29:37 +00:00
Francois Gouget 4c314000b9 Make the tests compile with Visual C++. 2002-05-23 02:40:07 +00:00
Alexandre Julliard cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +00:00
Alexandre Julliard fc01b729f6 Added some support for cross-compilation using mingw32. 2002-05-12 03:16:39 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 8dc3a51329 Removed extra return statement. 2002-05-10 01:10:04 +00:00
Jakob Eriksson e8449e6028 Added some more tests. 2002-05-09 20:29:15 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard b462a0442b Fixed handling of GetLongPathNameA. 2002-05-06 20:13:16 +00:00
Jakob Eriksson b02f0940b7 Tests for _lcreat,_llseek and _llopen added. 2002-05-06 20:12:55 +00:00
Jakob Eriksson 3315199cd8 Added unit tests for file functions. 2002-04-29 17:14:50 +00:00
Paul Millar b0b3c385e1 Fixed minor typo. 2002-04-25 23:05:02 +00:00
Eric Pouech 00baf1a34c Added a framework for testing CreateProcess and a few tests. 2002-04-21 22:07:03 +00:00
Geoffrey Hausheer 13f92d3cdd Added test for GetFullPathNamesA, GetLongPathNamesA,
GetShortPathNamesA, GetCurrentDirectoryA, SetCurrentDirectoryA.
2002-04-11 21:49:23 +00:00
Geoffrey Hausheer f31c3e3898 Cleaned up a bit, removed todos for OpenThread, avoid TerminateThread
race.
2002-04-03 02:33:13 +00:00
Geoffrey Hausheer 03f4e22327 Added test for thread functions. 2002-04-02 19:37:15 +00:00
Francois Gouget 37f2c37697 Don't bother with declare, just 'use kernel32'. 2002-04-01 21:00:42 +00:00
Francois Gouget 80b72db33b Windows headers must be included after wine/test.h. 2002-04-01 21:00:26 +00:00
Alexandre Julliard 5c6a86bfde Added alloc.ok. 2002-03-27 21:18:02 +00:00
Geoffrey Hausheer 936d2dd3aa Added memory allocation test. 2002-03-27 21:03:50 +00:00
Dmitry Timoshkov 4145a7a8a1 Added tests for GetSystemDirectoryA/W and GetWindowsDirectoryA/W. 2002-03-22 01:00:17 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard a3a1c84aca Added atom test script. 2002-01-15 20:59:22 +00:00