Commit Graph

32 Commits

Author SHA1 Message Date
Phil Lodwick bf8319fdd5 prefix can be NULL for GetTempFileNameW. 2005-11-12 19:09:06 +00:00
Saulius Krasuckas 63f8bdaa4e Add error code valid for Win9x and XP. 2005-11-10 11:16:20 +00:00
Vitaliy Margolen c3bb842237 Test for return value from CreateDirectory("c:"). 2005-10-26 10:08:20 +00:00
Mike McCormack bdfcb09c57 Some warning fixes for the regression tests. 2005-05-31 09:30:45 +00:00
Jakob Eriksson 534cf2334f Fix broken test. 2005-03-16 19:49:57 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +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
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
Alexandre Julliard 115862146a Removed todo_wine from some tests that succeed now. 2004-04-27 02:27:47 +00:00
Francois Gouget afd3c257bd Add trailing '\n's to ok() calls. 2004-02-06 05:24:34 +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
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