James Hawkins : msi: Output expected values on failing tests.
Alexandre Julliard
julliard at winehq.org
Fri Oct 26 08:34:46 CDT 2007
Module: wine
Branch: master
Commit: 1d9c680eed138da2b3627d485cd45b7be125c204
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1d9c680eed138da2b3627d485cd45b7be125c204
Author: James Hawkins <truiken at gmail.com>
Date: Thu Oct 25 15:28:40 2007 -0500
msi: Output expected values on failing tests.
---
dlls/msi/tests/suminfo.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msi/tests/suminfo.c b/dlls/msi/tests/suminfo.c
index a254b56..6ef98f7 100644
--- a/dlls/msi/tests/suminfo.c
+++ b/dlls/msi/tests/suminfo.c
@@ -391,10 +391,10 @@ static void test_summary_binary(void)
type = 0;
r = MsiSummaryInfoGetProperty(hsuminfo, PID_LASTPRINTED, &type, NULL, NULL, sval, &sz);
ok(r == ERROR_SUCCESS, "MsiSummaryInfoGetProperty failed\n");
- ok( !strcmp(sval, ""), "value incorrect\n");
+ ok(!strcmp(sval, ""), "Expected empty string, got %s\n", sval);
todo_wine {
- ok( type == VT_LPSTR, "type wrong\n");
- ok( sz == 0, "length wrong\n");
+ ok(type == VT_LPSTR, "Expected VT_LPSTR, got %d\n", type);
+ ok(sz == 0, "Expected 0, got %d\n", sz);
}
ival = -1;
More information about the wine-cvs
mailing list