~ubuntu-branches/ubuntu/oneiric/wine1.2/oneiric

« back to all changes in this revision

Viewing changes to dlls/msi/tests/suminfo.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2010-10-08 12:53:56 UTC
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20101008125356-0jjjg46hvibih8ft
Tags: upstream-1.2.1
ImportĀ upstreamĀ versionĀ 1.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    ok(r == ERROR_INVALID_PARAMETER, "MsiGetSummaryInformation wrong error\n");
87
87
 
88
88
    r = MsiGetSummaryInformation(hdb, NULL, 0, &hsuminfo);
89
 
    ok(r == ERROR_SUCCESS, "MsiGetSummaryInformation failed\n");
 
89
    ok(r == ERROR_SUCCESS, "MsiGetSummaryInformation failed %u\n", r);
 
90
 
 
91
    r = MsiCloseHandle(hsuminfo);
 
92
    ok(r == ERROR_SUCCESS, "MsiCloseHandle failed\n");
 
93
 
 
94
    r = MsiGetSummaryInformation(0, "", 0, &hsuminfo);
 
95
    todo_wine
 
96
    ok(r == ERROR_INSTALL_PACKAGE_INVALID || r == ERROR_INSTALL_PACKAGE_OPEN_FAILED,
 
97
       "MsiGetSummaryInformation failed %u\n", r);
 
98
 
 
99
    r = MsiGetSummaryInformation(hdb, "", 0, &hsuminfo);
 
100
    ok(r == ERROR_SUCCESS, "MsiGetSummaryInformation failed %u\n", r);
90
101
 
91
102
    r = MsiSummaryInfoGetPropertyCount(0, NULL);
92
103
    ok(r == ERROR_INVALID_HANDLE, "getpropcount failed\n");