[version/tests/info.c] Added an extra test
Paul Vriens
Paul.Vriens at xs4all.nl
Mon Aug 22 09:56:24 CDT 2005
Hi,
as Alexandre already showed me, I was a big to quick suggesting that
everything is done for version for now.
Marked this test as a todo_wine for reference (to show we still have a
problem). The solution is not clear to me right now but I maybe have to
fix up the resource part of things.
Changelog
Alexandre Julliard
Add an extra test to show failing behavior
Cheers,
Paul.
Index: dlls/version/tests/info.c
===================================================================
RCS file: /home/wine/wine/dlls/version/tests/info.c,v
retrieving revision 1.13
diff -u -p -r1.13 info.c
--- dlls/version/tests/info.c 26 Jul 2005 10:33:22 -0000 1.13
+++ dlls/version/tests/info.c 22 Aug 2005 14:46:03 -0000
@@ -345,6 +345,13 @@ static void test_32bit_win(void)
ok (retA, "VerQueryValueA failed: GetLastError = 0x%08lx\n", GetLastError());
ok( !lstrcmpA(WineFileDescriptionA, pBufA), "FileDescription should have been 'Wine version test'\n");
+ /* Test a second time */
+ retA = VerQueryValueA( pVersionInfoA, FileDescriptionA, (LPVOID *)&pBufA, &uiLengthA );
+ ok (retA, "VerQueryValueA failed: GetLastError = 0x%08lx\n", GetLastError());
+ todo_wine{
+ ok( !lstrcmpA(WineFileDescriptionA, pBufA), "FileDescription should have been 'Wine version test'\n");
+ }
+
if (is_unicode_enabled)
{
retW = VerQueryValueW( pVersionInfoW, FileDescriptionW, (LPVOID *)&pBufW, &uiLengthW );
More information about the wine-patches
mailing list