msi: Add a test to exersize the code to retrieve rows from join tables.

Hans Leidekker hans at codeweavers.com
Tue Jan 19 08:08:48 CST 2010


It needs todo_wine because MsiModifyView calls JOIN_modify after JOIN_get_row,
which is a stub. The visual c++ 2005 express installer is affected by this.
---
 dlls/msi/tests/db.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c
index d3e9ad1..6a2852d 100644
--- a/dlls/msi/tests/db.c
+++ b/dlls/msi/tests/db.c
@@ -3218,6 +3218,9 @@ static void test_join(void)
         ok( !lstrcmp( buf, join_res_first[i].two ),
             "For (row %d, column 2) expected '%s', got %s\n", i, join_res_first[i].two, buf );
 
+        r = MsiViewModify(hview, MSIMODIFY_UPDATE, hrec);
+        todo_wine ok( r == ERROR_SUCCESS, "failed to modiy view: %d\n", r );
+
         i++;
         MsiCloseHandle(hrec);
     }
-- 
1.6.3.3




More information about the wine-patches mailing list