Michael Stefaniuc
85dea19312
kernel32/tests: Remove an identical if / else branch.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 12:52:45 +09:00
Jactry Zeng
846155f153
kernel32/tests: Reset current directory of current process.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 01:50:13 +09:00
Jeremy White
7dea64279e
kernel32: Revise GetLongPathNameA to avoid overriding the input on long names.
...
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 11:57:57 +01:00
Jeremy White
ee1260e0d2
kernel32/tests: Test GetLongPathNameA when the file name case differs from the input.
...
This shows that the original buffer is unmodified if the filename is long,
but the actual file name is returned when the filename is short.
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 11:57:35 +01:00
Jeremy White
9f3f918f2c
kernel32: Preserve a '/' delimiter in GetLongPathName and GetShortPathName.
...
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 11:55:36 +01:00
Jeremy White
17ddd0474f
kernel32/tests: Add a test for GetShortPathName using a slash delimieter.
...
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 11:54:57 +01:00
Jeremy White
60836b41fa
kernel32/tests: Add tests for GetLongPathName using a slash delimiter.
...
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 11:54:48 +01:00
Jeremy White
440030b938
kernel32: Advance over the input buffer when stripping ./.
...
This is the same fix for GetLongPathName that was contained in a fix for
GetShortPathName in commit 9178d037d7
.
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 11:54:36 +01:00
Jeremy White
81ccc7b816
kernel32/tests: Add path tests for the ./../foo case.
...
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 11:54:30 +01:00
André Hentschel
4b8df74447
kernel32/tests: Add more ARM and ARM64 arch strings.
2015-08-12 22:52:26 +09:00
Jacek Caban
12a134fdc4
kernel32: Fixed buffer overflow in GetShortPathNameW.
2015-05-25 21:43:17 +09:00
Andrew Eikum
d9a27e9ca0
kernel32: Implement CheckNameLegalDOS8Dot3.
2015-05-13 22:05:42 +09:00
Andrew Eikum
65f2690203
kernel32: Support extended pathnames in GetShortPathName.
2015-05-06 08:36:04 +09:00
Bruno Jesus
24fc876e61
kernel32: Only zero the buffer up to 32767 bytes in GetTempPathW.
2015-03-18 20:56:39 +09:00
Bruno Jesus
81598be9cf
kernel32: In GetTempPathW only copy the path if it fits and zero the buffer when it doesn't.
2015-03-05 21:42:32 +09:00
Bruno Jesus
f16cf54106
kernel32: GetTempPathW must zero the remaining buffer.
2015-03-02 23:00:31 +09:00
Bruno Jesus
300c2dedac
kernel32/tests: Add more GetTempPath tests.
2015-02-24 22:59:40 +09:00
Akihiro Sagawa
4aea5ca72b
kernel32: Fix incorrect lastpart in GetFullPathNameA with DBCS.
2014-10-14 14:20:05 +09:00
Frédéric Delanoy
0f2bed51bd
Assorted spelling fixes.
2014-02-10 15:47:29 +01:00
Nikolay Sivov
48c97ad0bc
kernel32/tests: Some more tests for SearchPath().
2013-11-22 16:08:35 +01:00
Dmitry Timoshkov
eba2f43221
kernel32: Add special case for "." and ".." to GetLongPathName.
2013-10-30 09:43:40 +01:00
Dmitry Timoshkov
d57444a622
kernel32: Add special case for "." and ".." to GetShortPathName.
2013-10-30 09:43:30 +01:00
Dmitry Timoshkov
4befefa94d
kernel32/tests: Add tests for GetLongPathName/GetShortPathName and relative paths.
2013-10-29 10:21:30 +01:00
Frédéric Delanoy
f56e9ebe38
kernel32/tests: Use BOOL type where appropriate.
2013-10-24 10:49:53 +02:00
Dmitry Timoshkov
b2e9561a2d
kernel32/tests: Fix path tests compilation with __WINESRC__ defined.
2013-10-22 16:37:39 +02:00
Nikolay Sivov
41057a174d
kernel32: Support activation context in SearchPath().
2013-09-12 11:02:22 +02:00
Nikolay Sivov
37182e3f0f
ntdll: Try application manifest path when searching for dependent assemblies.
2013-09-11 20:33:22 +02:00
Nikolay Sivov
88c2a189fe
kernel32/tests: Added some activation context tests for SearchPath().
2013-09-06 17:28:48 +02:00
Dmitry Timoshkov
4cc482bc0d
kernel32: GetShortPathName for a non-existent short file name should fail.
2013-07-22 19:31:13 +02:00
Dmitry Timoshkov
24ab4453d7
kernel32/tests: Add a test for GetShortPathName called for a non-existent short file name.
2013-07-08 15:15:23 +02:00
Dmitry Timoshkov
0fa1877e44
kernel32/tests: Fix compilation with a PSDK compiler.
2013-07-08 15:15:23 +02:00
Austin English
291949cbc4
kernel32/tests: Remove win9x hacks.
2011-02-24 15:50:43 +01:00
Austin English
e330380a6b
kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang).
2011-02-11 14:48:46 +01:00
Michael Stefaniuc
bb442a2a57
kernel32/tests: '\' needs to be escaped in a C string (sparse).
2010-11-10 12:18:21 +01:00
Francois Gouget
b990617a95
Assorted spelling fixes.
2010-11-02 13:16:57 +01:00
Charles Davis
717fc6f3a8
kernel32/tests: Fix the mixed-case short path test to actually test something.
2010-10-29 14:21:59 +02:00
Charles Davis
2d18a012a8
kernel32/tests: Add a test for opening short paths of differing case.
2010-10-28 18:18:11 +02:00
Louis Lenders
8819ae1e66
kernel32: Fix GetTempFileName with invalid path.
...
Found by Oskar Eisemuth.
2010-10-22 17:19:12 +02:00
Louis Lenders
933bcb92b0
kernel32/tests: Add some more tests for GetTempFileName.
2010-10-18 11:51:21 +02:00
Andrew Nguyen
1029167232
kernel32/tests: Add tests to examine output file part pointer behavior for GetFullPathNameW.
2010-06-17 11:48:42 +02:00
Andrew Nguyen
70099e8971
kernel32/tests: Add tests to examine output file part pointer behavior for GetFullPathNameA.
2010-06-17 11:48:39 +02:00
Francois Gouget
3428b94a8d
Assorted spelling and case fixes.
2010-03-22 10:49:13 +01:00
Michael Stefaniuc
0f5d042ff2
kernel32: Don't use HIWORD to check for swapped args in GetCurrentDirectoryA.
2010-02-10 14:33:35 +01:00
Alexandre Julliard
5f9f260e42
kernel32: Avoid truncating the output buffer length in GetCurrentDirectoryA.
2010-02-01 13:22:41 +01:00
Nikolay Sivov
6d270a1d48
kernel32: Fix SearchPath parameter validation with tests.
2009-12-22 13:48:25 +01:00
Nikolay Sivov
08a778c568
kernel32/tests: Init pointers in common way, add some win_skip() while skipping.
2009-12-22 13:48:25 +01:00
Paul Vriens
17eb00409c
kernel32/tests: Add some tests for GetLongPathNameW.
2009-12-17 13:25:51 +01:00
Paul Vriens
c2f5442f2a
kernel32/tests: Skip some tests if needed (WinXP Home).
2009-12-04 14:44:11 +01:00
Paul Vriens
0c67d1bddb
kernel32/tests: Skip some tests on Win98/WinMe.
2009-12-04 14:44:03 +01:00
Paul Vriens
3b43c4e585
kernel32/tests: Correct some ok() statements.
2009-12-04 14:43:48 +01:00