Commit Graph

20 Commits

Author SHA1 Message Date
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
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
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +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
Francois Gouget f803e2a92d Fix miscellaneous spelling errors and typos. 2003-05-13 00:41:57 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +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 45d261374c Use strlen or lstrlenA as appropriate to avoid signed/unsigned
warnings.
2002-12-18 02:22:51 +00:00
Francois Gouget d705b7c019 '"' is an illegal character on Win9x so we cannot test it.
GetShortPathNameA behaves differently on Win9x and NT: on NT it
succeeds even if not all path components exist, as long as they are
already in the 8.3 format.
Wine apparently implements the NT behavior thus many todo_wine went
away.
Fixed some error code checks to take into account all possible return
values.
GetTempFileNameA appears to only use the lower 16bits of the id on
Win95 (and never returns more than 16 bits on other platforms).
GetLongPathNameA is missing on some Windows versions.
Modified the GetTempPath tests to make sure they return the expected
value. Removed the redundant tests (e.g. if buf[0]==0 then buf!="foo",
no need to test both).
The 'len_with_null - 1' case is not testable as the Windows behavior
varies too much between versions.
We cannot check whether Windows touches the buffer either as this
heavily depends on the Windows version and specific circumstances of
the call.
Finally NT4 sometimes exaggerates the required buffer size.
2002-12-11 00:16:31 +00:00
Francois Gouget cbe88fc3a1 Some small typo / phrasing fixes. 2002-09-06 19:46:27 +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
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
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard b462a0442b Fixed handling of GetLongPathNameA. 2002-05-06 20:13:16 +00:00
Paul Millar b0b3c385e1 Fixed minor typo. 2002-04-25 23:05:02 +00:00
Geoffrey Hausheer 13f92d3cdd Added test for GetFullPathNamesA, GetLongPathNamesA,
GetShortPathNamesA, GetCurrentDirectoryA, SetCurrentDirectoryA.
2002-04-11 21:49:23 +00:00