Michael Stefaniuc
d9f1e0cc1c
version/tests: Use wide-char string literals.
...
Constify some variables in that process.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-09 10:27:45 +01:00
Michael Stefaniuc
2dc9af8e75
version/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 09:24:49 +02:00
Akihiro Sagawa
9af3dffaf3
kernel32: Add localized version resource.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:23:09 +01:00
Akihiro Sagawa
e0b4a3527b
version/tests: Check the translation resource before testing.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:17:01 +01:00
Akihiro Sagawa
b027a7db50
Use CP 1200 (Unicode) for Win32/Win64 version info.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 19:49:17 +01:00
Akihiro Sagawa
e804e9a5bc
version/tests: Add tests for GetFileVersionInfoEx.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 22:18:45 +01:00
Akihiro Sagawa
05b3d7b69b
version: Don't convert binary version resource to ANSI texts.
2014-03-14 17:17:04 +01:00
Akihiro Sagawa
66933d71ee
version/tests: Add more VerQueryValueA tests.
2014-03-14 17:17:01 +01:00
Frédéric Delanoy
b1fd27eb2d
version/tests: Constify some character strings.
2013-12-31 12:24:52 +01:00
André Hentschel
ae206d7517
version/tests: Fix tests compilation with __WINESRC__ defined.
2013-10-24 10:48:23 +02:00
Nikolay Sivov
f3f81387f1
version: Remove 'return' from void function.
2012-12-19 14:38:58 +01:00
Michael Stefaniuc
d8bc018487
version/tests: Check the correct variable.
2012-05-15 16:26:38 +02:00
Austin English
35a39e3cf6
version/tests: Remove win9x hacks.
2011-02-24 15:50:50 +01:00
Austin English
121885dd2d
version/tests: Make sure return values are used (LLVM/Clang).
2011-02-09 09:26:23 -06:00
Michael Stefaniuc
934ed50d49
version: Remove superfluous pointer casts.
2009-01-13 15:26:16 +01:00
Alistair Leslie-Hughes
d026b74d79
version: Stop crash under vista and 2k8.
2008-11-26 12:28:05 +01:00
Alistair Leslie-Hughes
9643411c32
version: VerQueryValueA/W allow blank and NULL strings.
2008-11-21 13:53:12 +01:00
Paul Vriens
a7e13f565b
version/tests: Use win_skip instead of trace.
2008-10-21 11:43:52 +02:00
Paul Vriens
29360b632f
version/tests: Fix a copy-paste mistake.
2008-10-21 11:43:47 +02:00
James Hawkins
3550d3bfbc
version: Fix tests that fail in win9x and win2k.
2008-04-23 14:29:41 +02:00
Paul Vriens
d6a8b5024a
version/tests: Win98, NT4 and W2K return different errors.
2008-02-25 19:50:19 +01:00
James Hawkins
972c61d311
version: Return ERROR_RESOURCE_DATA_NOT_FOUND if the file does not have version information.
2008-02-05 12:19:36 +01:00
Francois Gouget
96c337f0a1
Assorted spelling fixes.
2007-06-07 19:24:32 +02:00
Alexandre Julliard
96432dfe4b
version: Avoid size_t type in traces.
2007-04-23 15:12:19 +02:00
Dmitry Timoshkov
31368dec93
version: Add a VerQueryValue test, make it mostly pass under Wine.
2007-04-17 12:20:41 +02:00
Francois Gouget
f3e7c5380a
version/tests: Print GetLastError() in decimal with '%u'.
2007-01-06 11:40:43 +01:00
Andrew Talbot
7eb6815336
version/tests: Write-strings warning fix.
2006-12-16 17:01:57 +01:00
Francois Gouget
65921ad1af
version/tests: Replace some '#if 0's with 'if (0)'s.
...
Fix the code so it compiles without warnings.
2006-12-14 20:24:46 +01:00
Paul Vriens
d01e76de05
version/tests: Free memory after use.
2006-12-06 11:26:55 +01:00
Michael Stefaniuc
99de79ad1e
version/tests: Win64 printf format warning fixes.
2006-10-10 11:56:38 +02:00
Andrew Talbot
b40f4c0b17
version/tests: Write-strings warnings fix.
2006-08-10 10:57:17 +02:00
Alexandre Julliard
55d9045804
version/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:59 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Paul Vriens
4be0d76397
Wine's behavior is correct now.
2005-10-18 12:00:59 +00:00
Alexandre Julliard
7c1925a0f3
Remove the 'L' suffix on a number of constants to avoid comparison
...
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Alexandre Julliard
37871ce3f1
Store the result of the A/W conversions in the extra buffer space.
2005-08-29 15:10:02 +00:00
Paul Vriens
31d0e7421e
Reserve extra space for conversions.
2005-08-29 14:17:27 +00:00
Alexandre Julliard
e9438a87f6
Add an extra test to show failing behavior.
2005-08-22 18:57:22 +00:00
Paul Vriens
ef1da879df
Cleanup and some additional tests.
2005-07-26 10:33:22 +00:00
Paul Vriens
8e541c8aeb
Add tests for VerQueryValue[AW].
...
Don't convert the struct to a win16 one in GetFileVersionInfoA.
Convert the struct to win16 in VerQueryValueA (for now).
2005-07-20 10:29:29 +00:00
Paul Vriens
2509c06e16
Added a test, specifically for NT/W2K/XP/W2K3.
2005-07-15 16:32:53 +00:00
Stefan Leichter
e7425a5b7c
Test GetFileVersionInfoSizeA with executables.
2005-05-31 09:33:59 +00:00
Stefan Leichter
d55575e976
Exclude two tests crashing on WinNT4.
2005-02-25 16:19:19 +00:00
Stefan Leichter
b8ac580ece
Fixed GetFileVersionInfoSizeA tests on Win95.
2005-02-08 13:43:41 +00:00
Stefan Leichter
7ed3f41c98
Fixed GetFileVersionInfoSizeA tests on WinME.
2005-01-19 16:59:35 +00:00
Robert Reif
18a1a6e194
Prevent crash from invalid last parameter in GetFileVersionInfo.
...
Prevent crash in VerQueryValue when return size not requested.
GetFileVersionInfo and VerQueryValue parameter tests added.
2005-01-04 20:35:46 +00:00
Stefan Leichter
6ab1bc9696
Fixed tests of GetFileVersionInfoSizeA for win2k3.
2004-12-16 14:34:18 +00:00
Stefan Leichter
e75f49209f
Fixed GetFileVersionInfoSizeA tests on NT.
2004-11-19 18:19:31 +00:00
Stefan Leichter
79cf64681e
Fixed GetFileVersionInfoSizeA tests on NT4 platform.
2004-11-09 20:11:07 +00:00
Stefan Leichter
ec596c06e9
Fixed tests of GetFileVersionInfoSizeA for win98 / XP.
2004-06-28 23:51:35 +00:00