James Hawkins : msi: Remove two tests that depend on the sort order of RegEnumValue.

Alexandre Julliard julliard at winehq.org
Sat Dec 8 13:43:38 CST 2007


Module: wine
Branch: master
Commit: 2634d86a08eab0bf91e32376c7c770b015f37d6e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2634d86a08eab0bf91e32376c7c770b015f37d6e

Author: James Hawkins <truiken at gmail.com>
Date:   Fri Dec  7 14:49:11 2007 -0600

msi: Remove two tests that depend on the sort order of RegEnumValue.

---

 dlls/msi/tests/msi.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c
index 963abc2..1924411 100644
--- a/dlls/msi/tests/msi.c
+++ b/dlls/msi/tests/msi.c
@@ -1434,15 +1434,6 @@ static void test_MsiGetProductCode(void)
     res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10);
     ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
 
-    /* another product value exists */
-    lstrcpyA(product, "prod");
-    r = MsiGetProductCodeA(component, product);
-    todo_wine
-    {
-        ok(r == ERROR_INSTALL_FAILURE, "Expected ERROR_INSTALL_FAILURE, got %d\n", r);
-        ok(!lstrcmpA(product, prodcode2), "Expected %s, got %s\n", prodcode2, product);
-    }
-
     lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
     lstrcatA(keypath, "Installer\\Managed\\");
     lstrcatA(keypath, usersid);
@@ -1556,15 +1547,6 @@ static void test_MsiGetProductCode(void)
     res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10);
     ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
 
-    /* another product value exists */
-    lstrcpyA(product, "prod");
-    r = MsiGetProductCodeA(component, product);
-    todo_wine
-    {
-        ok(r == ERROR_INSTALL_FAILURE, "Expected ERROR_INSTALL_FAILURE, got %d\n", r);
-        ok(!lstrcmpA(product, prodcode2), "Expected %s, got %s\n", prodcode2, product);
-    }
-
     lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
     lstrcatA(keypath, "Installer\\Managed\\");
     lstrcatA(keypath, usersid);




More information about the wine-cvs mailing list